diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-06 18:06:10 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-04-06 18:06:10 +0000 |
commit | 6995068c5ade6e179d2af82caddb0c1cd6f433b6 (patch) | |
tree | 661091dc664281379e0b3ad5bd7132cc81560bf5 /src/gpu/gl/GrGLCaps.h | |
parent | 022976554c32b9b1561774553d6c1868c62d9dcf (diff) |
Initial version of R8 support
http://codereview.appspot.com/5967067/
git-svn-id: http://skia.googlecode.com/svn/trunk@3622 2bbb7eff-a529-9590-31e7-b0007b416f81
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 |