aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-10-29 07:57:01 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-29 07:57:02 -0700
commit7dc4bd06fca73a97dcf3ad4a7425597160f1edfc (patch)
treee257695fd2e59d57bb226d754a8c2c374f6360d7 /src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
parentcc92b4a7eca78dcec23d14ccd4ecf5889c35caa1 (diff)
Remove GrGLProcessor and create GrGLSLTextureSampler class.
Part ??? of separating glsl and gl BUG=skia: Review URL: https://codereview.chromium.org/1425013003
Diffstat (limited to 'src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp')
-rw-r--r--src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
index 73098547a8..6f049588f6 100644
--- a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
+++ b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp
@@ -118,8 +118,8 @@ bool GrGLFragmentShaderBuilder::enableFeature(GLSLFeature feature) {
}
}
-SkString GrGLFragmentShaderBuilder::ensureFSCoords2D(
- const GrGLProcessor::TransformedCoordsArray& coords, int index) {
+SkString GrGLFragmentShaderBuilder::ensureFSCoords2D(const GrGLSLTransformedCoordsArray& coords,
+ int index) {
if (kVec3f_GrSLType != coords[index].getType()) {
SkASSERT(kVec2f_GrSLType == coords[index].getType());
return coords[index].getName();