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

Unified Diff: ui/gl/gl_switches.cc

Issue 18501018: Enable ANGLE D3D11 runtime for Windows 7+. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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/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 c519db0e14249ea955986f3cdd586aaf0e9b0819..df512fc2c3d6d9f32c98f845104ff22d159356c6 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -18,9 +18,12 @@ const char kGLImplementationMockName[] = "mock";
namespace switches {
-// Enables use of D3D11 when available.
+// Enables use of D3D11 if it would otherwise be disabled by the blacklist.
const char kEnableD3D11[] = "enable-d3d11";
+// Disables use of D3D11.
+const char kDisableD3D11[] = "disable-d3d11";
+
// Stop the GPU from synchronizing on the vsync before presenting.
const char kDisableGpuVsync[] = "disable-gpu-vsync";
@@ -70,6 +73,7 @@ const char kTestGLLib[] = "test-gl-lib";
// to read it in the GPU process, else don't add it.
const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
kDisableGpuVsync,
+ kDisableD3D11,
kEnableD3D11,
apatrick_chromium 2013/07/10 18:33:12 kEnableD3D11 is in this array so it gets forwarded
kEnableGPUServiceLogging,
kEnableGPUServiceTracing,
« 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