Index: gm/dcshader.cpp |
diff --git a/gm/dcshader.cpp b/gm/dcshader.cpp |
index 2fc9c441032c3a5303123a0a4f98bb3975263158..0c4049b46f02405dd3bb38f6cc3f6bbefb6d8614 100644 |
--- a/gm/dcshader.cpp |
+++ b/gm/dcshader.cpp |
@@ -60,7 +60,7 @@ public: |
this->initClassID<DCFP>(); |
} |
- GrGLFragmentProcessor* createGLInstance() const override { |
+ GrGLFragmentProcessor* onCreateGLInstance() const override { |
class DCGLFP : public GrGLFragmentProcessor { |
void emitCode(EmitArgs& args) override { |
GrGLFragmentBuilder* fpb = args.fBuilder->getFragmentShaderBuilder(); |
@@ -74,7 +74,7 @@ public: |
"%s = color * %s;", |
args.fOutputColor, GrGLSLExpr4(args.fInputColor).c_str()); |
} |
- void setData(const GrGLProgramDataManager&, const GrProcessor&) override {} |
+ void onSetData(const GrGLProgramDataManager&, const GrProcessor&) override {} |
}; |
return SkNEW(DCGLFP); |
} |