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 #include "base/macros.h" |
5 #include "ui/gl/gl_switches.h" | 6 #include "ui/gl/gl_switches.h" |
6 #include "base/basictypes.h" | |
7 | 7 |
8 namespace gfx { | 8 namespace gfx { |
9 | 9 |
10 const char kGLImplementationDesktopName[] = "desktop"; | 10 const char kGLImplementationDesktopName[] = "desktop"; |
11 const char kGLImplementationOSMesaName[] = "osmesa"; | 11 const char kGLImplementationOSMesaName[] = "osmesa"; |
12 const char kGLImplementationAppleName[] = "apple"; | 12 const char kGLImplementationAppleName[] = "apple"; |
13 const char kGLImplementationEGLName[] = "egl"; | 13 const char kGLImplementationEGLName[] = "egl"; |
14 const char kGLImplementationSwiftShaderName[] = "swiftshader"; | 14 const char kGLImplementationSwiftShaderName[] = "swiftshader"; |
15 const char kGLImplementationMockName[] = "mock"; | 15 const char kGLImplementationMockName[] = "mock"; |
16 | 16 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 kGpuNoContextLost, | 102 kGpuNoContextLost, |
103 kDisableGLDrawingForTests, | 103 kDisableGLDrawingForTests, |
104 kOverrideUseGLWithOSMesaForTests, | 104 kOverrideUseGLWithOSMesaForTests, |
105 kUseANGLE, | 105 kUseANGLE, |
106 }; | 106 }; |
107 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = | 107 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = |
108 arraysize(kGLSwitchesCopiedFromGpuProcessHost); | 108 arraysize(kGLSwitchesCopiedFromGpuProcessHost); |
109 | 109 |
110 } // namespace switches | 110 } // namespace switches |
111 | 111 |
OLD | NEW |