| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 // The GPU switching names that can be passed to --gpu-switching. | 36 // The GPU switching names that can be passed to --gpu-switching. |
| 37 GL_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[]; | 37 GL_EXPORT extern const char kGpuSwitchingOptionNameForceIntegrated[]; |
| 38 GL_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[]; | 38 GL_EXPORT extern const char kGpuSwitchingOptionNameForceDiscrete[]; |
| 39 // The last one (automatic) is not used as commandline switch option. | 39 // The last one (automatic) is not used as commandline switch option. |
| 40 GL_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; | 40 GL_EXPORT extern const char kGpuSwitchingOptionNameAutomatic[]; |
| 41 | 41 |
| 42 GL_EXPORT extern const char kUseGL[]; | 42 GL_EXPORT extern const char kUseGL[]; |
| 43 GL_EXPORT extern const char kSwiftShaderPath[]; | 43 GL_EXPORT extern const char kSwiftShaderPath[]; |
| 44 GL_EXPORT extern const char kTestGLLib[]; | 44 GL_EXPORT extern const char kTestGLLib[]; |
| 45 GL_EXPORT extern const char kUseGpuInTests[]; |
| 46 |
| 47 // These flags are used by the test harness code, not passed in by users. |
| 45 GL_EXPORT extern const char kDisableGLDrawingForTests[]; | 48 GL_EXPORT extern const char kDisableGLDrawingForTests[]; |
| 46 GL_EXPORT extern const char kUseGpuInTests[]; | 49 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[]; |
| 47 | 50 |
| 48 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; | 51 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[]; |
| 49 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; | 52 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches; |
| 50 | 53 |
| 51 } // namespace switches | 54 } // namespace switches |
| 52 | 55 |
| 53 #endif // UI_GL_GL_SWITCHES_H_ | 56 #endif // UI_GL_GL_SWITCHES_H_ |
| OLD | NEW |