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 namespace gfx { |
| 12 |
| 13 // The GL implementation names that can be passed to --use-gl. |
| 14 extern const char kGLImplementationDesktopName[]; |
| 15 extern const char kGLImplementationOSMesaName[]; |
| 16 extern const char kGLImplementationEGLName[]; |
| 17 extern const char kGLImplementationMockName[]; |
| 18 |
| 19 } // namespace gfx |
| 20 |
11 namespace switches { | 21 namespace switches { |
12 | 22 |
13 extern const char kDisableGpuVsync[]; | 23 extern const char kDisableGpuVsync[]; |
14 extern const char kUseGL[]; | 24 extern const char kUseGL[]; |
15 extern const char kEnableGPUServiceLogging[]; | 25 extern const char kEnableGPUServiceLogging[]; |
16 extern const char kEnableGPUClientLogging[]; | 26 extern const char kEnableGPUClientLogging[]; |
17 | 27 |
18 } // namespace switches | 28 } // namespace switches |
19 | 29 |
20 #endif // UI_GFX_GL_GL_SWITCHES_H_ | 30 #endif // UI_GFX_GL_GL_SWITCHES_H_ |
OLD | NEW |