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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 73923003: Shared Raster Worker Threads (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Build Error for Mac, macro conflict, moving setter to WorkerPool. Created 6 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
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index 503867446bacbf70cdb15c9591d10fa2e1e51cb7..7828c2c01cf5cdf4da96937c45f205be56d9ebb1 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -218,16 +218,6 @@ scoped_ptr<RenderWidgetCompositor> RenderWidgetCompositor::Create(
&settings.initial_debug_state.slow_down_raster_scale_factor);
}
- if (cmd->HasSwitch(cc::switches::kNumRasterThreads)) {
- const int kMinRasterThreads = 1;
- const int kMaxRasterThreads = 64;
- int num_raster_threads;
- if (GetSwitchValueAsInt(*cmd, cc::switches::kNumRasterThreads,
- kMinRasterThreads, kMaxRasterThreads,
- &num_raster_threads))
- settings.num_raster_threads = num_raster_threads;
- }
-
if (cmd->HasSwitch(cc::switches::kMaxTilesForInterestArea)) {
int max_tiles_for_interest_area;
if (GetSwitchValueAsInt(*cmd,
« no previous file with comments | « cc/trees/layer_tree_settings.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698