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

Unified Diff: chrome/browser/gpu_crash_browsertest.cc

Issue 8347007: Used use-gl=any instead of forcing osmesa for gpu browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 2 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 | « chrome/browser/gpu_browsertest.cc ('k') | chrome/browser/gpu_pixel_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gpu_crash_browsertest.cc
===================================================================
--- chrome/browser/gpu_crash_browsertest.cc (revision 106080)
+++ chrome/browser/gpu_crash_browsertest.cc (working copy)
@@ -35,17 +35,9 @@
EnableDOMAutomation();
InProcessBrowserTest::SetUpCommandLine(command_line);
- // OverrideGLImplementation and kDisableAcceleratedCompositing for
- // OS_MACOSX are Taken verbatim from gpu_pixel_browsertest.cc and
- // gpu_browsertest.cc.
- EXPECT_TRUE(test_launcher_utils::OverrideGLImplementation(
- command_line,
- gfx::kGLImplementationOSMesaName));
-#if defined(OS_MACOSX)
- // Accelerated compositing does not work with OSMesa. AcceleratedSurface
- // assumes GL contexts are native.
- command_line->AppendSwitch(switches::kDisableAcceleratedCompositing);
-#endif
+ // GPU tests require gpu acceleration.
+ // We do not care which GL backend is used.
+ command_line->AppendSwitchASCII(switches::kUseGL, "any");
}
virtual void SetUpInProcessBrowserTestFixture() {
FilePath test_dir;
« no previous file with comments | « chrome/browser/gpu_browsertest.cc ('k') | chrome/browser/gpu_pixel_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698