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

Unified Diff: cc/resources/tiling_set_eviction_queue.h

Issue 1108773003: Revert of cc: Remove tile sharing from tilings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/tile_manager_unittest.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..439bdbb1761f3e14a1d2ee7247e87dd840e3b4df 100644
--- a/cc/resources/tiling_set_eviction_queue.h
+++ b/cc/resources/tiling_set_eviction_queue.h
@@ -23,10 +23,6 @@
// EVENTUALLY_RECT - Tiles in the eventually region of the tiling.
// SOON_BORDER_RECT - Tiles in the prepainting skirt of the tiling.
// SKEWPORT_RECT - Tiles in the skewport of the tiling.
-// PENDING_VISIBLE_RECT - Tiles that will be visible upon activation, not
-// required for activation.
-// PENDING_VISIBLE_RECT_REQUIRED_FOR_ACTIVATION - Tiles that will be visible
-// upon activation, required for activation.
// VISIBLE_RECT_OCCLUDED - Occluded, not required for activation, visible tiles.
// VISIBLE_RECT_UNOCCLUDED - Unoccluded, not required for activation, visible
// tiles.
@@ -78,8 +74,6 @@
EVENTUALLY_RECT,
SOON_BORDER_RECT,
SKEWPORT_RECT,
- PENDING_VISIBLE_RECT,
- PENDING_VISIBLE_RECT_REQUIRED_FOR_ACTIVATION,
VISIBLE_RECT_OCCLUDED,
VISIBLE_RECT_UNOCCLUDED,
VISIBLE_RECT_REQUIRED_FOR_ACTIVATION_OCCLUDED,
@@ -94,8 +88,7 @@
EvictionRectIterator();
EvictionRectIterator(std::vector<PictureLayerTiling*>* tilings,
WhichTree tree,
- bool skip_shared_out_of_order_tiles,
- bool skip_pending_visible_rect);
+ bool skip_shared_out_of_order_tiles);
bool done() const { return !tile_; }
Tile* operator*() const { return tile_; }
@@ -112,25 +105,7 @@
std::vector<PictureLayerTiling*>* tilings_;
WhichTree tree_;
bool skip_shared_out_of_order_tiles_;
- bool skip_pending_visible_rect_;
size_t tiling_index_;
- };
-
- class PendingVisibleTilingIterator : public EvictionRectIterator {
- public:
- PendingVisibleTilingIterator() = default;
- PendingVisibleTilingIterator(std::vector<PictureLayerTiling*>* tilings,
- WhichTree tree,
- bool skip_shared_out_of_order_tiles,
- bool return_required_for_activation_tiles);
-
- PendingVisibleTilingIterator& operator++();
-
- private:
- bool TileMatchesRequiredFlags(const Tile* tile) const;
-
- TilingData::DifferenceIterator iterator_;
- bool return_required_for_activation_tiles_;
};
class VisibleTilingIterator : public EvictionRectIterator {
@@ -202,7 +177,6 @@
EventuallyTilingIterator eventually_iterator_;
SoonBorderTilingIterator soon_iterator_;
SkewportTilingIterator skewport_iterator_;
- PendingVisibleTilingIterator pending_visible_iterator_;
VisibleTilingIterator visible_iterator_;
};
« no previous file with comments | « cc/resources/tile_manager_unittest.cc ('k') | cc/resources/tiling_set_eviction_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698