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

Unified Diff: cc/tiles/tiling_set_eviction_queue.cc

Issue 2067213002: cc: Implement tile iteration order based on pyramid sequence. [old] Base URL: https://chromium.googlesource.com/chromium/src.git@tiling_data_fix
Patch Set: rebase -> used for smoothness tests Created 3 years, 10 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/tiles/tiling_set_eviction_queue.h ('k') | cc/tiles/tiling_set_raster_queue_all.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tiling_set_eviction_queue.cc
diff --git a/cc/tiles/tiling_set_eviction_queue.cc b/cc/tiles/tiling_set_eviction_queue.cc
index da09e3192e991f1bf4bee73da5f08f43fa112f35..65662c7f1b0e160adcf0c65de95f632706b9db45 100644
--- a/cc/tiles/tiling_set_eviction_queue.cc
+++ b/cc/tiles/tiling_set_eviction_queue.cc
@@ -253,7 +253,8 @@ TilingSetEvictionQueue::EventuallyTilingIterator::EventuallyTilingIterator(
(*tilings_)[tiling_index_]->tiling_data(),
(*tilings_)[tiling_index_]->current_eventually_rect(),
(*tilings_)[tiling_index_]->current_skewport_rect(),
- (*tilings_)[tiling_index_]->current_soon_border_rect());
+ (*tilings_)[tiling_index_]->current_soon_border_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_) {
++tiling_index_;
continue;
@@ -278,7 +279,8 @@ TilingSetEvictionQueue::EventuallyTilingIterator&
(*tilings_)[tiling_index_]->tiling_data(),
(*tilings_)[tiling_index_]->current_eventually_rect(),
(*tilings_)[tiling_index_]->current_skewport_rect(),
- (*tilings_)[tiling_index_]->current_soon_border_rect());
+ (*tilings_)[tiling_index_]->current_soon_border_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_)
continue;
found_tile = GetFirstTileAndCheckIfValid(&iterator_);
@@ -305,7 +307,8 @@ TilingSetEvictionQueue::SoonBorderTilingIterator::SoonBorderTilingIterator(
(*tilings_)[tiling_index_]->tiling_data(),
(*tilings_)[tiling_index_]->current_soon_border_rect(),
(*tilings_)[tiling_index_]->current_skewport_rect(),
- (*tilings_)[tiling_index_]->current_visible_rect());
+ (*tilings_)[tiling_index_]->current_visible_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_) {
++tiling_index_;
continue;
@@ -330,7 +333,8 @@ TilingSetEvictionQueue::SoonBorderTilingIterator&
(*tilings_)[tiling_index_]->tiling_data(),
(*tilings_)[tiling_index_]->current_soon_border_rect(),
(*tilings_)[tiling_index_]->current_skewport_rect(),
- (*tilings_)[tiling_index_]->current_visible_rect());
+ (*tilings_)[tiling_index_]->current_visible_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_)
continue;
found_tile = GetFirstTileAndCheckIfValid(&iterator_);
@@ -355,7 +359,8 @@ TilingSetEvictionQueue::SkewportTilingIterator::SkewportTilingIterator(
(*tilings_)[tiling_index_]->tiling_data(),
(*tilings_)[tiling_index_]->current_skewport_rect(),
(*tilings_)[tiling_index_]->current_visible_rect(),
- (*tilings_)[tiling_index_]->current_visible_rect());
+ (*tilings_)[tiling_index_]->current_visible_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_) {
++tiling_index_;
continue;
@@ -380,7 +385,8 @@ TilingSetEvictionQueue::SkewportTilingIterator&
(*tilings_)[tiling_index_]->tiling_data(),
(*tilings_)[tiling_index_]->current_skewport_rect(),
(*tilings_)[tiling_index_]->current_visible_rect(),
- (*tilings_)[tiling_index_]->current_visible_rect());
+ (*tilings_)[tiling_index_]->current_visible_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_)
continue;
found_tile = GetFirstTileAndCheckIfValid(&iterator_);
« no previous file with comments | « cc/tiles/tiling_set_eviction_queue.h ('k') | cc/tiles/tiling_set_raster_queue_all.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698