diff options
author | wangyix <wangyix@google.com> | 2015-08-04 07:59:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-04 07:59:37 -0700 |
commit | 4b3050b410254d0cb38df9a30ae2e209124fa1a2 (patch) | |
tree | 060bac88523db4058c11c364319ace7368749848 /src/gpu/effects/GrBicubicEffect.h | |
parent | c369348aa596d7be05c9ce0ca5d349e5d1903789 (diff) |
Added registerChild; transforms, textures, glKey automatically handled.
BUG=skia:
Review URL: https://codereview.chromium.org/1266633003
Diffstat (limited to 'src/gpu/effects/GrBicubicEffect.h')
-rw-r--r-- | src/gpu/effects/GrBicubicEffect.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/effects/GrBicubicEffect.h b/src/gpu/effects/GrBicubicEffect.h index 86118f7b78..810e443162 100644 --- a/src/gpu/effects/GrBicubicEffect.h +++ b/src/gpu/effects/GrBicubicEffect.h @@ -27,8 +27,6 @@ public: const char* name() const override { return "Bicubic"; } - void getGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; - GrGLFragmentProcessor* createGLInstance() const override; const GrTextureDomain& domain() const { return fDomain; } @@ -94,6 +92,9 @@ private: const SkMatrix &matrix, const SkShader::TileMode tileModes[2]); GrBicubicEffect(GrProcessorDataManager*, GrTexture*, const SkScalar coefficients[16], const SkMatrix &matrix, const SkRect& domain); + + void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; + bool onIsEqual(const GrFragmentProcessor&) const override; void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |