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

Unified Diff: cc/tiles/picture_layer_tiling.h

Issue 1139063002: cc: Partial tile update for one-copy raster. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: monocle: slightlylessstruct Created 5 years, 7 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
Index: cc/tiles/picture_layer_tiling.h
diff --git a/cc/tiles/picture_layer_tiling.h b/cc/tiles/picture_layer_tiling.h
index 7726f32085c8b86fc2abcf4c9a8f8ff78a760e9c..fb0307bdf643bfb77362daa267538962b6578a06 100644
--- a/cc/tiles/picture_layer_tiling.h
+++ b/cc/tiles/picture_layer_tiling.h
@@ -276,8 +276,9 @@ class CC_EXPORT PictureLayerTiling {
void SetLiveTilesRect(const gfx::Rect& live_tiles_rect);
void VerifyLiveTilesRect(bool is_on_recycle_tree) const;
Tile* CreateTile(int i, int j);
- // Returns true if the Tile existed and was removed from the tiling.
- bool RemoveTileAt(int i, int j);
+ // Returns true if the Tile existed and was removed from the tiling. If true,
+ // and |id| is not null, sets |id| to that of the removed Tile.
+ bool RemoveTileAt(int i, int j, Tile::Id* id);
reveman 2015/05/28 05:07:25 adding an 'id' output param seems a bit too specif
danakj 2015/05/28 18:54:47 I think we're making perfect the enemy of the good
bool TilingMatchesTileIndices(const PictureLayerTiling* twin) const;
// Computes a skewport. The calculation extrapolates the last visible

Powered by Google App Engine
This is Rietveld 408576698