diff options
author | 2014-12-04 11:35:33 -0800 | |
---|---|---|
committer | 2014-12-04 11:35:34 -0800 | |
commit | eb2a6761654307e8aeeeaabdd63c6bf9ab0411e9 (patch) | |
tree | 9567dc32598c1c0df5f5cf4a3d6594c61b95fd93 /src/gpu/effects/GrTextureDomain.h | |
parent | e109145bf31d63963b3f78c6af6e404d5464a55b (diff) |
Remove backend factories
BUG=skia:
Review URL: https://codereview.chromium.org/778453002
Diffstat (limited to 'src/gpu/effects/GrTextureDomain.h')
-rw-r--r-- | src/gpu/effects/GrTextureDomain.h | 8 |
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; } |