Index: src/gpu/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/GrAAConvexPathRenderer.cpp b/src/gpu/GrAAConvexPathRenderer.cpp |
index dc74459e3e3c26393a42fcea2e17e849ae7bbc0d..1aa90c3f2b9cc3b3d317f79d267ad2e9f1966fdc 100644 |
--- a/src/gpu/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/GrAAConvexPathRenderer.cpp |
@@ -517,11 +517,6 @@ public: |
static const char* Name() { return "QuadEdge"; } |
- virtual void getConstantColorComponents(GrColor* color, |
- uint32_t* validFlags) const SK_OVERRIDE { |
- *validFlags = 0; |
- } |
- |
const GrShaderVar& inQuadEdge() const { return fInQuadEdge; } |
virtual const GrBackendGeometryProcessorFactory& getFactory() const SK_OVERRIDE { |
@@ -593,6 +588,11 @@ private: |
return true; |
} |
+ virtual void onComputeInvariantOutput(InvariantOutput* inout) const SK_OVERRIDE { |
+ inout->fValidFlags = 0; |
+ inout->fIsSingleComponent = false; |
+ } |
+ |
const GrShaderVar& fInQuadEdge; |
GR_DECLARE_GEOMETRY_PROCESSOR_TEST; |