From 7f7b902d51a0abb5216ebb3593e890f3c2b51547 Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Mon, 26 Jun 2017 16:33:54 -0400 Subject: Add shading language version to GL dump Bug: skia:6759 Change-Id: I021a8487ccb1d127b2005285e439be34d644f333 Reviewed-on: https://skia-review.googlesource.com/20905 Reviewed-by: Robert Phillips Commit-Queue: Jim Van Verth --- src/gpu/gl/GrGLGpu.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gpu') 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"); -- cgit v1.2.3