summaryrefslogtreecommitdiffstats
path: root/cc/resources/tile_manager_unittest.cc
diff options
context:
space:
mode:
authorernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-17 06:34:12 +0000
committerernstm@chromium.org <ernstm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-17 06:34:12 +0000
commit206a3926590cbf7e9d92fa15cade21f20f9245d7 (patch)
treeafb2060ab5edc3889900c206d4ecc5874355bb20 /cc/resources/tile_manager_unittest.cc
parent884e4d7aee2c082df99654b60e82b47194ed1242 (diff)
downloadchromium_src-206a3926590cbf7e9d92fa15cade21f20f9245d7.zip
chromium_src-206a3926590cbf7e9d92fa15cade21f20f9245d7.tar.gz
chromium_src-206a3926590cbf7e9d92fa15cade21f20f9245d7.tar.bz2
cc: Added features for more accurate raster benchmark
- Added debug switch to rasterize only visible tiles - Tagged all tiles and raster tasks with their source frame number BUG=226489 Review URL: https://chromiumcodereview.appspot.com/14975007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200736 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/resources/tile_manager_unittest.cc')
-rw-r--r--cc/resources/tile_manager_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc
index 9cbbcad..0231762 100644
--- a/cc/resources/tile_manager_unittest.cc
+++ b/cc/resources/tile_manager_unittest.cc
@@ -70,6 +70,7 @@ TEST(TileManagerTest, OOM) {
gfx::Rect(),
gfx::Rect(),
1.0,
+ 0,
0));
tile->SetPriority(PENDING_TREE, TilePriority());
tile->SetPriority(ACTIVE_TREE, eventual_prio);
@@ -84,6 +85,7 @@ TEST(TileManagerTest, OOM) {
gfx::Rect(),
gfx::Rect(),
1.0,
+ 0,
0));
tile->SetPriority(PENDING_TREE, now_prio);
tile->SetPriority(ACTIVE_TREE, TilePriority());