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 28 matching lines...) Expand all Loading... |
39 GL_EXPORT extern const char kDisableGpuVsync[]; | 39 GL_EXPORT extern const char kDisableGpuVsync[]; |
40 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 40 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
41 GL_EXPORT extern const char kEnableGPUServiceTracing[]; | 41 GL_EXPORT extern const char kEnableGPUServiceTracing[]; |
42 GL_EXPORT extern const char kGpuNoContextLost[]; | 42 GL_EXPORT extern const char kGpuNoContextLost[]; |
43 GL_EXPORT extern const char kDisableDirectComposition[]; | 43 GL_EXPORT extern const char kDisableDirectComposition[]; |
44 | 44 |
45 GL_EXPORT extern const char kSupportsDualGpus[]; | 45 GL_EXPORT extern const char kSupportsDualGpus[]; |
46 | 46 |
47 GL_EXPORT extern const char kUseANGLE[]; | 47 GL_EXPORT extern const char kUseANGLE[]; |
48 GL_EXPORT extern const char kUseGL[]; | 48 GL_EXPORT extern const char kUseGL[]; |
49 GL_EXPORT extern const char kSwiftShaderPath[]; | |
50 GL_EXPORT extern const char kTestGLLib[]; | 49 GL_EXPORT extern const char kTestGLLib[]; |
51 GL_EXPORT extern const char kUseGpuInTests[]; | 50 GL_EXPORT extern const char kUseGpuInTests[]; |
52 GL_EXPORT extern const char kEnableES3APIs[]; | 51 GL_EXPORT extern const char kEnableES3APIs[]; |
53 GL_EXPORT extern const char kDisableES3APIs[]; | 52 GL_EXPORT extern const char kDisableES3APIs[]; |
54 GL_EXPORT extern const char kEnableSgiVideoSync[]; | 53 GL_EXPORT extern const char kEnableSgiVideoSync[]; |
55 GL_EXPORT extern const char kDisableGLExtensions[]; | 54 GL_EXPORT extern const char kDisableGLExtensions[]; |
56 GL_EXPORT extern const char kEnableSwapBuffersWithBounds[]; | 55 GL_EXPORT extern const char kEnableSwapBuffersWithBounds[]; |
57 | 56 |
58 // These flags are used by the test harness code, not passed in by users. | 57 // These flags are used by the test harness code, not passed in by users. |
59 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 58 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
60 GL_EXPORT extern const char kOverrideUseSoftwareGLForTests[]; | 59 GL_EXPORT extern const char kOverrideUseSoftwareGLForTests[]; |
61 | 60 |
62 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 61 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
63 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 62 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
64 | 63 |
65 } // namespace switches | 64 } // namespace switches |
66 | 65 |
67 #endif // UI_GL_GL_SWITCHES_H_ | 66 #endif // UI_GL_GL_SWITCHES_H_ |
OLD | NEW |