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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 868803002: cc: Change the activation/ready for draw check from layer to queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years, 11 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') | no next file with comments »
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 1e8da5bd26c20cea07d91e0175b5d111d598d102..9838947806fae59478088c38fb2641b08411f016 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -98,8 +98,6 @@ class CC_EXPORT PictureLayerImpl
bool IsOnActiveOrPendingTree() const;
// Virtual for testing.
virtual bool HasValidTilePriorities() const;
- bool AllTilesRequiredForActivationAreReadyToDraw() const;
- bool AllTilesRequiredForDrawAreReadyToDraw() const;
// Used for benchmarking
RasterSource* GetRasterSource() const { return raster_source_.get(); }
@@ -124,12 +122,6 @@ class CC_EXPORT PictureLayerImpl
PictureLayerImpl* GetRecycledTwinLayer() const;
void SanityCheckTilingState() const;
- // Checks if all tiles required for a certain action (e.g. activation) are
- // ready to draw. is_tile_required_callback gets called on all candidate
- // tiles and returns true if the tile is required for the action.
- bool AllTilesRequiredAreReadyToDraw(
- TileRequirementCheck is_tile_required_callback) const;
-
bool ShouldAdjustRasterScaleDuringScaleAnimations() const;
void GetDebugBorderProperties(SkColor* color, float* width) const override;
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698