Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index cef21af880ba6fceda12f7ff81cac6dbfcc7b624..c1dd9dcd36f61102333a1ef87cceaa15b141bdbe 100644 |
--- a/src/gpu/GrDrawState.h |
+++ b/src/gpu/GrDrawState.h |
@@ -551,6 +551,12 @@ public: |
} |
/** |
+ * We don't use suplied vertex color attributes if our blend mode is EmitCoverage or |
+ * EmitTransBlack |
+ */ |
+ bool canIgnoreColorAttribute() const; |
+ |
+ /** |
* Determines what optimizations can be applied based on the blend. The coefficients may have |
* to be tweaked in order for the optimization to work. srcCoeff and dstCoeff are optional |
* params that receive the tweaked coefficients. Normally the function looks at the current |