Index: src/gpu/effects/GrBezierEffect.h |
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h |
index cb79ac39c5cf8fb98a1172a755787902a0c9fb50..4631a2ca8e9176cc88f90ca0add1543ff83dc824 100644 |
--- a/src/gpu/effects/GrBezierEffect.h |
+++ b/src/gpu/effects/GrBezierEffect.h |
@@ -97,11 +97,6 @@ public: |
typedef GrGLConicEffect GLProcessor; |
- virtual void getConstantColorComponents(GrColor* color, |
- uint32_t* validFlags) const SK_OVERRIDE { |
- *validFlags = 0; |
- } |
- |
virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERRIDE; |
private: |
@@ -109,6 +104,11 @@ private: |
virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; |
+ virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
+ inout->fValidFlags = 0; |
+ inout->fIsSingleComponent = false; |
+ } |
+ |
GrPrimitiveEdgeType fEdgeType; |
const GrShaderVar& fInConicCoeffs; |
@@ -170,11 +170,6 @@ public: |
typedef GrGLQuadEffect GLProcessor; |
- virtual void getConstantColorComponents(GrColor* color, |
- uint32_t* validFlags) const SK_OVERRIDE { |
- *validFlags = 0; |
- } |
- |
virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERRIDE; |
private: |
@@ -182,6 +177,11 @@ private: |
virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; |
+ virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
+ inout->fValidFlags = 0; |
+ inout->fIsSingleComponent = false; |
+ } |
+ |
GrPrimitiveEdgeType fEdgeType; |
const GrShaderVar& fInHairQuadEdge; |
@@ -245,11 +245,6 @@ public: |
typedef GrGLCubicEffect GLProcessor; |
- virtual void getConstantColorComponents(GrColor* color, |
- uint32_t* validFlags) const SK_OVERRIDE { |
- *validFlags = 0; |
- } |
- |
virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERRIDE; |
private: |
@@ -257,6 +252,11 @@ private: |
virtual bool onIsEqual(const GrProcessor& other) const SK_OVERRIDE; |
+ virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
+ inout->fValidFlags = 0; |
+ inout->fIsSingleComponent = false; |
+ } |
+ |
GrPrimitiveEdgeType fEdgeType; |
const GrShaderVar& fInCubicCoeffs; |