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

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: 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/tile_manager_unittest.cc ('k') | cc/tiles/tiling_set_eviction_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..960dcef49b146628eddb5681789ef9038b14d83b 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++();
@@ -140,6 +155,13 @@ class CC_EXPORT TilingSetEvictionQueue {
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++();
private:
@@ -155,6 +177,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 +195,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 +214,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++();
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/tiles/tiling_set_eviction_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698