| Index: ui/gl/gl_switches.cc
|
| diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
|
| index fd80ff4c85c878bf2b8761265e01e462bb15fd5e..2fbde37d3a5413b73a96f62f8a0bc7267075736b 100644
|
| --- a/ui/gl/gl_switches.cc
|
| +++ b/ui/gl/gl_switches.cc
|
| @@ -67,8 +67,8 @@ const char kSwiftShaderPath[] = "swiftshader-path";
|
| // context will never be lost in any situations, say, a GPU reset.
|
| const char kGpuNoContextLost[] = "gpu-no-context-lost";
|
|
|
| -// Turns on the use of DirectComposition to draw to the screen.
|
| -const char kUseDirectComposition[] = "use-direct-composition";
|
| +// Disables the use of DirectComposition to draw to the screen.
|
| +const char kDisableDirectComposition[] = "disable-direct-composition";
|
|
|
| // Indicates whether the dual GPU switching is supported or not.
|
| const char kSupportsDualGpus[] = "supports-dual-gpus";
|
| @@ -98,16 +98,16 @@ const char kDisableGLExtensions[] = "disable-gl-extensions";
|
| // 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,
|
| - kUseDirectComposition,
|
| + kDisableGpuVsync,
|
| + kDisableD3D11,
|
| + kEnableGPUServiceLogging,
|
| + kEnableGPUServiceTracing,
|
| + kEnableUnsafeES3APIs,
|
| + kGpuNoContextLost,
|
| + kDisableGLDrawingForTests,
|
| + kOverrideUseGLWithOSMesaForTests,
|
| + kUseANGLE,
|
| + kDisableDirectComposition,
|
| };
|
| const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
|
| arraysize(kGLSwitchesCopiedFromGpuProcessHost);
|
|
|