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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 69343005: Added preliminary support for tile rasterization with Ganesh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ported scissoring fix from gr_layer patch. Created 7 years, 1 month 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
« cc/resources/ganesh_rasterizer.cc ('K') | « cc/resources/tile_manager.cc ('k') | no next file » | 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 6f267cc51b0417ac65f35299e15a4be158db4da9..08a8a4675655ecac0da8d73024e359aa048a497f 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1651,14 +1651,18 @@ void LayerTreeHostImpl::CreateAndSetTileManager(
ResourceProvider* resource_provider,
ContextProvider* context_provider,
bool using_map_image) {
+ // TODO(skaslev): Add a flag for that.
+ const bool use_ganesh = true;
DCHECK(settings_.impl_side_painting);
DCHECK(resource_provider);
tile_manager_ =
TileManager::Create(this,
resource_provider,
+ context_provider,
settings_.num_raster_threads,
rendering_stats_instrumentation_,
using_map_image,
+ use_ganesh,
GetMaxTransferBufferUsageBytes(context_provider),
GetMaxRasterTasksUsageBytes(context_provider));
« cc/resources/ganesh_rasterizer.cc ('K') | « cc/resources/tile_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698