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

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: update 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
« no previous file with comments | « cc/resources/picture_layer_tiling.h ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc1e581f5e88ba458a270881abd5367ca1b27bb0..14cd6f605fb57bd0d534b586cce5734a149219d1 100644
--- a/cc/resources/picture_layer_tiling_set.h
+++ b/cc/resources/picture_layer_tiling_set.h
@@ -36,6 +36,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,
@@ -108,6 +112,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.
« no previous file with comments | « cc/resources/picture_layer_tiling.h ('k') | cc/resources/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698