OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/macros.h" | 5 #include "base/macros.h" |
6 #include "ui/gl/gl_switches.h" | 6 #include "ui/gl/gl_switches.h" |
7 | 7 |
8 namespace gl { | 8 namespace gl { |
9 | 9 |
10 const char kGLImplementationDesktopName[] = "desktop"; | 10 const char kGLImplementationDesktopName[] = "desktop"; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 kDisableGLDrawingForTests, | 125 kDisableGLDrawingForTests, |
126 kOverrideUseGLWithOSMesaForTests, | 126 kOverrideUseGLWithOSMesaForTests, |
127 kUseANGLE, | 127 kUseANGLE, |
128 kDisableDirectComposition, | 128 kDisableDirectComposition, |
129 kEnableSwapBuffersWithDamage, | 129 kEnableSwapBuffersWithDamage, |
130 }; | 130 }; |
131 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = | 131 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = |
132 arraysize(kGLSwitchesCopiedFromGpuProcessHost); | 132 arraysize(kGLSwitchesCopiedFromGpuProcessHost); |
133 | 133 |
134 } // namespace switches | 134 } // namespace switches |
| 135 |
| 136 namespace features { |
| 137 |
| 138 #if defined(OS_WIN) |
| 139 // Wait for D3D VSync signals in GPU process (as opposed to delay based VSync |
| 140 // generated in Browser process based on VSync parameters). |
| 141 const base::Feature kD3DVsync{"D3DVsync", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 #endif // defined(OS_WIN) |
| 143 |
| 144 } // namespace features |
OLD | NEW |