| 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 kGpuNoContextLost[]; | 39 GL_EXPORT extern const char kGpuNoContextLost[]; |
| 40 GL_EXPORT extern const char kDisableDirectComposition[]; | 40 GL_EXPORT extern const char kDisableDirectComposition[]; |
| 41 | 41 |
| 42 GL_EXPORT extern const char kSupportsDualGpus[]; | 42 GL_EXPORT extern const char kSupportsDualGpus[]; |
| 43 | 43 |
| 44 GL_EXPORT extern const char kUseANGLE[]; | 44 GL_EXPORT extern const char kUseANGLE[]; |
| 45 GL_EXPORT extern const char kUseGL[]; | 45 GL_EXPORT extern const char kUseGL[]; |
| 46 GL_EXPORT extern const char kSwiftShaderPath[]; | 46 GL_EXPORT extern const char kSwiftShaderPath[]; |
| 47 GL_EXPORT extern const char kTestGLLib[]; | 47 GL_EXPORT extern const char kTestGLLib[]; |
| 48 GL_EXPORT extern const char kUseGpuInTests[]; | 48 GL_EXPORT extern const char kUseGpuInTests[]; |
| 49 GL_EXPORT extern const char kEnableUnsafeES3APIs[]; | |
| 50 GL_EXPORT extern const char kEnableSgiVideoSync[]; | 49 GL_EXPORT extern const char kEnableSgiVideoSync[]; |
| 51 GL_EXPORT extern const char kDisableGLExtensions[]; | 50 GL_EXPORT extern const char kDisableGLExtensions[]; |
| 52 GL_EXPORT extern const char kEnableSwapBuffersWithDamage[]; | 51 GL_EXPORT extern const char kEnableSwapBuffersWithDamage[]; |
| 53 | 52 |
| 54 // These flags are used by the test harness code, not passed in by users. | 53 // These flags are used by the test harness code, not passed in by users. |
| 55 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 54 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
| 56 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; | 55 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; |
| 57 | 56 |
| 58 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 57 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
| 59 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 58 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
| 60 | 59 |
| 61 } // namespace switches | 60 } // namespace switches |
| 62 | 61 |
| 63 #endif // UI_GL_GL_SWITCHES_H_ | 62 #endif // UI_GL_GL_SWITCHES_H_ |
| OLD | NEW |