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

Unified Diff: cc/trees/layer_tree_host_common.cc

Issue 1387003002: cc: Make property trees support resourceless draw mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@DontReparentUnclippedClipNodes
Patch Set: Rebased 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/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_common.cc
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc
index 51679c50ff2e53a11fca977b35c34714f723a089..02e1d0c7f06622d5d32d6ca7c70773c03f85e52b 100644
--- a/cc/trees/layer_tree_host_common.cc
+++ b/cc/trees/layer_tree_host_common.cc
@@ -2695,7 +2695,8 @@ void CalculateDrawPropertiesAndVerify(
inputs->outer_viewport_scroll_layer, inputs->page_scale_factor,
inputs->device_scale_factor,
gfx::Rect(inputs->device_viewport_size), inputs->device_transform,
- inputs->property_trees, &update_layer_list);
+ inputs->can_render_to_separate_surface, inputs->property_trees,
+ &update_layer_list);
if (should_measure_property_tree_performance) {
TRACE_EVENT_END0(
@@ -2718,7 +2719,8 @@ void CalculateDrawPropertiesAndVerify(
inputs->page_scale_factor, inputs->device_scale_factor,
inputs->device_transform);
ComputeVisibleRectsUsingPropertyTrees(
- inputs->root_layer, inputs->property_trees, &update_layer_list);
+ inputs->root_layer, inputs->property_trees,
+ inputs->can_render_to_separate_surface, &update_layer_list);
break;
}
}
@@ -2762,7 +2764,7 @@ void LayerTreeHostCommon::CalculateDrawProperties(
inputs->inner_viewport_scroll_layer, inputs->outer_viewport_scroll_layer,
inputs->page_scale_factor, inputs->device_scale_factor,
gfx::Rect(inputs->device_viewport_size), inputs->device_transform,
- property_trees, &update_layer_list);
+ can_render_to_separate_surface, property_trees, &update_layer_list);
}
void LayerTreeHostCommon::CalculateDrawProperties(
« no previous file with comments | « cc/trees/layer_tree_host.cc ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698