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

Unified Diff: cc/resources/picture_layer_tiling.h

Issue 375923005: cc: Explicitly invalidate all dropped recordings on the main thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: invalid-resize: . Created 6 years, 5 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/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture_layer_tiling.h
diff --git a/cc/resources/picture_layer_tiling.h b/cc/resources/picture_layer_tiling.h
index 108b922d3dcabf6aec41f9d35fe8563883cd250a..1a74e54ddae2bc483d6cc513972e22758019e0d2 100644
--- a/cc/resources/picture_layer_tiling.h
+++ b/cc/resources/picture_layer_tiling.h
@@ -127,9 +127,8 @@ class CC_EXPORT PictureLayerTiling {
const gfx::Size& layer_bounds,
PictureLayerTilingClient* client);
gfx::Size layer_bounds() const { return layer_bounds_; }
- void SetLayerBounds(const gfx::Size& layer_bounds);
- void Invalidate(const Region& layer_region);
- void RemoveTilesInRegion(const Region& layer_region);
+ void UpdateTilesToCurrentPile(const Region& layer_invalidation,
enne (OOO) 2014/07/11 00:12:03 Ooh, this is a much better function than the previ
+ const gfx::Size& new_layer_bounds);
void CreateMissingTilesInLiveTilesRect();
void SetClient(PictureLayerTilingClient* client);
@@ -230,8 +229,6 @@ class CC_EXPORT PictureLayerTiling {
// while DidBecomeActive promotes pending priority on a similar set of tiles.
void DidBecomeRecycled();
- void UpdateTilesToCurrentPile();
-
bool NeedsUpdateForFrameAtTime(double frame_time_in_seconds) {
return frame_time_in_seconds != last_impl_frame_time_in_seconds_;
}
@@ -282,7 +279,7 @@ class CC_EXPORT PictureLayerTiling {
const;
void UpdateEvictionCacheIfNeeded(TreePriority tree_priority);
- void DoInvalidate(const Region& layer_region, bool recreate_tiles);
+ void Invalidate(const Region& layer_region);
// Given properties.
float contents_scale_;
« no previous file with comments | « cc/layers/picture_layer_impl_unittest.cc ('k') | cc/resources/picture_layer_tiling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698