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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 7967020: Implement --use-gl=any (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 3 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
Index: content/browser/gpu/gpu_process_host.cc
===================================================================
--- content/browser/gpu/gpu_process_host.cc (revision 102160)
+++ content/browser/gpu/gpu_process_host.cc (working copy)
@@ -557,8 +557,7 @@
switches::kGpuNoContextLost,
switches::kGpuStartupDialog,
switches::kLoggingLevel,
- switches::kNoSandbox,
- switches::kUseGL,
+ switches::kNoSandbox
};
cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
arraysize(kSwitchNames));
@@ -569,9 +568,7 @@
!cmd_line->HasSwitch(switches::kDisableBreakpad))
cmd_line->AppendSwitch(switches::kDisableBreakpad);
- GpuFeatureFlags flags = GpuDataManager::GetInstance()->GetGpuFeatureFlags();
- if (flags.flags() & GpuFeatureFlags::kGpuFeatureMultisampling)
- cmd_line->AppendSwitch(switches::kDisableGLMultisampling);
+ GpuDataManager::GetInstance()->AppendGpuCommandLine(cmd_line);
// If specified, prepend a launcher program to the command line.
if (!gpu_launcher.empty())

Powered by Google App Engine
This is Rietveld 408576698