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

Unified Diff: cc/tiles/tiling_set_raster_queue_all.h

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.cc ('k') | cc/tiles/tiling_set_raster_queue_all.cc » ('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.h
diff --git a/cc/tiles/tiling_set_raster_queue_all.h b/cc/tiles/tiling_set_raster_queue_all.h
index c49a37e79284c78fb7dfaa711c4f7615b4654425..c15bc58c048835baca424e27ff704eb2372146f0 100644
--- a/cc/tiles/tiling_set_raster_queue_all.h
+++ b/cc/tiles/tiling_set_raster_queue_all.h
@@ -38,6 +38,13 @@ class CC_EXPORT TilingSetRasterQueueAll {
PictureLayerTiling* tiling,
TilingData* tiling_data,
PictureLayerTiling::PriorityRectType priority_rect_type);
+ OnePriorityRectIterator(const OnePriorityRectIterator& other) = default;
+ OnePriorityRectIterator(OnePriorityRectIterator&& other) = default;
+
+ OnePriorityRectIterator& operator=(const OnePriorityRectIterator& other) =
+ default;
+ OnePriorityRectIterator& operator=(OnePriorityRectIterator&& other) =
+ default;
bool done() const { return !current_tile_.tile(); }
const PrioritizedTile& operator*() const { return current_tile_; }
@@ -66,6 +73,12 @@ class CC_EXPORT TilingSetRasterQueueAll {
public:
VisibleTilingIterator() = default;
VisibleTilingIterator(PictureLayerTiling* tiling, TilingData* tiling_data);
+ VisibleTilingIterator(const VisibleTilingIterator& other) = default;
+ VisibleTilingIterator(VisibleTilingIterator&& other) = default;
+
+ VisibleTilingIterator& operator=(const VisibleTilingIterator& other) =
+ default;
+ VisibleTilingIterator& operator=(VisibleTilingIterator&& other) = default;
VisibleTilingIterator& operator++();
@@ -78,6 +91,15 @@ class CC_EXPORT TilingSetRasterQueueAll {
PendingVisibleTilingIterator() = default;
PendingVisibleTilingIterator(PictureLayerTiling* tiling,
TilingData* tiling_data);
+ PendingVisibleTilingIterator(const PendingVisibleTilingIterator& other) =
+ default;
+ PendingVisibleTilingIterator(PendingVisibleTilingIterator&& other) =
+ default;
+
+ PendingVisibleTilingIterator& operator=(
+ const PendingVisibleTilingIterator& other) = default;
+ PendingVisibleTilingIterator& operator=(
+ PendingVisibleTilingIterator&& other) = default;
PendingVisibleTilingIterator& operator++();
@@ -90,6 +112,12 @@ class CC_EXPORT TilingSetRasterQueueAll {
public:
SkewportTilingIterator() = default;
SkewportTilingIterator(PictureLayerTiling* tiling, TilingData* tiling_data);
+ SkewportTilingIterator(const SkewportTilingIterator& other) = default;
+ SkewportTilingIterator(SkewportTilingIterator&& other) = default;
+
+ SkewportTilingIterator& operator=(const SkewportTilingIterator& other) =
+ default;
+ SkewportTilingIterator& operator=(SkewportTilingIterator&& other) = default;
SkewportTilingIterator& operator++();
@@ -103,6 +131,13 @@ class CC_EXPORT TilingSetRasterQueueAll {
SoonBorderTilingIterator() = default;
SoonBorderTilingIterator(PictureLayerTiling* tiling,
TilingData* tiling_data);
+ SoonBorderTilingIterator(const SoonBorderTilingIterator& other) = default;
+ SoonBorderTilingIterator(SoonBorderTilingIterator&& other) = default;
+
+ SoonBorderTilingIterator& operator=(const SoonBorderTilingIterator& other) =
+ default;
+ SoonBorderTilingIterator& operator=(SoonBorderTilingIterator&& other) =
+ default;
SoonBorderTilingIterator& operator++();
@@ -116,6 +151,13 @@ class CC_EXPORT TilingSetRasterQueueAll {
EventuallyTilingIterator() = default;
EventuallyTilingIterator(PictureLayerTiling* tiling,
TilingData* tiling_data);
+ EventuallyTilingIterator(const EventuallyTilingIterator& other) = default;
+ EventuallyTilingIterator(EventuallyTilingIterator&& other) = default;
+
+ EventuallyTilingIterator& operator=(const EventuallyTilingIterator& other) =
+ default;
+ EventuallyTilingIterator& operator=(EventuallyTilingIterator&& other) =
+ default;
EventuallyTilingIterator& operator++();
@@ -130,8 +172,13 @@ class CC_EXPORT TilingSetRasterQueueAll {
TilingIterator();
explicit TilingIterator(PictureLayerTiling* tiling,
TilingData* tiling_data);
+ TilingIterator(const TilingIterator& other);
+ TilingIterator(TilingIterator&& other);
~TilingIterator();
+ TilingIterator& operator=(const TilingIterator& other);
+ TilingIterator& operator=(TilingIterator&& other);
+
bool done() const { return !current_tile_.tile(); }
const PrioritizedTile& operator*() const { return current_tile_; }
TilePriority::PriorityBin type() const {
« no previous file with comments | « cc/tiles/tiling_set_eviction_queue.cc ('k') | cc/tiles/tiling_set_raster_queue_all.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698