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

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: comment format 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') | cc/resources/tile_manager.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 86f142457521e2e49fa77577bdc2291d58be0d13..bf3273abb54991ddcf805f2048bf83779cd2efaa 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -97,8 +97,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(); }
@@ -123,12 +121,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') | cc/resources/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698