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

Unified Diff: cc/resources/picture_layer_tiling_set.h

Issue 900073003: cc: Rework how picture layer tiling set gets into raster queues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unrelated changes Created 5 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
Index: cc/resources/picture_layer_tiling_set.h
diff --git a/cc/resources/picture_layer_tiling_set.h b/cc/resources/picture_layer_tiling_set.h
index 3e31ed9bcfc055f72f4dc70d672631214040ea7a..b9e4bdd009af29e5f1cde128df81de0708286ac2 100644
--- a/cc/resources/picture_layer_tiling_set.h
+++ b/cc/resources/picture_layer_tiling_set.h
@@ -42,6 +42,10 @@ class CC_EXPORT PictureLayerTilingSet {
size_t start;
size_t end;
};
+ struct Pair {
+ PictureLayerTilingSet* active = nullptr;
+ PictureLayerTilingSet* pending = nullptr;
+ };
static scoped_ptr<PictureLayerTilingSet> Create(
PictureLayerTilingClient* client,
@@ -114,6 +118,8 @@ class CC_EXPORT PictureLayerTilingSet {
void GetAllTilesForTracing(std::set<const Tile*>* tiles) const;
+ bool HasValidTilePriorities() const;
+
// For a given rect, iterates through tiles that can fill it. If no
// set of tiles with resources can fill the rect, then it will iterate
// through null tiles with valid geometry_rect() until the rect is full.

Powered by Google App Engine
This is Rietveld 408576698