aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-11-13 11:57:27 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-13 11:57:27 -0800
commit57d3b039c635945e1dc2fcbac3462ed8bfedb068 (patch)
tree1b119d77bc2f5dbb58587484f73f9ecbc4794039 /tests
parent04d52f3a92bb3d72e035a7c002926953edb0b505 (diff)
Rename some processor functions from GL to GLSL
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1443743002
Diffstat (limited to 'tests')
-rw-r--r--tests/GLProgramsTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 81ce227c64..ce247df59c 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -74,7 +74,7 @@ public:
const char* name() const override { return "Big Ole Key"; }
- GrGLSLFragmentProcessor* onCreateGLInstance() const override {
+ GrGLSLFragmentProcessor* onCreateGLSLInstance() const override {
return new GLBigKeyProcessor(*this);
}
@@ -82,8 +82,8 @@ private:
BigKeyProcessor() {
this->initClassID<BigKeyProcessor>();
}
- virtual void onGetGLProcessorKey(const GrGLSLCaps& caps,
- GrProcessorKeyBuilder* b) const override {
+ virtual void onGetGLSLProcessorKey(const GrGLSLCaps& caps,
+ GrProcessorKeyBuilder* b) const override {
GLBigKeyProcessor::GenKey(*this, caps, b);
}
bool onIsEqual(const GrFragmentProcessor&) const override { return true; }
@@ -110,7 +110,7 @@ public:
const char* name() const override { return "Block Input"; }
- GrGLSLFragmentProcessor* onCreateGLInstance() const override { return new GLFP; }
+ GrGLSLFragmentProcessor* onCreateGLSLInstance() const override { return new GLFP; }
private:
class GLFP : public GrGLSLFragmentProcessor {
@@ -128,7 +128,7 @@ private:
this->registerChildProcessor(child);
}
- void onGetGLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {}
+ void onGetGLSLProcessorKey(const GrGLSLCaps& caps, GrProcessorKeyBuilder* b) const override {}
bool onIsEqual(const GrFragmentProcessor&) const override { return true; }