| 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 13 matching lines...) Expand all Loading... |
| 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 GL_EXPORT extern const char kANGLEImplementationNullName[]; | 28 GL_EXPORT extern const char kANGLEImplementationNullName[]; |
| 29 | 29 |
| 30 } // namespace gl | 30 } // namespace gl |
| 31 | 31 |
| 32 namespace switches { | 32 namespace switches { |
| 33 | 33 |
| 34 GL_EXPORT extern const char kCreateDefaultGLContext[]; |
| 34 GL_EXPORT extern const char kDisableD3D11[]; | 35 GL_EXPORT extern const char kDisableD3D11[]; |
| 35 GL_EXPORT extern const char kDisableES3GLContext[]; | 36 GL_EXPORT extern const char kDisableES3GLContext[]; |
| 36 GL_EXPORT extern const char kDisableGpuVsync[]; | 37 GL_EXPORT extern const char kDisableGpuVsync[]; |
| 37 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 38 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
| 38 GL_EXPORT extern const char kEnableGPUServiceTracing[]; | 39 GL_EXPORT extern const char kEnableGPUServiceTracing[]; |
| 39 GL_EXPORT extern const char kGpuNoContextLost[]; | 40 GL_EXPORT extern const char kGpuNoContextLost[]; |
| 40 GL_EXPORT extern const char kDisableDirectComposition[]; | 41 GL_EXPORT extern const char kDisableDirectComposition[]; |
| 41 | 42 |
| 42 GL_EXPORT extern const char kSupportsDualGpus[]; | 43 GL_EXPORT extern const char kSupportsDualGpus[]; |
| 43 | 44 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 55 // These flags are used by the test harness code, not passed in by users. | 56 // These flags are used by the test harness code, not passed in by users. |
| 56 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 57 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
| 57 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; | 58 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; |
| 58 | 59 |
| 59 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 60 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
| 60 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 61 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
| 61 | 62 |
| 62 } // namespace switches | 63 } // namespace switches |
| 63 | 64 |
| 64 #endif // UI_GL_GL_SWITCHES_H_ | 65 #endif // UI_GL_GL_SWITCHES_H_ |
| OLD | NEW |