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

Unified Diff: ui/gl/gl_switches.cc

Issue 2690113010: Abstract OSMesa from the Layout tests (Closed)
Patch Set: Renamed "Renderer" to "GL" 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_switches.h ('k') | ui/gl/init/gl_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_switches.cc
diff --git a/ui/gl/gl_switches.cc b/ui/gl/gl_switches.cc
index 3fabe5c7432a56189ad7c01048712d463da76bea..8171048e524dca92189303679970319a6217bb59 100644
--- a/ui/gl/gl_switches.cc
+++ b/ui/gl/gl_switches.cc
@@ -68,6 +68,7 @@ const char kUseANGLE[] = "use-angle";
// egl: whatever EGL / GLES2 the user has installed (Windows default - actually
// ANGLE).
// osmesa: The OSMesa software renderer.
+// swiftshader: The SwiftShader software renderer.
const char kUseGL[] = "use-gl";
const char kSwiftShaderPath[] = "swiftshader-path";
@@ -104,9 +105,9 @@ const char kEnableSgiVideoSync[] = "enable-sgi-video-sync";
// the GL output will not be correct but tests will run faster.
const char kDisableGLDrawingForTests[] = "disable-gl-drawing-for-tests";
-// Forces the use of OSMesa instead of hardware gpu.
-const char kOverrideUseGLWithOSMesaForTests[] =
- "override-use-gl-with-osmesa-for-tests";
+// Forces the use of software GL instead of hardware gpu.
+const char kOverrideUseSoftwareGLForTests[] =
+ "override-use-software-gl-for-tests";
// Disables specified comma separated GL Extensions if found.
const char kDisableGLExtensions[] = "disable-gl-extensions";
@@ -125,7 +126,7 @@ const char* kGLSwitchesCopiedFromGpuProcessHost[] = {
kEnableSgiVideoSync,
kGpuNoContextLost,
kDisableGLDrawingForTests,
- kOverrideUseGLWithOSMesaForTests,
+ kOverrideUseSoftwareGLForTests,
kUseANGLE,
kDisableDirectComposition,
kEnableSwapBuffersWithBounds,
« no previous file with comments | « ui/gl/gl_switches.h ('k') | ui/gl/init/gl_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698