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

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

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build 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 | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 79eeee2ffcf4a1e6665a8871fc4bfd83e2e16baa..358962c4bc2739f9f002001d08bd12b5975d069a 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1589,9 +1589,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);
@@ -1606,9 +1603,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);
@@ -1788,6 +1782,7 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer(
switches::kForceDeviceScaleFactor,
switches::kForceDisplayList2dCanvas,
switches::kForceGpuMemAvailableMb,
+ switches::kForceGpuRasterization,
switches::kEnableCanvas2dDynamicRenderingModeSwitching,
switches::kForceOverlayFullscreenVideo,
switches::kFullMemoryCrashReport,
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/common/gpu_host_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698