Rename GrProgramStageFactory to GrBackendEffectFactory.
Review URL: https://codereview.appspot.com/6773044
git-svn-id: http://skia.googlecode.com/svn/trunk@6125 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/effects/gradients/SkTwoPointRadialGradient.cpp b/src/effects/gradients/SkTwoPointRadialGradient.cpp
index adca94f..e367276 100644
--- a/src/effects/gradients/SkTwoPointRadialGradient.cpp
+++ b/src/effects/gradients/SkTwoPointRadialGradient.cpp
@@ -357,7 +357,7 @@
public:
- GrGLRadial2Gradient(const GrProgramStageFactory& factory,
+ GrGLRadial2Gradient(const GrBackendEffectFactory& factory,
const GrEffect&);
virtual ~GrGLRadial2Gradient() { }
@@ -410,8 +410,8 @@
virtual ~GrRadial2Gradient() { }
static const char* Name() { return "Two-Point Radial Gradient"; }
- virtual const GrProgramStageFactory& getFactory() const SK_OVERRIDE {
- return GrTProgramStageFactory<GrRadial2Gradient>::getInstance();
+ virtual const GrBackendEffectFactory& getFactory() const SK_OVERRIDE {
+ return GrTBackendEffectFactory<GrRadial2Gradient>::getInstance();
}
virtual bool isEqual(const GrEffect& sBase) const SK_OVERRIDE {
const GrRadial2Gradient& s = static_cast<const GrRadial2Gradient&>(sBase);
@@ -482,7 +482,7 @@
/////////////////////////////////////////////////////////////////////
GrGLRadial2Gradient::GrGLRadial2Gradient(
- const GrProgramStageFactory& factory,
+ const GrBackendEffectFactory& factory,
const GrEffect& baseData)
: INHERITED(factory)
, fVSParamUni(kInvalidUniformHandle)