Index: ui/gl/gl_switches.cc |
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc |
index dbf0e6e153ee2a27426214deb21332ea82e20719..f75b828325cd5d10a953eb0031c3a2a80f693167 100644 |
--- a/ui/gl/gl_switches.cc |
+++ b/ui/gl/gl_switches.cc |
@@ -112,6 +112,9 @@ const char kDisableGLExtensions[] = "disable-gl-extensions"; |
// Use EGL_KHR_swap_buffers_with_damage to implement PostSubBuffers |
const char kEnableSwapBuffersWithDamage[] = "enable-swap-buffers-with-damage"; |
+// Wait for D3D VSync signals in GPU process. |
+const char kUseD3DVSync[] = "use-d3d-vsync"; |
+ |
// This is the list of switches passed from this file that are passed from the |
// 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. |
@@ -127,7 +130,7 @@ const char* kGLSwitchesCopiedFromGpuProcessHost[] = { |
kUseANGLE, |
kDisableDirectComposition, |
kEnableSwapBuffersWithDamage, |
-}; |
+ kUseD3DVSync}; |
stanisc
2017/01/12 00:52:50
TODO: revert formatting
|
const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = |
arraysize(kGLSwitchesCopiedFromGpuProcessHost); |