Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: src/gpu/gl/GrGpuGL.cpp

Issue 14864002: Fix GL extension printing on core profiles. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« src/gpu/gl/GrGLExtensions.cpp ('K') | « src/gpu/gl/GrGLExtensions.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGpuGL.cpp
===================================================================
--- src/gpu/gl/GrGpuGL.cpp (revision 8966)
+++ src/gpu/gl/GrGpuGL.cpp (working copy)
@@ -161,8 +161,6 @@
GrGLClearErr(fGLContext.interface());
if (gPrintStartupSpew) {
- const GrGLubyte* ext;
- GL_CALL_RET(ext, GetString(GR_GL_EXTENSIONS));
const GrGLubyte* vendor;
const GrGLubyte* renderer;
const GrGLubyte* version;
@@ -174,7 +172,9 @@
GrPrintf("------ VENDOR %s\n", vendor);
GrPrintf("------ RENDERER %s\n", renderer);
GrPrintf("------ VERSION %s\n", version);
- GrPrintf("------ EXTENSIONS\n %s \n", ext);
+ GrPrintf("------ EXTENSIONS\n");
+ ctx.info().extensions().print();
+ GrPrintf("\n");
ctx.info().caps()->print();
}
« src/gpu/gl/GrGLExtensions.cpp ('K') | « src/gpu/gl/GrGLExtensions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698