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

Unified Diff: ui/gl/gl_switches.cc

Issue 1573913009: Revert of Enable DirectComposition by default. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« 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 b4f26257efa348c33900a083b56898ec60b857fd..5327dd5c0ed08a7ff4b15cfafebc8b16eb9c98a8 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -66,8 +66,8 @@
// context will never be lost in any situations, say, a GPU reset.
const char kGpuNoContextLost[] = "gpu-no-context-lost";
-// Disables the use of DirectComposition to draw to the screen.
-const char kDisableDirectComposition[] = "disable-direct-composition";
+// Turns on the use of DirectComposition to draw to the screen.
+const char kUseDirectComposition[] = "use-direct-composition";
// Indicates whether the dual GPU switching is supported or not.
const char kSupportsDualGpus[] = "supports-dual-gpus";
@@ -97,16 +97,16 @@
// GpuProcessHost to the GPU Process. Add your switch to this list if you need
// to read it in the GPU process, else don't add it.
const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
- kDisableGpuVsync,
- kDisableD3D11,
- kEnableGPUServiceLogging,
- kEnableGPUServiceTracing,
- kEnableUnsafeES3APIs,
- kGpuNoContextLost,
- kDisableGLDrawingForTests,
- kOverrideUseGLWithOSMesaForTests,
- kUseANGLE,
- kDisableDirectComposition,
+ kDisableGpuVsync,
+ kDisableD3D11,
+ kEnableGPUServiceLogging,
+ kEnableGPUServiceTracing,
+ kEnableUnsafeES3APIs,
+ kGpuNoContextLost,
+ kDisableGLDrawingForTests,
+ kOverrideUseGLWithOSMesaForTests,
+ kUseANGLE,
+ kUseDirectComposition,
};
const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
arraysize(kGLSwitchesCopiedFromGpuProcessHost);
« 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