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 #ifndef UI_GL_GL_SWITCHES_H_ | 5 #ifndef UI_GL_GL_SWITCHES_H_ |
6 #define UI_GL_GL_SWITCHES_H_ | 6 #define UI_GL_GL_SWITCHES_H_ |
7 | 7 |
8 // Defines all the command-line switches used by ui/gl. | 8 // Defines all the command-line switches used by ui/gl. |
9 | 9 |
10 #include "ui/gl/gl_export.h" | 10 #include "ui/gl/gl_export.h" |
(...skipping 11 matching lines...) Expand all Loading... |
22 } // namespace gfx | 22 } // namespace gfx |
23 | 23 |
24 namespace switches { | 24 namespace switches { |
25 | 25 |
26 GL_EXPORT extern const char kDisableGpuSwitching[]; | 26 GL_EXPORT extern const char kDisableGpuSwitching[]; |
27 GL_EXPORT extern const char kDisableGpuVsync[]; | 27 GL_EXPORT extern const char kDisableGpuVsync[]; |
28 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 28 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
29 GL_EXPORT extern const char kEnableGPUClientLogging[]; | 29 GL_EXPORT extern const char kEnableGPUClientLogging[]; |
30 GL_EXPORT extern const char kGpuNoContextLost[]; | 30 GL_EXPORT extern const char kGpuNoContextLost[]; |
31 GL_EXPORT extern const char kGpuSwapDelay[]; | 31 GL_EXPORT extern const char kGpuSwapDelay[]; |
| 32 |
| 33 GL_EXPORT extern const char kGpuSwitching[]; |
| 34 |
| 35 // The GPU switching names that can be passed to --gpu-switching. |
| 36 GL_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[]; |
| 37 GL_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[]; |
| 38 // The last one (automatic) is not used as commandline switch option. |
| 39 GL_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; |
| 40 |
32 GL_EXPORT extern const char kUseGL[]; | 41 GL_EXPORT extern const char kUseGL[]; |
33 GL_EXPORT extern const char kSwiftShaderPath[]; | 42 GL_EXPORT extern const char kSwiftShaderPath[]; |
34 GL_EXPORT extern const char kTestGLLib[]; | 43 GL_EXPORT extern const char kTestGLLib[]; |
35 | 44 |
36 } // namespace switches | 45 } // namespace switches |
37 | 46 |
38 #endif // UI_GL_GL_SWITCHES_H_ | 47 #endif // UI_GL_GL_SWITCHES_H_ |
OLD | NEW |