Index: gm/dcshader.cpp |
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp |
index ce73662fb7154396de130dc4aec1d33b6105924d..2fc9c441032c3a5303123a0a4f98bb3975263158 100644 |
--- a/gm/dcshader.cpp |
+++ b/gm/dcshader.cpp |
@@ -60,9 +60,6 @@ public: |
this->initClassID<DCFP>(); |
} |
- void getGLProcessorKey(const GrGLSLCaps& caps, |
- GrProcessorKeyBuilder* b) const override {} |
- |
GrGLFragmentProcessor* createGLInstance() const override { |
class DCGLFP : public GrGLFragmentProcessor { |
void emitCode(EmitArgs& args) override { |
@@ -89,6 +86,9 @@ public: |
} |
private: |
+ void onGetGLProcessorKey(const GrGLSLCaps& caps, |
+ GrProcessorKeyBuilder* b) const override {} |
+ |
bool onIsEqual(const GrFragmentProcessor&) const override { return true; } |
GrCoordTransform fDeviceTransform; |