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

Unified Diff: cc/tiles/tiling_set_eviction_queue.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: for review Created 4 years, 5 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/tiles/tiling_set_eviction_queue.h
diff --git a/cc/tiles/tiling_set_eviction_queue.h b/cc/tiles/tiling_set_eviction_queue.h
index 493d74a8c82c1f5cb577ff8981cacb92b273e1be..ae7b93f3368a2ad53487cf5ee406f0482a54d8e6 100644
--- a/cc/tiles/tiling_set_eviction_queue.h
+++ b/cc/tiles/tiling_set_eviction_queue.h
@@ -97,6 +97,12 @@ class CC_EXPORT TilingSetEvictionQueue {
std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
PictureLayerTiling::PriorityRectType priority_rect_type);
+ EvictionRectIterator(const EvictionRectIterator& other) = default;
+ EvictionRectIterator(EvictionRectIterator&& other) = default;
+
+ EvictionRectIterator& operator=(const EvictionRectIterator& other) =
+ default;
+ EvictionRectIterator& operator=(EvictionRectIterator&& other) = default;
bool done() const { return !prioritized_tile_.tile(); }
const PrioritizedTile& operator*() const { return prioritized_tile_; }
@@ -122,6 +128,15 @@ class CC_EXPORT TilingSetEvictionQueue {
PendingVisibleTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
bool return_required_for_activation_tiles);
+ PendingVisibleTilingIterator(const PendingVisibleTilingIterator& other) =
+ default;
+ PendingVisibleTilingIterator(PendingVisibleTilingIterator&& other) =
+ default;
+
+ PendingVisibleTilingIterator& operator=(
+ const PendingVisibleTilingIterator& other) = default;
+ PendingVisibleTilingIterator& operator=(
+ PendingVisibleTilingIterator&& other) = default;
PendingVisibleTilingIterator& operator++();
@@ -139,6 +154,12 @@ class CC_EXPORT TilingSetEvictionQueue {
WhichTree tree,
bool return_occluded_tiles,
bool return_required_for_activation_tiles);
+ VisibleTilingIterator(const VisibleTilingIterator& other) = default;
+ VisibleTilingIterator(VisibleTilingIterator&& other) = default;
+
+ VisibleTilingIterator& operator=(const VisibleTilingIterator& other) =
+ default;
+ VisibleTilingIterator& operator=(VisibleTilingIterator&& other) = default;
VisibleTilingIterator& operator++();
@@ -155,6 +176,12 @@ class CC_EXPORT TilingSetEvictionQueue {
SkewportTilingIterator() = default;
SkewportTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree);
+ SkewportTilingIterator(const SkewportTilingIterator& other) = default;
+ SkewportTilingIterator(SkewportTilingIterator&& other) = default;
+
+ SkewportTilingIterator& operator=(const SkewportTilingIterator& other) =
+ default;
+ SkewportTilingIterator& operator=(SkewportTilingIterator&& other) = default;
SkewportTilingIterator& operator++();
@@ -167,6 +194,13 @@ class CC_EXPORT TilingSetEvictionQueue {
SoonBorderTilingIterator() = default;
SoonBorderTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree);
+ SoonBorderTilingIterator(const SoonBorderTilingIterator& other) = default;
+ SoonBorderTilingIterator(SoonBorderTilingIterator&& other) = default;
+
+ SoonBorderTilingIterator& operator=(const SoonBorderTilingIterator& other) =
+ default;
+ SoonBorderTilingIterator& operator=(SoonBorderTilingIterator&& other) =
+ default;
SoonBorderTilingIterator& operator++();
@@ -179,6 +213,13 @@ class CC_EXPORT TilingSetEvictionQueue {
EventuallyTilingIterator() = default;
EventuallyTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree);
+ EventuallyTilingIterator(const EventuallyTilingIterator& other) = default;
+ EventuallyTilingIterator(EventuallyTilingIterator&& other) = default;
+
+ EventuallyTilingIterator& operator=(const EventuallyTilingIterator& other) =
+ default;
+ EventuallyTilingIterator& operator=(EventuallyTilingIterator&& other) =
+ default;
EventuallyTilingIterator& operator++();

Powered by Google App Engine
This is Rietveld 408576698