aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrSimpleTextureEffect.h
diff options
context:
space:
mode:
authorGravatar wangyix <wangyix@google.com>2015-08-04 07:59:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-04 07:59:37 -0700
commit4b3050b410254d0cb38df9a30ae2e209124fa1a2 (patch)
tree060bac88523db4058c11c364319ace7368749848 /src/gpu/effects/GrSimpleTextureEffect.h
parentc369348aa596d7be05c9ce0ca5d349e5d1903789 (diff)
Added registerChild; transforms, textures, glKey automatically handled.
Diffstat (limited to 'src/gpu/effects/GrSimpleTextureEffect.h')
-rw-r--r--src/gpu/effects/GrSimpleTextureEffect.h4
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;