diff options
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index a5318ebde8..8b3f9e70a0 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -158,6 +158,9 @@ public: /// Is there support for glTexStorage bool texStorageSupport() const { return fTexStorageSupport; } + /// Is there support for GL_RED and GL_R8 + bool textureRedSupport() const { return fTextureRedSupport; } + private: /** * Maintains a bit per GrPixelConfig. It is used to avoid redundantly @@ -222,6 +225,7 @@ private: bool fPackFlipYSupport : 1; bool fTextureUsageSupport : 1; bool fTexStorageSupport : 1; + bool fTextureRedSupport : 1; }; #endif |