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

Unified Diff: ui/gl/gl_switches.cc

Issue 2467103003: gl_context_glx: add workaround to create default context (Closed)
Patch Set: Address comments Created 4 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 | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.cc
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
index 7cd676e40f9e4dcd3773fa458a7044dec85decc4..85cca9e379ec14b40557e37f857269d26ad84c12 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -26,6 +26,10 @@ const char kANGLEImplementationNullName[] = "null";
namespace switches {
+// Ask the GLX driver for the default context instead of trying to get the
+// highest version possible.
+const char kCreateDefaultGLContext[] = "create-default-gl-context";
+
// Disables use of D3D11.
const char kDisableD3D11[] = "disable-d3d11";
« no previous file with comments | « ui/gl/gl_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698