Index: src/gpu/GrDrawState.h |
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h |
index cef21af880ba6fceda12f7ff81cac6dbfcc7b624..671adc0eda4d07e7b763918c729018c776ec659f 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 ignoreColorAttribute() const; |
bsalomon
2014/07/21 14:28:50
Can we rename to canIgnoreColorAttribute()? Seems
|
+ |
+ /** |
* 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 |