Index: src/effects/SkAlphaThresholdFilter.cpp |
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp |
index c9d72bb67305dff45d7d3591bf667333bd1a5865..15b8f9463d3d28f4f356b3cda0d5adc11e84185d 100644 |
--- a/src/effects/SkAlphaThresholdFilter.cpp |
+++ b/src/effects/SkAlphaThresholdFilter.cpp |
@@ -81,8 +81,6 @@ public: |
float innerThreshold() const { return fInnerThreshold; } |
float outerThreshold() const { return fOuterThreshold; } |
- void getGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
- |
GrGLFragmentProcessor* createGLInstance() const override; |
private: |
@@ -108,6 +106,8 @@ private: |
this->addTextureAccess(&fMaskTextureAccess); |
} |
+ void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; |
+ |
bool onIsEqual(const GrFragmentProcessor&) const override; |
void onComputeInvariantOutput(GrInvariantOutput* inout) const override; |
@@ -208,7 +208,7 @@ GrFragmentProcessor* AlphaThresholdEffect::TestCreate(GrProcessorTestData* d) { |
/////////////////////////////////////////////////////////////////////////////// |
-void AlphaThresholdEffect::getGLProcessorKey(const GrGLSLCaps& caps, |
+void AlphaThresholdEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, |
GrProcessorKeyBuilder* b) const { |
GrGLAlphaThresholdEffect::GenKey(*this, caps, b); |
} |