Index: src/gpu/effects/GrYUVtoRGBEffect.cpp |
diff --git a/src/gpu/effects/GrYUVtoRGBEffect.cpp b/src/gpu/effects/GrYUVtoRGBEffect.cpp |
index 3bfc2164743051979b328028cf35318315b13ea8..7d77c1f3b41c6682e66c4f24297c79ebcb5949dc 100644 |
--- a/src/gpu/effects/GrYUVtoRGBEffect.cpp |
+++ b/src/gpu/effects/GrYUVtoRGBEffect.cpp |
@@ -102,11 +102,6 @@ public: |
typedef GrGLFragmentProcessor INHERITED; |
}; |
- virtual void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override { |
- GLProcessor::GenKey(*this, caps, b); |
- } |
- |
GrGLFragmentProcessor* createGLInstance() const override { |
return SkNEW_ARGS(GLProcessor, (*this)); |
} |
@@ -131,6 +126,11 @@ private: |
this->addTextureAccess(&fVAccess); |
} |
+ virtual void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override { |
+ GLProcessor::GenKey(*this, caps, b); |
+ } |
+ |
bool onIsEqual(const GrFragmentProcessor& sBase) const override { |
const YUVtoRGBEffect& s = sBase.cast<YUVtoRGBEffect>(); |
return fColorSpace == s.getColorSpace(); |