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

Unified Diff: cc/trees/layer_tree_host_common_perftest.cc

Issue 2693703010: cc: Remove support for disabling non-root render surfaces. (Closed)
Patch Set: softwaredraw-remove-no-surfaces: rebase Created 3 years, 10 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_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_perftest.cc
diff --git a/cc/trees/layer_tree_host_common_perftest.cc b/cc/trees/layer_tree_host_common_perftest.cc
index 132872c5a671aabac150cabc95a27d64de4cb97c..46489bb684cab65352c074edf549a26ccc863a9e 100644
--- a/cc/trees/layer_tree_host_common_perftest.cc
+++ b/cc/trees/layer_tree_host_common_perftest.cc
@@ -86,12 +86,8 @@ class CalcDrawPropsTest : public LayerTreeHostCommonPerfTest {
LayerTreeImpl* active_tree = host_impl->active_tree();
do {
- bool can_render_to_separate_surface = true;
int max_texture_size = 8096;
- DoCalcDrawPropertiesImpl(can_render_to_separate_surface,
- max_texture_size,
- active_tree,
- host_impl);
+ DoCalcDrawPropertiesImpl(max_texture_size, active_tree, host_impl);
timer_.NextLap();
} while (!timer_.HasTimeLimitExpired());
@@ -99,8 +95,7 @@ class CalcDrawPropsTest : public LayerTreeHostCommonPerfTest {
EndTest();
}
- void DoCalcDrawPropertiesImpl(bool can_render_to_separate_surface,
- int max_texture_size,
+ void DoCalcDrawPropertiesImpl(int max_texture_size,
LayerTreeImpl* active_tree,
LayerTreeHostImpl* host_impl) {
LayerImplList update_list;
@@ -113,7 +108,6 @@ class CalcDrawPropsTest : public LayerTreeHostCommonPerfTest {
active_tree->OuterViewportScrollLayer(),
active_tree->elastic_overscroll()->Current(active_tree->IsActiveTree()),
active_tree->OverscrollElasticityLayer(), max_texture_size,
- can_render_to_separate_surface,
host_impl->settings().layer_transforms_should_scale_layer_contents,
false, // do not verify_clip_tree_calculation for perf tests
false, // do not verify_visible_rect_calculation for perf tests
« no previous file with comments | « cc/trees/layer_tree_host_common.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