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

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: Rebase fix 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
« no previous file with comments | « cc/resources/picture_layer_tiling.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 f5e2c10ca4ccb83e6002d315a621b9e3474a037e..58e5a7d743e4e8e82e4590558ebfc48f311feadf 100644
--- a/cc/resources/tiling_set_eviction_queue.h
+++ b/cc/resources/tiling_set_eviction_queue.h
@@ -91,9 +91,10 @@ class CC_EXPORT TilingSetEvictionQueue {
class EvictionRectIterator {
public:
EvictionRectIterator();
- EvictionRectIterator(std::vector<PictureLayerTiling*>* tilings,
- WhichTree tree,
- bool skip_pending_visible_rect);
+ EvictionRectIterator(
+ std::vector<PictureLayerTiling*>* tilings,
+ WhichTree tree,
+ PictureLayerTiling::PriorityRectType priority_rect_type);
bool done() const { return !prioritized_tile_.tile(); }
const PrioritizedTile& operator*() const { return prioritized_tile_; }
@@ -109,7 +110,7 @@ class CC_EXPORT TilingSetEvictionQueue {
PrioritizedTile prioritized_tile_;
std::vector<PictureLayerTiling*>* tilings_;
WhichTree tree_;
- bool skip_pending_visible_rect_;
+ PictureLayerTiling::PriorityRectType priority_rect_type_;
size_t tiling_index_;
};
« no previous file with comments | « cc/resources/picture_layer_tiling.cc ('k') | cc/resources/tiling_set_eviction_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698