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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: Feedback + add rest of logic back in Created 3 years, 11 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/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 4546d52b7e3824a30aa9fc838f8434555224e975..352799b3df1212d99a9206c001367446b92fe706 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1572,9 +1572,6 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
switches::kNumRasterThreads,
base::IntToString(NumberOfRendererRasterThreads()));
- if (IsGpuRasterizationEnabled())
- command_line->AppendSwitch(switches::kEnableGpuRasterization);
-
if (IsAsyncWorkerContextEnabled())
command_line->AppendSwitch(switches::kEnableGpuAsyncWorkerContext);
@@ -1589,9 +1586,6 @@ static void AppendCompositorCommandLineFlags(base::CommandLine* command_line) {
if (!IsPartialRasterEnabled())
command_line->AppendSwitch(switches::kDisablePartialRaster);
- if (IsForceGpuRasterizationEnabled())
- command_line->AppendSwitch(switches::kForceGpuRasterization);
-
if (IsGpuMemoryBufferCompositorResourcesEnabled()) {
command_line->AppendSwitch(
switches::kEnableGpuMemoryBufferCompositorResources);
@@ -1771,6 +1765,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kForceDeviceScaleFactor,
switches::kForceDisplayList2dCanvas,
switches::kForceGpuMemAvailableMb,
+ switches::kForceGpuRasterization,
switches::kEnableCanvas2dDynamicRenderingModeSwitching,
switches::kForceOverlayFullscreenVideo,
switches::kFullMemoryCrashReport,

Powered by Google App Engine
This is Rietveld 408576698