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

Unified Diff: cc/picture_layer_tiling_set.h

Issue 11467020: cc: Only create tilings for layers that draws content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't create tilings unless drawsContent() is true Created 8 years 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/picture_layer_impl.cc ('k') | cc/picture_layer_tiling_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer_tiling_set.h
diff --git a/cc/picture_layer_tiling_set.h b/cc/picture_layer_tiling_set.h
index afef495b82e81af688fe4d9eeb02187c88066801..bc70927a755ef9a28bc8a232812975d8706f2518 100644
--- a/cc/picture_layer_tiling_set.h
+++ b/cc/picture_layer_tiling_set.h
@@ -28,6 +28,8 @@ class CC_EXPORT PictureLayerTilingSet {
void AddTiling(float contents_scale, gfx::Size tile_size);
size_t num_tilings() const { return tilings_.size(); }
+ void Reset();
+
void UpdateTilePriorities(const gfx::Size& device_viewport,
float layer_content_scale_x,
float layer_content_scale_y,
« no previous file with comments | « cc/picture_layer_impl.cc ('k') | cc/picture_layer_tiling_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698