Index: src/gpu/gl/GrGLCaps.h |
diff --git a/src/gpu/gl/GrGLCaps.h b/src/gpu/gl/GrGLCaps.h |
index 13ba3863b1228efc806a0da20e7c0f0fee30604b..df513591f16b6f8bf349993affbda06b4190f961 100644 |
--- a/src/gpu/gl/GrGLCaps.h |
+++ b/src/gpu/gl/GrGLCaps.h |
@@ -399,7 +399,7 @@ public: |
* Initializes the GrGLSLCaps to the set of features supported in the current |
* OpenGL context accessible via ctxInfo. |
*/ |
- bool init(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface); |
+ bool init(const GrGLContextInfo&, const GrGLInterface*, const GrGLCaps&); |
/** |
* Some helper functions for encapsulating various extensions to read FB Buffer on openglES |
@@ -416,6 +416,8 @@ public: |
bool dropsTileOnZeroDivide() const { return fDropsTileOnZeroDivide; } |
+ bool mustEnableAdvancedBlendEquations() const { return fMustEnableAdvancedBlendEquations; } |
+ |
/** |
* Returns a string containing the caps info. |
*/ |
@@ -428,6 +430,7 @@ private: |
bool fDropsTileOnZeroDivide : 1; |
bool fFBFetchSupport : 1; |
bool fFBFetchNeedsCustomOutput : 1; |
+ bool fMustEnableAdvancedBlendEquations : 1; |
const char* fFBFetchColorName; |
const char* fFBFetchExtensionString; |