| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 kDisableGLDrawingForTests, | 127 kDisableGLDrawingForTests, |
| 128 kOverrideUseGLWithOSMesaForTests, | 128 kOverrideUseGLWithOSMesaForTests, |
| 129 kUseANGLE, | 129 kUseANGLE, |
| 130 kDisableDirectComposition, | 130 kDisableDirectComposition, |
| 131 kEnableSwapBuffersWithBounds, | 131 kEnableSwapBuffersWithBounds, |
| 132 }; | 132 }; |
| 133 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = | 133 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = |
| 134 arraysize(kGLSwitchesCopiedFromGpuProcessHost); | 134 arraysize(kGLSwitchesCopiedFromGpuProcessHost); |
| 135 | 135 |
| 136 } // namespace switches | 136 } // namespace switches |
| 137 |
| 138 namespace features { |
| 139 |
| 140 #if defined(OS_WIN) |
| 141 // Wait for D3D VSync signals in GPU process (as opposed to delay based VSync |
| 142 // generated in Browser process based on VSync parameters). |
| 143 const base::Feature kD3DVsync{"D3DVsync", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 144 #endif // defined(OS_WIN) |
| 145 |
| 146 } // namespace features |
| OLD | NEW |