diff options
Diffstat (limited to 'src/gpu/gl/GrGLCaps.h')
-rw-r--r-- | src/gpu/gl/GrGLCaps.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h index a5318ebde8..27e42582c0 100644 --- a/src/gpu/gl/GrGLCaps.h +++ b/src/gpu/gl/GrGLCaps.h @@ -10,6 +10,7 @@ #ifndef GrGLCaps_DEFINED #define GrGLCaps_DEFINED +#include "GrGLColorConversionTest.h" #include "GrGLStencilBuffer.h" class GrGLContextInfo; @@ -102,6 +103,10 @@ public: GrPixelConfig config, const GrGLStencilBuffer::Format& format) const; + GrGLByteColorConversion byteColorConversion() const { + return fByteColorConversion; + } + /** * Reports the type of MSAA FBO support. */ @@ -211,6 +216,7 @@ private: int fMaxFragmentUniformVectors; MSFBOType fMSFBOType; + GrGLByteColorConversion fByteColorConversion; bool fRGBA8RenderbufferSupport : 1; bool fBGRAFormatSupport : 1; |