aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrTextureDomain.h
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-12-04 11:35:33 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-04 11:35:34 -0800
commiteb2a6761654307e8aeeeaabdd63c6bf9ab0411e9 (patch)
tree9567dc32598c1c0df5f5cf4a3d6594c61b95fd93 /src/gpu/effects/GrTextureDomain.h
parente109145bf31d63963b3f78c6af6e404d5464a55b (diff)
Remove backend factories
Diffstat (limited to 'src/gpu/effects/GrTextureDomain.h')
-rw-r--r--src/gpu/effects/GrTextureDomain.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/gpu/effects/GrTextureDomain.h b/src/gpu/effects/GrTextureDomain.h
index 19b07adfb0..9e21c4a48e 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; }