| 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" |
| 11 | 11 |
| 12 namespace gfx { | 12 namespace gl { |
| 13 | 13 |
| 14 // The GL implementation names that can be passed to --use-gl. | 14 // The GL implementation names that can be passed to --use-gl. |
| 15 GL_EXPORT extern const char kGLImplementationDesktopName[]; | 15 GL_EXPORT extern const char kGLImplementationDesktopName[]; |
| 16 GL_EXPORT extern const char kGLImplementationOSMesaName[]; | 16 GL_EXPORT extern const char kGLImplementationOSMesaName[]; |
| 17 GL_EXPORT extern const char kGLImplementationAppleName[]; | 17 GL_EXPORT extern const char kGLImplementationAppleName[]; |
| 18 GL_EXPORT extern const char kGLImplementationEGLName[]; | 18 GL_EXPORT extern const char kGLImplementationEGLName[]; |
| 19 GL_EXPORT extern const char kGLImplementationANGLEName[]; | 19 GL_EXPORT extern const char kGLImplementationANGLEName[]; |
| 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 GL_EXPORT extern const char kANGLEImplementationDefaultName[]; | 23 GL_EXPORT extern const char kANGLEImplementationDefaultName[]; |
| 24 GL_EXPORT extern const char kANGLEImplementationD3D9Name[]; | 24 GL_EXPORT extern const char kANGLEImplementationD3D9Name[]; |
| 25 GL_EXPORT extern const char kANGLEImplementationD3D11Name[]; | 25 GL_EXPORT extern const char kANGLEImplementationD3D11Name[]; |
| 26 GL_EXPORT extern const char kANGLEImplementationOpenGLName[]; | 26 GL_EXPORT extern const char kANGLEImplementationOpenGLName[]; |
| 27 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[]; | 27 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[]; |
| 28 | 28 |
| 29 } // namespace gfx | 29 } // namespace gl |
| 30 | 30 |
| 31 namespace switches { | 31 namespace switches { |
| 32 | 32 |
| 33 GL_EXPORT extern const char kDisableD3D11[]; | 33 GL_EXPORT extern const char kDisableD3D11[]; |
| 34 GL_EXPORT extern const char kDisableGpuVsync[]; | 34 GL_EXPORT extern const char kDisableGpuVsync[]; |
| 35 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 35 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
| 36 GL_EXPORT extern const char kEnableGPUServiceTracing[]; | 36 GL_EXPORT extern const char kEnableGPUServiceTracing[]; |
| 37 GL_EXPORT extern const char kGpuNoContextLost[]; | 37 GL_EXPORT extern const char kGpuNoContextLost[]; |
| 38 GL_EXPORT extern const char kDisableDirectComposition[]; | 38 GL_EXPORT extern const char kDisableDirectComposition[]; |
| 39 | 39 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 50 // These flags are used by the test harness code, not passed in by users. | 50 // These flags are used by the test harness code, not passed in by users. |
| 51 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 51 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
| 52 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; | 52 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; |
| 53 | 53 |
| 54 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 54 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
| 55 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 55 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
| 56 | 56 |
| 57 } // namespace switches | 57 } // namespace switches |
| 58 | 58 |
| 59 #endif // UI_GL_GL_SWITCHES_H_ | 59 #endif // UI_GL_GL_SWITCHES_H_ |
| OLD | NEW |