diff options
author | joshualitt <joshualitt@chromium.org> | 2014-12-04 11:35:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-04 11:35:34 -0800 |
commit | eb2a6761654307e8aeeeaabdd63c6bf9ab0411e9 (patch) | |
tree | 9567dc32598c1c0df5f5cf4a3d6594c61b95fd93 /src/gpu/effects/GrBicubicEffect.h | |
parent | e109145bf31d63963b3f78c6af6e404d5464a55b (diff) |
Remove backend factories
BUG=skia:
Review URL: https://codereview.chromium.org/778453002
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.h')
-rw-r--r-- | src/gpu/effects/GrBicubicEffect.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.h b/src/gpu/effects/GrBicubicEffect.h index 8f11825704..19fce03c7f 100644 --- a/src/gpu/effects/GrBicubicEffect.h +++ b/src/gpu/effects/GrBicubicEffect.h @@ -11,7 +11,6 @@ #include "GrSingleTextureEffect.h" #include "GrTextureDomain.h" #include "gl/GrGLProcessor.h" -#include "GrTBackendProcessorFactory.h" class GrGLBicubicEffect; class GrInvariantOutput; @@ -24,12 +23,13 @@ public: }; virtual ~GrBicubicEffect(); - static const char* Name() { return "Bicubic"; } const float* coefficients() const { return fCoefficients; } - typedef GrGLBicubicEffect GLProcessor; + virtual const char* name() const SK_OVERRIDE { return "Bicubic"; } - virtual const GrBackendFragmentProcessorFactory& getFactory() const SK_OVERRIDE; + virtual void getGLProcessorKey(const GrGLCaps&, GrProcessorKeyBuilder*) const SK_OVERRIDE; + + virtual GrGLFragmentProcessor* createGLInstance() const SK_OVERRIDE; const GrTextureDomain& domain() const { return fDomain; } |