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

Unified Diff: ui/gl/gl_implementation_x11.cc

Issue 1151093006: Added disabling EGL extensions support with --disable-extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed some strange formatting Created 5 years, 7 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
Index: ui/gl/gl_implementation_x11.cc
diff --git a/ui/gl/gl_implementation_x11.cc b/ui/gl/gl_implementation_x11.cc
index b8a724649f8c0cfe91e10586718d78e7695acd8a..d32bd78e0ebc8dbc117ca94a2f3cec2daf85e153 100644
--- a/ui/gl/gl_implementation_x11.cc
+++ b/ui/gl/gl_implementation_x11.cc
@@ -150,9 +150,11 @@ bool InitializeStaticGLBindings(GLImplementation implementation) {
bool InitializeDynamicGLBindings(GLImplementation implementation,
GLContext* context) {
switch (implementation) {
- case kGLImplementationOSMesaGL:
- case kGLImplementationDesktopGL:
case kGLImplementationEGLGLES2:
+ InitializeDynamicGLBindingsEGL(context);
+ // Intentionally fall through to also initialize Dynamic GL Bindings.
+ case kGLImplementationOSMesaGL:
+ case kGLImplementationDesktopGL:
InitializeDynamicGLBindingsGL(context);
break;
case kGLImplementationMockGL:

Powered by Google App Engine
This is Rietveld 408576698