Index: src/gpu/effects/GrDitherEffect.cpp |
diff --git a/src/gpu/effects/GrDitherEffect.cpp b/src/gpu/effects/GrDitherEffect.cpp |
index e87014094a7e5b4b8c35d64a304a57e58fb2f994..6d394506314fac12e9581b7a4188d3785288373a 100644 |
--- a/src/gpu/effects/GrDitherEffect.cpp |
+++ b/src/gpu/effects/GrDitherEffect.cpp |
@@ -25,8 +25,6 @@ public: |
const char* name() const override { return "Dither"; } |
- void getGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
- |
GrGLFragmentProcessor* createGLInstance() const override; |
private: |
@@ -35,6 +33,8 @@ private: |
this->setWillReadFragmentPosition(); |
} |
+ void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
+ |
// All dither effects are equal |
bool onIsEqual(const GrFragmentProcessor&) const override { return true; } |
@@ -92,7 +92,7 @@ void GLDitherEffect::emitCode(EmitArgs& args) { |
////////////////////////////////////////////////////////////////////////////// |
-void DitherEffect::getGLProcessorKey(const GrGLSLCaps& caps, |
+void DitherEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
GrProcessorKeyBuilder* b) const { |
GLDitherEffect::GenKey(*this, caps, b); |
} |