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

Unified Diff: cc/resources/tiling_set_eviction_queue.h

Issue 1102333002: cc: Drop skip_shared_out_of_order_tiles field from TilingSetEvictionQueue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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/resources/eviction_tile_priority_queue.cc ('k') | cc/resources/tiling_set_eviction_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/tiling_set_eviction_queue.h
diff --git a/cc/resources/tiling_set_eviction_queue.h b/cc/resources/tiling_set_eviction_queue.h
index c89f2aa4e0b641d3c04476b3062d3dc23f78485e..41386fa4c902ede12d7ba7c879fc574c40cee3b3 100644
--- a/cc/resources/tiling_set_eviction_queue.h
+++ b/cc/resources/tiling_set_eviction_queue.h
@@ -64,8 +64,7 @@ namespace cc {
// with low priority on one tree, but high combined priority.
class CC_EXPORT TilingSetEvictionQueue {
public:
- TilingSetEvictionQueue(PictureLayerTilingSet* tiling_set,
- bool skip_shared_out_of_order_tiles);
+ explicit TilingSetEvictionQueue(PictureLayerTilingSet* tiling_set);
~TilingSetEvictionQueue();
Tile* Top();
@@ -94,7 +93,6 @@ class CC_EXPORT TilingSetEvictionQueue {
EvictionRectIterator();
EvictionRectIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
- bool skip_shared_out_of_order_tiles,
bool skip_pending_visible_rect);
bool done() const { return !tile_; }
@@ -111,7 +109,6 @@ class CC_EXPORT TilingSetEvictionQueue {
Tile* tile_;
std::vector<PictureLayerTiling*>* tilings_;
WhichTree tree_;
- bool skip_shared_out_of_order_tiles_;
bool skip_pending_visible_rect_;
size_t tiling_index_;
};
@@ -121,7 +118,6 @@ class CC_EXPORT TilingSetEvictionQueue {
PendingVisibleTilingIterator() = default;
PendingVisibleTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
- bool skip_shared_out_of_order_tiles,
bool return_required_for_activation_tiles);
PendingVisibleTilingIterator& operator++();
@@ -138,7 +134,6 @@ class CC_EXPORT TilingSetEvictionQueue {
VisibleTilingIterator() = default;
VisibleTilingIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
- bool skip_shared_out_of_order_tiles,
bool return_occluded_tiles,
bool return_required_for_activation_tiles);
@@ -156,8 +151,7 @@ class CC_EXPORT TilingSetEvictionQueue {
public:
SkewportTilingIterator() = default;
SkewportTilingIterator(std::vector<PictureLayerTiling*>* tilings,
- WhichTree tree,
- bool skip_shared_out_of_order_tiles);
+ WhichTree tree);
SkewportTilingIterator& operator++();
@@ -169,8 +163,7 @@ class CC_EXPORT TilingSetEvictionQueue {
public:
SoonBorderTilingIterator() = default;
SoonBorderTilingIterator(std::vector<PictureLayerTiling*>* tilings,
- WhichTree tree,
- bool skip_shared_out_of_order_tiles);
+ WhichTree tree);
SoonBorderTilingIterator& operator++();
@@ -182,8 +175,7 @@ class CC_EXPORT TilingSetEvictionQueue {
public:
EventuallyTilingIterator() = default;
EventuallyTilingIterator(std::vector<PictureLayerTiling*>* tilings,
- WhichTree tree,
- bool skip_shared_out_of_order_tiles);
+ WhichTree tree);
EventuallyTilingIterator& operator++();
@@ -194,7 +186,6 @@ class CC_EXPORT TilingSetEvictionQueue {
void AdvancePhase();
WhichTree tree_;
- bool skip_shared_out_of_order_tiles_;
Phase phase_;
Tile* current_tile_;
std::vector<PictureLayerTiling*> tilings_;
« no previous file with comments | « cc/resources/eviction_tile_priority_queue.cc ('k') | cc/resources/tiling_set_eviction_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698