Index: src/gpu/effects/GrTextureDomain.h |
diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h |
index 19b07adfb0bd8858720b005d116323f9a9653f11..9e21c4a48eaa2afa931606d59a894c4e76509413 100644 |
--- a/src/gpu/effects/GrTextureDomain.h |
+++ b/src/gpu/effects/GrTextureDomain.h |
@@ -138,8 +138,6 @@ protected: |
typedef GrSingleTextureEffect INHERITED; |
}; |
-class GrGLTextureDomainEffect; |
- |
/** |
* A basic texture effect that uses GrTextureDomain. |
*/ |
@@ -155,11 +153,11 @@ public: |
virtual ~GrTextureDomainEffect(); |
- static const char* Name() { return "TextureDomain"; } |
+ virtual const char* name() const SK_OVERRIDE { return "TextureDomain"; } |
- typedef GrGLTextureDomainEffect GLProcessor; |
+ virtual void getGLProcessorKey(const GrGLCaps&, GrProcessorKeyBuilder*) const SK_OVERRIDE; |
- virtual const GrBackendFragmentProcessorFactory& getFactory() const SK_OVERRIDE; |
+ virtual GrGLFragmentProcessor* createGLInstance() const SK_OVERRIDE; |
const GrTextureDomain& textureDomain() const { return fTextureDomain; } |