aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/gl/GrGLGpu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLGpu.cpp b/src/gpu/gl/GrGLGpu.cpp
index 9b69faae12..861542fd1d 100644
--- a/src/gpu/gl/GrGLGpu.cpp
+++ b/src/gpu/gl/GrGLGpu.cpp
@@ -257,14 +257,17 @@ GrGLGpu::GrGLGpu(GrGLContext* ctx, GrContext* context)
const GrGLubyte* vendor;
const GrGLubyte* renderer;
const GrGLubyte* version;
+ const GrGLubyte* glslVersion;
GL_CALL_RET(vendor, GetString(GR_GL_VENDOR));
GL_CALL_RET(renderer, GetString(GR_GL_RENDERER));
GL_CALL_RET(version, GetString(GR_GL_VERSION));
+ GL_CALL_RET(glslVersion, GetString(GR_GL_SHADING_LANGUAGE_VERSION));
SkDebugf("------------------------- create GrGLGpu %p --------------\n",
this);
SkDebugf("------ VENDOR %s\n", vendor);
SkDebugf("------ RENDERER %s\n", renderer);
SkDebugf("------ VERSION %s\n", version);
+ SkDebugf("------ SHADING LANGUAGE VERSION %s\n", glslVersion);
SkDebugf("------ EXTENSIONS\n");
this->glContext().extensions().print();
SkDebugf("\n");