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

Unified Diff: cc/resources/tile_manager_perftest.cc

Issue 816453008: cc: Split tiling set raster queues into all and required. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 11 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 e93e0b207bc9cbd45863464e6aa215e32d611794..911e5c9b34f4362cfecb048faf8a23bee008c2a7 100644
--- a/cc/resources/tile_manager_perftest.cc
+++ b/cc/resources/tile_manager_perftest.cc
@@ -181,7 +181,8 @@ class TileManagerPerfTest : public testing::Test {
timer_.Reset();
do {
RasterTilePriorityQueue queue;
- host_impl_.BuildRasterQueue(&queue, priorities[priority_count]);
+ host_impl_.BuildRasterQueue(&queue, priorities[priority_count],
+ RasterTilePriorityQueue::Type::ALL);
priority_count = (priority_count + 1) % arraysize(priorities);
timer_.NextLap();
} while (!timer_.HasTimeLimitExpired());
@@ -211,7 +212,8 @@ class TileManagerPerfTest : public testing::Test {
do {
int count = tile_count;
RasterTilePriorityQueue queue;
- host_impl_.BuildRasterQueue(&queue, priorities[priority_count]);
+ host_impl_.BuildRasterQueue(&queue, priorities[priority_count],
+ RasterTilePriorityQueue::Type::ALL);
while (count--) {
ASSERT_FALSE(queue.IsEmpty());
ASSERT_TRUE(queue.Top() != NULL);

Powered by Google App Engine
This is Rietveld 408576698