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

Unified Diff: cc/layers/picture_layer_impl.h

Issue 12865017: Makes tile-creation lazy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing last round of feedback Created 7 years, 8 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_image_layer_impl_unittest.cc ('k') | 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 a2e5a8d684b5e949a4194235ceaefa5876675e22..068e4d29770e729038aff62a8727a61dea758e19 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -54,14 +54,14 @@ class CC_EXPORT PictureLayerImpl
gfx::Rect content_rect) OVERRIDE;
virtual void UpdatePile(Tile* tile) OVERRIDE;
virtual gfx::Size CalculateTileSize(
- gfx::Size current_tile_size,
gfx::Size content_bounds) OVERRIDE;
+ virtual const Region* GetInvalidation() OVERRIDE;
+ virtual const PictureLayerTiling* GetTwinTiling(
+ const PictureLayerTiling* tiling) OVERRIDE;
// PushPropertiesTo active tree => pending tree
void SyncFromActiveLayer();
- void SyncTiling(
- const PictureLayerTiling* tiling,
- const Region& pending_layer_invalidation);
+ void SyncTiling(const PictureLayerTiling* tiling);
void CreateTilingSet();
void TransferTilingSet(scoped_ptr<PictureLayerTilingSet> tilings);
« no previous file with comments | « cc/layers/picture_image_layer_impl_unittest.cc ('k') | cc/layers/picture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698