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 "base/feature_list.h" | 10 #include "base/feature_list.h" |
(...skipping 29 matching lines...) Expand all Loading... |
40 GL_EXPORT extern const char kDisableGpuVsync[]; | 40 GL_EXPORT extern const char kDisableGpuVsync[]; |
41 GL_EXPORT extern const char kEnableGPUServiceLogging[]; | 41 GL_EXPORT extern const char kEnableGPUServiceLogging[]; |
42 GL_EXPORT extern const char kEnableGPUServiceTracing[]; | 42 GL_EXPORT extern const char kEnableGPUServiceTracing[]; |
43 GL_EXPORT extern const char kGpuNoContextLost[]; | 43 GL_EXPORT extern const char kGpuNoContextLost[]; |
44 GL_EXPORT extern const char kDisableDirectComposition[]; | 44 GL_EXPORT extern const char kDisableDirectComposition[]; |
45 | 45 |
46 GL_EXPORT extern const char kSupportsDualGpus[]; | 46 GL_EXPORT extern const char kSupportsDualGpus[]; |
47 | 47 |
48 GL_EXPORT extern const char kUseANGLE[]; | 48 GL_EXPORT extern const char kUseANGLE[]; |
49 GL_EXPORT extern const char kUseGL[]; | 49 GL_EXPORT extern const char kUseGL[]; |
50 GL_EXPORT extern const char kSwiftShaderPath[]; | |
51 GL_EXPORT extern const char kTestGLLib[]; | 50 GL_EXPORT extern const char kTestGLLib[]; |
52 GL_EXPORT extern const char kUseGpuInTests[]; | 51 GL_EXPORT extern const char kUseGpuInTests[]; |
53 GL_EXPORT extern const char kEnableES3APIs[]; | 52 GL_EXPORT extern const char kEnableES3APIs[]; |
54 GL_EXPORT extern const char kDisableES3APIs[]; | 53 GL_EXPORT extern const char kDisableES3APIs[]; |
55 GL_EXPORT extern const char kEnableSgiVideoSync[]; | 54 GL_EXPORT extern const char kEnableSgiVideoSync[]; |
56 GL_EXPORT extern const char kDisableGLExtensions[]; | 55 GL_EXPORT extern const char kDisableGLExtensions[]; |
57 GL_EXPORT extern const char kEnableSwapBuffersWithBounds[]; | 56 GL_EXPORT extern const char kEnableSwapBuffersWithBounds[]; |
58 | 57 |
59 // These flags are used by the test harness code, not passed in by users. | 58 // These flags are used by the test harness code, not passed in by users. |
60 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 59 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
61 GL_EXPORT extern const char kOverrideUseSoftwareGLForTests[]; | 60 GL_EXPORT extern const char kOverrideUseSoftwareGLForTests[]; |
62 | 61 |
63 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 62 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
64 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 63 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
65 | 64 |
66 } // namespace switches | 65 } // namespace switches |
67 | 66 |
68 namespace features { | 67 namespace features { |
69 | 68 |
70 #if defined(OS_WIN) | 69 #if defined(OS_WIN) |
71 GL_EXPORT extern const base::Feature kD3DVsync; | 70 GL_EXPORT extern const base::Feature kD3DVsync; |
72 #endif // defined(OS_WIN) | 71 #endif // defined(OS_WIN) |
73 | 72 |
74 } // namespace features | 73 } // namespace features |
75 | 74 |
76 #endif // UI_GL_GL_SWITCHES_H_ | 75 #endif // UI_GL_GL_SWITCHES_H_ |
OLD | NEW |