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

Unified Diff: cc/trees/layer_tree_host_common_perftest.cc

Issue 1062403002: cc: Plumbing for storing property trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix perf test compile failure Created 5 years, 8 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_common.cc ('k') | cc/trees/layer_tree_impl.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_perftest.cc
diff --git a/cc/trees/layer_tree_host_common_perftest.cc b/cc/trees/layer_tree_host_common_perftest.cc
index be15bdee5d7d8ae807f3f1e4d22a2eeafdda04db..9a5de06bb0fcde4015aa0565e4b96c5acb0ef8f4 100644
--- a/cc/trees/layer_tree_host_common_perftest.cc
+++ b/cc/trees/layer_tree_host_common_perftest.cc
@@ -89,6 +89,7 @@ class CalcDrawPropsMainTest : public LayerTreeHostCommonPerfTest {
bool verify_property_trees = false;
int max_texture_size = 8096;
RenderSurfaceLayerList update_list;
+ PropertyTrees property_trees;
LayerTreeHostCommon::CalcDrawPropsMainInputs inputs(
layer_tree_host()->root_layer(),
layer_tree_host()->device_viewport_size(), gfx::Transform(),
@@ -103,7 +104,7 @@ class CalcDrawPropsMainTest : public LayerTreeHostCommonPerfTest {
layer_tree_host()
->settings()
.layer_transforms_should_scale_layer_contents,
- verify_property_trees, &update_list, 0);
+ verify_property_trees, &update_list, 0, &property_trees);
LayerTreeHostCommon::CalculateDrawProperties(&inputs);
timer_.NextLap();
@@ -144,6 +145,7 @@ class CalcDrawPropsImplTest : public LayerTreeHostCommonPerfTest {
LayerTreeImpl* active_tree,
LayerTreeHostImpl* host_impl) {
LayerImplList update_list;
+ PropertyTrees property_trees;
bool verify_property_trees = false;
LayerTreeHostCommon::CalcDrawPropsImplInputs inputs(
active_tree->root_layer(), active_tree->DrawViewportSize(),
@@ -156,7 +158,7 @@ class CalcDrawPropsImplTest : public LayerTreeHostCommonPerfTest {
host_impl->settings().layers_always_allowed_lcd_text,
can_render_to_separate_surface,
host_impl->settings().layer_transforms_should_scale_layer_contents,
- verify_property_trees, &update_list, 0);
+ verify_property_trees, &update_list, 0, &property_trees);
LayerTreeHostCommon::CalculateDrawProperties(&inputs);
}
};
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698