aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLGpu.cpp
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-10-22 07:08:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-10-22 07:08:37 -0700
commit899ba37db336c20a06bce65d952e0664596a26ef (patch)
treecdb633ab7b5ea307e1785c976b998ecc6965922c /src/gpu/gl/GrGLGpu.cpp
parent5eaaad29dd4fd903a2dde36473c4643bd069c753 (diff)
Revert of Add version string and force highp NDS transfrom to GLSLCaps (patchset #3 id:40001 of https://codereview.chromium.org/1417993004/ )
Reason for revert: breaking bots Original issue's description: > Add version string and force highp NDS transfrom to GLSLCaps > > This also include the use of any() in the shaders. > > BUG=skia: > > Committed: https://skia.googlesource.com/skia/+/cef4bce8e260b49bf3417eadbac806cf7d39cdc8 TBR=bsalomon@google.com,jvanverth@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Review URL: https://codereview.chromium.org/1420033002
Diffstat (limited to 'src/gpu/gl/GrGLGpu.cpp')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 1ad398f829..9834b6e617 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -2809,7 +2809,7 @@ bool GrGLGpu::onCopySurface(GrSurface* dst,
void GrGLGpu::createCopyProgram() {
- const char* version = this->glCaps().glslCaps()->versionDeclString();
+ const char* version = GrGLGetGLSLVersionDecl(this->ctxInfo());
GrGLSLShaderVar aVertex("a_vertex", kVec2f_GrSLType, GrShaderVar::kAttribute_TypeModifier);
GrGLSLShaderVar uTexCoordXform("u_texCoordXform", kVec4f_GrSLType,