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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 672283003: cc: ReadyToDraw notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.h
diff --git a/cc/layers/picture_layer_impl.h b/cc/layers/picture_layer_impl.h
index 967b9302de217f353f8dda0e335020997f648d77..5d7fd9c0c2c4a687bbe707940dd179347cab6544 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -151,7 +151,16 @@ class CC_EXPORT PictureLayerImpl
bool IsOnActiveOrPendingTree() const;
// Virtual for testing.
virtual bool HasValidTilePriorities() const;
+ bool AllTilesRequiredAreReadyToDraw(
vmpstr 2014/10/24 18:02:23 Can you put a comment here explaining what this fu
+ const char* event_name,
vmpstr 2014/10/24 18:02:23 const std::string&?
ernstm 2014/10/27 21:13:56 Removed.
+ const base::Callback<bool(PictureLayerTiling* tiling, const Tile*)>&
+ IsTileRequiredCallback) const;
vmpstr 2014/10/24 18:02:23 this should be named as a variable, not a function
ernstm 2014/10/27 21:13:56 Done.
+ static bool IsTileRequiredForActivation(PictureLayerTiling* tiling,
vmpstr 2014/10/24 18:02:23 These should be anonymous in the implementation.
ernstm 2014/10/27 21:13:56 Done.
+ const Tile* tile);
+ static bool IsTileRequiredForDraw(PictureLayerTiling* tiling,
+ const Tile* tile);
bool AllTilesRequiredForActivationAreReadyToDraw() const;
+ bool AllTilesRequiredForDrawAreReadyToDraw() const;
protected:
friend class LayerRasterTileIterator;
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698