Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 0622e68edcb2409e4ff9cc6636d03487855bdc35..01ce5bb19d75791bd3719393b7b960e65b2c78b0 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -281,6 +281,9 @@ public: |
LATCAlias latcAlias() const { return fLATCAlias; } |
+ bool rgba8888PixelsOpsAreSlow() const { return fRGBA8888PixelsOpsAreSlow; } |
+ bool partialFBOReadIsSlow() const { return fPartialFBOReadIsSlow; } |
+ |
GrGLSLCaps* glslCaps() const { return reinterpret_cast<GrGLSLCaps*>(fShaderCaps.get()); } |
private: |
@@ -380,6 +383,8 @@ private: |
bool fFullClearIsFree : 1; |
bool fBindFragDataLocationSupport : 1; |
bool fSRGBWriteControl : 1; |
+ bool fRGBA8888PixelsOpsAreSlow : 1; |
+ bool fPartialFBOReadIsSlow : 1; |
struct ReadPixelsSupportedFormat { |
GrGLenum fFormat; |