aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrBicubicEffect.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/GrBicubicEffect.h
parente109145bf31d63963b3f78c6af6e404d5464a55b (diff)
Remove backend factories
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.h')
-rw-r--r--src/gpu/effects/GrBicubicEffect.h8
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; }