diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-06-26 16:33:54 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-06-27 13:04:05 +0000 |
commit | 7f7b902d51a0abb5216ebb3593e890f3c2b51547 (patch) | |
tree | 214684c7570120ff217dc7c104377fd799427a31 | |
parent | 70e3e9adc57d765cbd1e86d8f54145e1b4a564f4 (diff) |
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 <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
-rw-r--r-- | src/gpu/gl/GrGLGpu.cpp | 3 |
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"); |