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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 1381163002: Add a flag to disable partial raster in renderer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: feedback + UT refactoring Created 5 years, 2 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/tiles/tile_manager_unittest.cc ('k') | cc/trees/layer_tree_host_pixeltest_tiles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index fc08e2551a07ba8ffe9468d3145ff4930ab534fb..94974d0848fe4310799ae36ee2fef541db1a8146 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -186,7 +186,8 @@ LayerTreeHostImpl::LayerTreeHostImpl(
GetTaskRunner(),
is_synchronous_single_threaded_
? std::numeric_limits<size_t>::max()
- : settings.scheduled_raster_task_limit)),
+ : settings.scheduled_raster_task_limit,
+ settings.use_partial_raster)),
pinch_gesture_active_(false),
pinch_gesture_end_should_clear_scrolling_layer_(false),
fps_counter_(FrameRateCounter::Create(proxy_->HasImplThread())),
@@ -2139,8 +2140,7 @@ void LayerTreeHostImpl::CreateResourceAndTileTaskWorkerPool(
*tile_task_worker_pool = OneCopyTileTaskWorkerPool::Create(
GetTaskRunner(), task_graph_runner, context_provider,
resource_provider_.get(), max_copy_texture_chromium_size,
- settings_.use_persistent_map_for_gpu_memory_buffers,
- settings_.max_staging_buffer_usage_in_bytes,
+ settings_.use_partial_raster, settings_.max_staging_buffer_usage_in_bytes,
settings_.renderer_settings.use_rgba_4444_textures);
}
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/layer_tree_host_pixeltest_tiles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698