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

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

Issue 8623009: Fix preferred order of GL implementations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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 | « no previous file | 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_linux.cc
diff --git a/ui/gfx/gl/gl_implementation_linux.cc b/ui/gfx/gl/gl_implementation_linux.cc
index ee225b19db6e0becfc4f84ad17ee10320c2eeb6d..17575cdcb30e92f0f38a8ea885be7489f9c3d698 100644
--- a/ui/gfx/gl/gl_implementation_linux.cc
+++ b/ui/gfx/gl/gl_implementation_linux.cc
@@ -58,10 +58,12 @@ base::LazyInstance<base::Lock,
void GetAllowedGLImplementations(std::vector<GLImplementation>* impls) {
#if !defined(USE_WAYLAND)
- impls->push_back(kGLImplementationOSMesaGL);
impls->push_back(kGLImplementationDesktopGL);
#endif
impls->push_back(kGLImplementationEGLGLES2);
+#if !defined(USE_WAYLAND)
+ impls->push_back(kGLImplementationOSMesaGL);
+#endif
}
bool InitializeGLBindings(GLImplementation implementation) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698