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

Unified Diff: cc/layers/picture_layer_impl_perftest.cc

Issue 1196553009: Revert "cc: Make tiling interest rect calc based on viewport." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert extra bools. Created 5 years, 6 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/layers/picture_layer_impl.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_perftest.cc
diff --git a/cc/layers/picture_layer_impl_perftest.cc b/cc/layers/picture_layer_impl_perftest.cc
index 4acd9b7c28a5e46de847c63598f48b55852c8a94..d6cdb9be81b469915bed86188b44f0fe7cbb9714 100644
--- a/cc/layers/picture_layer_impl_perftest.cc
+++ b/cc/layers/picture_layer_impl_perftest.cc
@@ -36,18 +36,11 @@ void AddTiling(float scale,
tiling_tiles.begin(), tiling_tiles.end(), std::back_inserter(*all_tiles));
}
-class LayerTreeSettingsWithLargeInterestArea : public LayerTreeSettings {
- public:
- LayerTreeSettingsWithLargeInterestArea() {
- tiling_interest_area_viewport_multiplier = 10000;
- }
-};
-
class PictureLayerImplPerfTest : public testing::Test {
public:
PictureLayerImplPerfTest()
: proxy_(base::ThreadTaskRunnerHandle::Get()),
- host_impl_(LayerTreeSettingsWithLargeInterestArea(),
+ host_impl_(LayerTreeSettings(),
&proxy_,
&shared_bitmap_manager_,
&task_graph_runner_),
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/layers/picture_layer_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698