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

Unified Diff: cc/tiles/tiling_set_raster_queue_all.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_raster_queue_all.h ('k') | cc/tiles/tiling_set_raster_queue_required.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tiles/tiling_set_raster_queue_all.cc
diff --git a/cc/tiles/tiling_set_raster_queue_all.cc b/cc/tiles/tiling_set_raster_queue_all.cc
index 74bf1b2f144f806cadf802723924da96fc597f33..f724966eb03b3fceff381863f32722ca20f61cbf 100644
--- a/cc/tiles/tiling_set_raster_queue_all.cc
+++ b/cc/tiles/tiling_set_raster_queue_all.cc
@@ -272,7 +272,8 @@ TilingSetRasterQueueAll::SkewportTilingIterator::SkewportTilingIterator(
return;
iterator_ = TilingData::SpiralDifferenceIterator(
tiling_data_, tiling_->current_skewport_rect(),
- tiling_->current_visible_rect(), tiling_->current_visible_rect());
+ tiling_->current_visible_rect(), tiling_->current_visible_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_)
return;
if (!GetFirstTileAndCheckIfValid(&iterator_)) {
@@ -299,7 +300,8 @@ TilingSetRasterQueueAll::SoonBorderTilingIterator::SoonBorderTilingIterator(
return;
iterator_ = TilingData::SpiralDifferenceIterator(
tiling_data_, tiling_->current_soon_border_rect(),
- tiling_->current_skewport_rect(), tiling_->current_visible_rect());
+ tiling_->current_skewport_rect(), tiling_->current_visible_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_)
return;
if (!GetFirstTileAndCheckIfValid(&iterator_)) {
@@ -326,7 +328,8 @@ TilingSetRasterQueueAll::EventuallyTilingIterator::EventuallyTilingIterator(
return;
iterator_ = TilingData::SpiralDifferenceIterator(
tiling_data_, tiling_->current_eventually_rect(),
- tiling_->current_skewport_rect(), tiling_->current_soon_border_rect());
+ tiling_->current_skewport_rect(), tiling_->current_soon_border_rect(),
+ TilingData::IsPyramidSequenceEnabled());
if (!iterator_)
return;
if (!GetFirstTileAndCheckIfValid(&iterator_)) {
@@ -358,9 +361,23 @@ TilingSetRasterQueueAll::TilingIterator::TilingIterator(
current_tile_ = *visible_iterator_;
}
+TilingSetRasterQueueAll::TilingIterator::TilingIterator(
+ const TilingSetRasterQueueAll::TilingIterator& other) = default;
+
+TilingSetRasterQueueAll::TilingIterator::TilingIterator(
+ TilingSetRasterQueueAll::TilingIterator&& other) = default;
+
TilingSetRasterQueueAll::TilingIterator::~TilingIterator() {
}
+TilingSetRasterQueueAll::TilingIterator&
+TilingSetRasterQueueAll::TilingIterator::operator=(
+ const TilingSetRasterQueueAll::TilingIterator& other) = default;
+
+TilingSetRasterQueueAll::TilingIterator&
+TilingSetRasterQueueAll::TilingIterator::operator=(
+ TilingSetRasterQueueAll::TilingIterator&& other) = default;
+
void TilingSetRasterQueueAll::TilingIterator::AdvancePhase() {
DCHECK_LT(phase_, Phase::EVENTUALLY_RECT);
« no previous file with comments | « cc/tiles/tiling_set_raster_queue_all.h ('k') | cc/tiles/tiling_set_raster_queue_required.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698