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 // Defines all the command-line switches used by ui/gfx/gl. | 5 #ifndef UI_GL_GL_SWITCHES_H_ |
6 | 6 #define UI_GL_GL_SWITCHES_H_ |
7 #ifndef UI_GFX_GL_GL_SWITCHES_H_ | |
8 #define UI_GFX_GL_GL_SWITCHES_H_ | |
9 #pragma once | 7 #pragma once |
10 | 8 |
11 #include "ui/gfx/gl/gl_export.h" | 9 // Defines all the command-line switches used by ui/gl. |
| 10 |
| 11 #include "ui/gl/gl_export.h" |
12 | 12 |
13 namespace gfx { | 13 namespace gfx { |
14 | 14 |
15 // The GL implementation names that can be passed to --use-gl. | 15 // The GL implementation names that can be passed to --use-gl. |
16 GL_EXPORT extern const char kGLImplementationDesktopName[]; | 16 GL_EXPORT extern const char kGLImplementationDesktopName[]; |
17 GL_EXPORT extern const char kGLImplementationOSMesaName[]; | 17 GL_EXPORT extern const char kGLImplementationOSMesaName[]; |
18 GL_EXPORT extern const char kGLImplementationAppleName[]; | 18 GL_EXPORT extern const char kGLImplementationAppleName[]; |
19 GL_EXPORT extern const char kGLImplementationEGLName[]; | 19 GL_EXPORT extern const char kGLImplementationEGLName[]; |
20 GL_EXPORT extern const char kGLImplementationSwiftShaderName[]; | 20 GL_EXPORT extern const char kGLImplementationSwiftShaderName[]; |
21 extern const char kGLImplementationMockName[]; | 21 extern const char kGLImplementationMockName[]; |
22 | 22 |
23 } // namespace gfx | 23 } // namespace gfx |
24 | 24 |
25 namespace switches { | 25 namespace switches { |
26 | 26 |
27 GL_EXPORT extern const char kDisableGpuSwitching[]; | 27 GL_EXPORT extern const char kDisableGpuSwitching[]; |
28 GL_EXPORT extern const char kDisableGpuVsync[]; | 28 GL_EXPORT extern const char kDisableGpuVsync[]; |
29 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 29 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
30 GL_EXPORT extern const char kEnableGPUClientLogging[]; | 30 GL_EXPORT extern const char kEnableGPUClientLogging[]; |
31 GL_EXPORT extern const char kGpuNoContextLost[]; | 31 GL_EXPORT extern const char kGpuNoContextLost[]; |
32 GL_EXPORT extern const char kGpuSwapDelay[]; | 32 GL_EXPORT extern const char kGpuSwapDelay[]; |
33 GL_EXPORT extern const char kUseGL[]; | 33 GL_EXPORT extern const char kUseGL[]; |
34 GL_EXPORT extern const char kSwiftShaderPath[]; | 34 GL_EXPORT extern const char kSwiftShaderPath[]; |
35 GL_EXPORT extern const char kTestGLLib[]; | 35 GL_EXPORT extern const char kTestGLLib[]; |
36 | 36 |
37 } // namespace switches | 37 } // namespace switches |
38 | 38 |
39 #endif // UI_GFX_GL_GL_SWITCHES_H_ | 39 #endif // UI_GL_GL_SWITCHES_H_ |
OLD | NEW |