diff options
author | 2015-08-04 07:59:37 -0700 | |
---|---|---|
committer | 2015-08-04 07:59:37 -0700 | |
commit | 4b3050b410254d0cb38df9a30ae2e209124fa1a2 (patch) | |
tree | 060bac88523db4058c11c364319ace7368749848 /src/gpu/effects/GrSimpleTextureEffect.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/GrSimpleTextureEffect.h')
-rw-r--r-- | src/gpu/effects/GrSimpleTextureEffect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/effects/GrSimpleTextureEffect.h b/src/gpu/effects/GrSimpleTextureEffect.h index 70d36224a5..c86b1365e7 100644 --- a/src/gpu/effects/GrSimpleTextureEffect.h +++ b/src/gpu/effects/GrSimpleTextureEffect.h @@ -53,8 +53,6 @@ public: const char* name() const override { return "SimpleTexture"; } - void getGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; - GrGLFragmentProcessor* createGLInstance() const override; private: @@ -76,6 +74,8 @@ private: this->initClassID<GrSimpleTextureEffect>(); } + void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; + bool onIsEqual(const GrFragmentProcessor& other) const override { return true; } void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |