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

Unified Diff: cc/resources/tiling_set_eviction_queue.h

Issue 1126813002: cc: Pass priority rect information from iterators to tilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/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 41386fa4c902ede12d7ba7c879fc574c40cee3b3..88914154973b52e3ec956f0faeafade87ac0dbdb 100644
--- a/cc/resources/tiling_set_eviction_queue.h
+++ b/cc/resources/tiling_set_eviction_queue.h
@@ -93,7 +93,7 @@ class CC_EXPORT TilingSetEvictionQueue {
EvictionRectIterator();
EvictionRectIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
- bool skip_pending_visible_rect);
+ PictureLayerTiling::PriorityRect priority_rect);
bool done() const { return !tile_; }
Tile* operator*() const { return tile_; }
@@ -109,7 +109,7 @@ class CC_EXPORT TilingSetEvictionQueue {
Tile* tile_;
std::vector<PictureLayerTiling*>* tilings_;
WhichTree tree_;
- bool skip_pending_visible_rect_;
+ PictureLayerTiling::PriorityRect priority_rect_;
size_t tiling_index_;
};

Powered by Google App Engine
This is Rietveld 408576698