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

Unified Diff: cc/resources/tile_manager_perftest.cc

Issue 271533011: cc: Move tiling management out of draw properties calculation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments + unit/perf test fails addressed Created 6 years, 7 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
Index: cc/resources/tile_manager_perftest.cc
diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc
index 7f427fb6a835b7d56f043c21dfa0b92a65ece9dd..06b2058dd01bfbf6481241638d5c1d5b226020a9 100644
--- a/cc/resources/tile_manager_perftest.cc
+++ b/cc/resources/tile_manager_perftest.cc
@@ -332,7 +332,12 @@ TEST_F(TileManagerPerfTest, ManageTiles) {
TEST_F(TileManagerPerfTest, RasterTileIterator) {
SetupDefaultTrees(gfx::Size(10000, 10000));
+
+ active_root_layer_->SetBounds(gfx::Size(10000, 10000));
danakj 2014/05/21 15:01:00 Can you do these in SetupDefaultTrees?
+ active_root_layer_->SetContentBounds(gfx::Size(10000, 10000));
active_root_layer_->CreateDefaultTilingsAndTiles();
+ pending_root_layer_->SetBounds(gfx::Size(10000, 10000));
+ pending_root_layer_->SetContentBounds(gfx::Size(10000, 10000));
pending_root_layer_->CreateDefaultTilingsAndTiles();
RunRasterIteratorTest("2_16", 16);

Powered by Google App Engine
This is Rietveld 408576698