Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Side by Side Diff: ui/gl/gl_switches.cc

Issue 2680423002: Introducing 2 usages for SwiftShader (Closed)
Patch Set: Added missing change to GpuDataManagerImplPrivate Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "base/macros.h"
6 #include "ui/gl/gl_switches.h" 6 #include "ui/gl/gl_switches.h"
7 7
8 namespace gl { 8 namespace gl {
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 kGLImplementationANGLEName[] = "angle"; 14 const char kGLImplementationANGLEName[] = "angle";
15 const char kGLImplementationSwiftShaderName[] = "swiftshader"; 15 const char kGLImplementationSwiftShaderName[] = "swiftshader";
16 const char kGLImplementationSwiftShaderForWebGLName[] = "swiftshader-webgl";
16 const char kGLImplementationMockName[] = "mock"; 17 const char kGLImplementationMockName[] = "mock";
17 const char kGLImplementationStubName[] = "stub"; 18 const char kGLImplementationStubName[] = "stub";
18 19
19 const char kANGLEImplementationDefaultName[] = "default"; 20 const char kANGLEImplementationDefaultName[] = "default";
20 const char kANGLEImplementationD3D9Name[] = "d3d9"; 21 const char kANGLEImplementationD3D9Name[] = "d3d9";
21 const char kANGLEImplementationD3D11Name[] = "d3d11"; 22 const char kANGLEImplementationD3D11Name[] = "d3d11";
22 const char kANGLEImplementationOpenGLName[] = "gl"; 23 const char kANGLEImplementationOpenGLName[] = "gl";
23 const char kANGLEImplementationOpenGLESName[] = "gles"; 24 const char kANGLEImplementationOpenGLESName[] = "gles";
24 const char kANGLEImplementationNullName[] = "null"; 25 const char kANGLEImplementationNullName[] = "null";
25 26
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 kDisableGLDrawingForTests, 127 kDisableGLDrawingForTests,
127 kOverrideUseGLWithOSMesaForTests, 128 kOverrideUseGLWithOSMesaForTests,
128 kUseANGLE, 129 kUseANGLE,
129 kDisableDirectComposition, 130 kDisableDirectComposition,
130 kEnableSwapBuffersWithBounds, 131 kEnableSwapBuffersWithBounds,
131 }; 132 };
132 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches = 133 const int kGLSwitchesCopiedFromGpuProcessHostNumSwitches =
133 arraysize(kGLSwitchesCopiedFromGpuProcessHost); 134 arraysize(kGLSwitchesCopiedFromGpuProcessHost);
134 135
135 } // namespace switches 136 } // namespace switches
OLDNEW
« ui/gl/gl_implementation.cc ('K') | « ui/gl/gl_switches.h ('k') | ui/gl/init/gl_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698