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

Unified Diff: ui/gl/gl_implementation_win.cc

Issue 871763002: Make GL bindings conditional (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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_win.cc
diff --git a/ui/gl/gl_implementation_win.cc b/ui/gl/gl_implementation_win.cc
index ff7d1d1a2b03c976a2210bfa96507384edf1e279..ff23860d22aab385ea5ac356d0bddaa07501b5ce 100644
--- a/ui/gl/gl_implementation_win.cc
+++ b/ui/gl/gl_implementation_win.cc
@@ -320,16 +320,9 @@ bool InitializeDynamicGLBindings(GLImplementation implementation,
GLContext* context) {
switch (implementation) {
case kGLImplementationOSMesaGL:
- InitializeDynamicGLBindingsGL(context);
- InitializeDynamicGLBindingsOSMESA(context);
- break;
case kGLImplementationEGLGLES2:
- InitializeDynamicGLBindingsGL(context);
- InitializeDynamicGLBindingsEGL(context);
- break;
case kGLImplementationDesktopGL:
InitializeDynamicGLBindingsGL(context);
- InitializeDynamicGLBindingsWGL(context);
break;
case kGLImplementationMockGL:
if (!context) {

Powered by Google App Engine
This is Rietveld 408576698