OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // Defines all the command-line switches used by ui/gfx/gl. |
6 | 6 |
7 #ifndef UI_GFX_GL_GL_SWITCHES_H_ | 7 #ifndef UI_GFX_GL_GL_SWITCHES_H_ |
8 #define UI_GFX_GL_GL_SWITCHES_H_ | 8 #define UI_GFX_GL_GL_SWITCHES_H_ |
9 #pragma once | 9 #pragma once |
10 | 10 |
11 #include "ui/gfx/gl/gl_export.h" | 11 #include "ui/gfx/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 kGLImplementationEGLName[]; | 18 GL_EXPORT extern const char kGLImplementationEGLName[]; |
| 19 GL_EXPORT extern const char kGLImplementationAnyName[]; |
19 extern const char kGLImplementationMockName[]; | 20 extern const char kGLImplementationMockName[]; |
20 | 21 |
21 } // namespace gfx | 22 } // namespace gfx |
22 | 23 |
23 namespace switches { | 24 namespace switches { |
24 | 25 |
25 GL_EXPORT extern const char kDisableGpuVsync[]; | 26 GL_EXPORT extern const char kDisableGpuVsync[]; |
26 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 27 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
27 GL_EXPORT extern const char kEnableGPUClientLogging[]; | 28 GL_EXPORT extern const char kEnableGPUClientLogging[]; |
28 GL_EXPORT extern const char kGpuNoContextLost[]; | 29 GL_EXPORT extern const char kGpuNoContextLost[]; |
29 GL_EXPORT extern const char kUseGL[]; | 30 GL_EXPORT extern const char kUseGL[]; |
30 | 31 |
31 } // namespace switches | 32 } // namespace switches |
32 | 33 |
33 #endif // UI_GFX_GL_GL_SWITCHES_H_ | 34 #endif // UI_GFX_GL_GL_SWITCHES_H_ |
OLD | NEW |