| 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 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 } // namespace gfx | 30 } // namespace gfx |
| 31 | 31 |
| 32 namespace switches { | 32 namespace switches { |
| 33 | 33 |
| 34 GL_EXPORT extern const char kDisableD3D11[]; | 34 GL_EXPORT extern const char kDisableD3D11[]; |
| 35 GL_EXPORT extern const char kDisableGpuVsync[]; | 35 GL_EXPORT extern const char kDisableGpuVsync[]; |
| 36 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 36 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
| 37 GL_EXPORT extern const char kEnableGPUServiceTracing[]; | 37 GL_EXPORT extern const char kEnableGPUServiceTracing[]; |
| 38 GL_EXPORT extern const char kGpuNoContextLost[]; | 38 GL_EXPORT extern const char kGpuNoContextLost[]; |
| 39 GL_EXPORT extern const char kUseDirectComposition[]; | 39 GL_EXPORT extern const char kDisableDirectComposition[]; |
| 40 | 40 |
| 41 GL_EXPORT extern const char kSupportsDualGpus[]; | 41 GL_EXPORT extern const char kSupportsDualGpus[]; |
| 42 | 42 |
| 43 GL_EXPORT extern const char kUseANGLE[]; | 43 GL_EXPORT extern const char kUseANGLE[]; |
| 44 GL_EXPORT extern const char kUseGL[]; | 44 GL_EXPORT extern const char kUseGL[]; |
| 45 GL_EXPORT extern const char kSwiftShaderPath[]; | 45 GL_EXPORT extern const char kSwiftShaderPath[]; |
| 46 GL_EXPORT extern const char kTestGLLib[]; | 46 GL_EXPORT extern const char kTestGLLib[]; |
| 47 GL_EXPORT extern const char kUseGpuInTests[]; | 47 GL_EXPORT extern const char kUseGpuInTests[]; |
| 48 GL_EXPORT extern const char kEnableUnsafeES3APIs[]; | 48 GL_EXPORT extern const char kEnableUnsafeES3APIs[]; |
| 49 GL_EXPORT extern const char kDisableGLExtensions[]; | 49 GL_EXPORT extern const char kDisableGLExtensions[]; |
| 50 | 50 |
| 51 // These flags are used by the test harness code, not passed in by users. | 51 // These flags are used by the test harness code, not passed in by users. |
| 52 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 52 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
| 53 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; | 53 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; |
| 54 | 54 |
| 55 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 55 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
| 56 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 56 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
| 57 | 57 |
| 58 } // namespace switches | 58 } // namespace switches |
| 59 | 59 |
| 60 #endif // UI_GL_GL_SWITCHES_H_ | 60 #endif // UI_GL_GL_SWITCHES_H_ |
| OLD | NEW |