Index: src/gpu/effects/GrConvexPolyEffect.h |
diff --git a/src/gpu/effects/GrConvexPolyEffect.h b/src/gpu/effects/GrConvexPolyEffect.h |
index 7464d5447f8180ee4fd89e573654d05a716a12ce..fec7e82b0e1d7d9f7c489dc97fc934ba2ecd8412 100644 |
--- a/src/gpu/effects/GrConvexPolyEffect.h |
+++ b/src/gpu/effects/GrConvexPolyEffect.h |
@@ -9,10 +9,10 @@ |
#define GrConvexPolyEffect_DEFINED |
#include "GrDrawTargetCaps.h" |
+#include "GrFragmentProcessor.h" |
#include "GrProcessor.h" |
#include "GrTypesPriv.h" |
-class GrGLConvexPolyEffect; |
class GrInvariantOutput; |
class SkPath; |
@@ -61,7 +61,7 @@ public: |
virtual ~GrConvexPolyEffect(); |
- static const char* Name() { return "ConvexPoly"; } |
+ virtual const char* name() const SK_OVERRIDE { return "ConvexPoly"; } |
GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; } |
@@ -69,9 +69,9 @@ public: |
const SkScalar* getEdges() const { return fEdges; } |
- typedef GrGLConvexPolyEffect GLProcessor; |
+ virtual void getGLProcessorKey(const GrGLCaps&, GrProcessorKeyBuilder*) const SK_OVERRIDE; |
- virtual const GrBackendFragmentProcessorFactory& getFactory() const SK_OVERRIDE; |
+ virtual GrGLFragmentProcessor* createGLInstance() const SK_OVERRIDE; |
private: |
GrConvexPolyEffect(GrPrimitiveEdgeType edgeType, int n, const SkScalar edges[]); |