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

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: Created 7 years, 9 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/layers/picture_layer_impl.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 d10b93f9af0f2e55778dbb9da529732b8273ff6b..925187c6e6750a7053817d5f4e00e8bd90754281 100644
--- a/cc/layers/picture_layer_impl.h
+++ b/cc/layers/picture_layer_impl.h
@@ -46,11 +46,14 @@ class CC_EXPORT PictureLayerImpl : public LayerImpl,
// PictureLayerTilingClient overrides.
virtual scoped_refptr<Tile> CreateTile(PictureLayerTiling* tiling,
- gfx::Rect content_rect) OVERRIDE;
+ const gfx::Rect& content_rect,
+ const gfx::Rect& paint_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* GetSibling(const PictureLayerTiling* tiling) OVERRIDE;
enne (OOO) 2013/03/27 16:16:27 naming bikeshed: GetSibling => GetTwinTiling Laye
// PushPropertiesTo active tree => pending tree
void SyncFromActiveLayer();
« no previous file with comments | « no previous file | cc/layers/picture_layer_impl.cc » ('j') | cc/layers/picture_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698