Add ICU message format support
[chromium-blink-merge.git] / ui / gl / gl_switches.h
blob05767db23434be1dd4c8ea51a2fa5c48b22631bd
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
3 // found in the LICENSE file.
5 #ifndef UI_GL_GL_SWITCHES_H_
6 #define UI_GL_GL_SWITCHES_H_
8 // Defines all the command-line switches used by ui/gl.
10 #include "ui/gl/gl_export.h"
12 namespace gfx {
14 // The GL implementation names that can be passed to --use-gl.
15 GL_EXPORT extern const char kGLImplementationDesktopName[];
16 GL_EXPORT extern const char kGLImplementationOSMesaName[];
17 GL_EXPORT extern const char kGLImplementationAppleName[];
18 GL_EXPORT extern const char kGLImplementationEGLName[];
19 GL_EXPORT extern const char kGLImplementationSwiftShaderName[];
20 extern const char kGLImplementationMockName[];
22 GL_EXPORT extern const char kANGLEImplementationDefaultName[];
23 GL_EXPORT extern const char kANGLEImplementationD3D9Name[];
24 GL_EXPORT extern const char kANGLEImplementationD3D11Name[];
25 GL_EXPORT extern const char kANGLEImplementationWARPName[];
26 GL_EXPORT extern const char kANGLEImplementationOpenGLName[];
27 GL_EXPORT extern const char kANGLEImplementationOpenGLESName[];
29 } // namespace gfx
31 namespace switches {
33 GL_EXPORT extern const char kDisableD3D11[];
34 GL_EXPORT extern const char kDisableGpuVsync[];
35 GL_EXPORT extern const char kEnableGPUServiceLogging[];
36 GL_EXPORT extern const char kEnableGPUServiceTracing[];
37 GL_EXPORT extern const char kGpuNoContextLost[];
39 GL_EXPORT extern const char kSupportsDualGpus[];
41 GL_EXPORT extern const char kUseANGLE[];
42 GL_EXPORT extern const char kUseGL[];
43 GL_EXPORT extern const char kSwiftShaderPath[];
44 GL_EXPORT extern const char kTestGLLib[];
45 GL_EXPORT extern const char kUseGpuInTests[];
46 GL_EXPORT extern const char kEnableUnsafeES3APIs[];
47 GL_EXPORT extern const char kDisableGLExtensions[];
49 // These flags are used by the test harness code, not passed in by users.
50 GL_EXPORT extern const char kDisableGLDrawingForTests[];
51 GL_EXPORT extern const char kOverrideUseGLWithOSMesaForTests[];
53 GL_EXPORT extern const char* kGLSwitchesCopiedFromGpuProcessHost[];
54 GL_EXPORT extern const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches;
56 } // namespace switches
58 #endif // UI_GL_GL_SWITCHES_H_