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

Side by Side Diff: cc/trees/layer_tree_host_common_perftest.cc

Issue 2334003003: cc : Compute visible rects dynamically (1) (Closed)
Patch Set: comment Created 4 years, 3 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include <deque> 7 #include <deque>
8 #include <memory> 8 #include <memory>
9 #include <sstream> 9 #include <sstream>
10 10
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 host_impl->DrawTransform(), active_tree->device_scale_factor(), 109 host_impl->DrawTransform(), active_tree->device_scale_factor(),
110 active_tree->current_page_scale_factor(), 110 active_tree->current_page_scale_factor(),
111 active_tree->InnerViewportContainerLayer(), 111 active_tree->InnerViewportContainerLayer(),
112 active_tree->InnerViewportScrollLayer(), 112 active_tree->InnerViewportScrollLayer(),
113 active_tree->OuterViewportScrollLayer(), 113 active_tree->OuterViewportScrollLayer(),
114 active_tree->elastic_overscroll()->Current(active_tree->IsActiveTree()), 114 active_tree->elastic_overscroll()->Current(active_tree->IsActiveTree()),
115 active_tree->OverscrollElasticityLayer(), max_texture_size, 115 active_tree->OverscrollElasticityLayer(), max_texture_size,
116 can_render_to_separate_surface, 116 can_render_to_separate_surface,
117 host_impl->settings().layer_transforms_should_scale_layer_contents, 117 host_impl->settings().layer_transforms_should_scale_layer_contents,
118 false, // do not verify_clip_tree_calculation for perf tests 118 false, // do not verify_clip_tree_calculation for perf tests
119 false, // do not verify_visible_rect_calculation for perf tests
119 false, // do not verify_transform_tree_calculation for perf tests 120 false, // do not verify_transform_tree_calculation for perf tests
120 &update_list, active_tree->property_trees()); 121 &update_list, active_tree->property_trees());
121 LayerTreeHostCommon::CalculateDrawProperties(&inputs); 122 LayerTreeHostCommon::CalculateDrawProperties(&inputs);
122 } 123 }
123 }; 124 };
124 125
125 TEST_F(CalcDrawPropsTest, TenTen) { 126 TEST_F(CalcDrawPropsTest, TenTen) {
126 SetTestName("10_10"); 127 SetTestName("10_10");
127 ReadTestFile("10_10_layer_tree"); 128 ReadTestFile("10_10_layer_tree");
128 RunCalcDrawProps(); 129 RunCalcDrawProps();
(...skipping 12 matching lines...) Expand all
141 } 142 }
142 143
143 TEST_F(CalcDrawPropsTest, TouchRegionHeavy) { 144 TEST_F(CalcDrawPropsTest, TouchRegionHeavy) {
144 SetTestName("touch_region_heavy"); 145 SetTestName("touch_region_heavy");
145 ReadTestFile("touch_region_heavy"); 146 ReadTestFile("touch_region_heavy");
146 RunCalcDrawProps(); 147 RunCalcDrawProps();
147 } 148 }
148 149
149 } // namespace 150 } // namespace
150 } // namespace cc 151 } // namespace cc
OLDNEW
« 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