diff options
author | 2015-11-13 11:57:27 -0800 | |
---|---|---|
committer | 2015-11-13 11:57:27 -0800 | |
commit | 57d3b039c635945e1dc2fcbac3462ed8bfedb068 (patch) | |
tree | 1b119d77bc2f5dbb58587484f73f9ecbc4794039 /src/effects/SkAlphaThresholdFilter.cpp | |
parent | 04d52f3a92bb3d72e035a7c002926953edb0b505 (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 'src/effects/SkAlphaThresholdFilter.cpp')
-rw-r--r-- | src/effects/SkAlphaThresholdFilter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/effects/SkAlphaThresholdFilter.cpp b/src/effects/SkAlphaThresholdFilter.cpp index 6497111690..ff5e93e036 100644 --- a/src/effects/SkAlphaThresholdFilter.cpp +++ b/src/effects/SkAlphaThresholdFilter.cpp @@ -101,9 +101,9 @@ private: this->addTextureAccess(&fMaskTextureAccess); } - GrGLSLFragmentProcessor* onCreateGLInstance() const override; + GrGLSLFragmentProcessor* onCreateGLSLInstance() const override; - void onGetGLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; + void onGetGLSLProcessorKey(const GrGLSLCaps&, GrProcessorKeyBuilder*) const override; bool onIsEqual(const GrFragmentProcessor&) const override; @@ -203,12 +203,12 @@ const GrFragmentProcessor* AlphaThresholdEffect::TestCreate(GrProcessorTestData* /////////////////////////////////////////////////////////////////////////////// -void AlphaThresholdEffect::onGetGLProcessorKey(const GrGLSLCaps& caps, - GrProcessorKeyBuilder* b) const { +void AlphaThresholdEffect::onGetGLSLProcessorKey(const GrGLSLCaps& caps, + GrProcessorKeyBuilder* b) const { GrGLAlphaThresholdEffect::GenKey(*this, caps, b); } -GrGLSLFragmentProcessor* AlphaThresholdEffect::onCreateGLInstance() const { +GrGLSLFragmentProcessor* AlphaThresholdEffect::onCreateGLSLInstance() const { return new GrGLAlphaThresholdEffect(*this); } |