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

Unified Diff: ui/gfx/gl/gl_implementation.cc

Issue 7980034: Make OSMesa GL implementation advertise supported functionality as ES2 extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
« no previous file with comments | « ui/gfx/gl/gl_implementation.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/gl/gl_implementation.cc
===================================================================
--- ui/gfx/gl/gl_implementation.cc (revision 102100)
+++ ui/gfx/gl/gl_implementation.cc (working copy)
@@ -106,6 +106,11 @@
return g_gl_implementation;
}
+bool HasDesktopGLFeatures() {
+ return kGLImplementationDesktopGL == g_gl_implementation ||
+ kGLImplementationOSMesaGL == g_gl_implementation;
+}
+
void AddGLNativeLibrary(base::NativeLibrary library) {
DCHECK(library);
« no previous file with comments | « ui/gfx/gl/gl_implementation.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698