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

Unified Diff: chrome/test/test_launcher_utils.cc

Issue 4716002: Made OSMesa work on Mac for WebGL.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month 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/test/gpu/gpu_uitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/test_launcher_utils.cc
===================================================================
--- chrome/test/test_launcher_utils.cc (revision 65262)
+++ chrome/test/test_launcher_utils.cc (working copy)
@@ -33,12 +33,13 @@
command_line->AppendSwitch(switches::kEnableLogging);
command_line->AppendSwitchASCII(switches::kLoggingLevel, "1"); // warning
- // TODO(apatrick): Other pending changes will fix this for mac.
-#if !defined(OS_MACOSX)
// Force all tests to use OSMesa if they launch the GPU process.
command_line->AppendSwitchASCII(switches::kUseGL,
gfx::kGLImplementationOSMesaName);
-#endif
+
+ // Mac does not support accelerated compositing with OSMesa.
+ // http://crbug.com/58343
+ command_line->AppendSwitch(switches::kDisableAcceleratedCompositing);
}
bool OverrideUserDataDir(const FilePath& user_data_dir) {
« no previous file with comments | « chrome/test/gpu/gpu_uitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698