| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 const char kEnableSwapBuffersWithDamage[] = "enable-swap-buffers-with-damage"; | 109 const char kEnableSwapBuffersWithDamage[] = "enable-swap-buffers-with-damage"; |
| 110 | 110 |
| 111 // This is the list of switches passed from this file that are passed from the | 111 // This is the list of switches passed from this file that are passed from the |
| 112 // GpuProcessHost to the GPU Process. Add your switch to this list if you need | 112 // GpuProcessHost to the GPU Process. Add your switch to this list if you need |
| 113 // to read it in the GPU process, else don't add it. | 113 // to read it in the GPU process, else don't add it. |
| 114 const char* kGLSwitchesCopiedFromGpuProcessHost[] = { | 114 const char* kGLSwitchesCopiedFromGpuProcessHost[] = { |
| 115 kDisableGpuVsync, | 115 kDisableGpuVsync, |
| 116 kDisableD3D11, | 116 kDisableD3D11, |
| 117 kEnableGPUServiceLogging, | 117 kEnableGPUServiceLogging, |
| 118 kEnableGPUServiceTracing, | 118 kEnableGPUServiceTracing, |
| 119 kEnableUnsafeES3APIs, | |
| 120 kDisableES3APIs, | |
| 121 kEnableSgiVideoSync, | 119 kEnableSgiVideoSync, |
| 122 kGpuNoContextLost, | 120 kGpuNoContextLost, |
| 123 kDisableGLDrawingForTests, | 121 kDisableGLDrawingForTests, |
| 124 kOverrideUseGLWithOSMesaForTests, | 122 kOverrideUseGLWithOSMesaForTests, |
| 125 kUseANGLE, | 123 kUseANGLE, |
| 126 kDisableDirectComposition, | 124 kDisableDirectComposition, |
| 127 kEnableSwapBuffersWithDamage, | 125 kEnableSwapBuffersWithDamage, |
| 128 }; | 126 }; |
| 129 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = | 127 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = |
| 130 arraysize(kGLSwitchesCopiedFromGpuProcessHost); | 128 arraysize(kGLSwitchesCopiedFromGpuProcessHost); |
| 131 | 129 |
| 132 } // namespace switches | 130 } // namespace switches |
| OLD | NEW |