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

Unified Diff: cc/resources/managed_tile_state.h

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix. 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
Index: cc/resources/managed_tile_state.h
diff --git a/cc/resources/managed_tile_state.h b/cc/resources/managed_tile_state.h
index 3452da75afaf10fe3d7b43ce3670245e42c67fb0..f222c907c28a33535725088c1f00356cfed058c5 100644
--- a/cc/resources/managed_tile_state.h
+++ b/cc/resources/managed_tile_state.h
@@ -76,6 +76,10 @@ class CC_EXPORT ManagedTileState {
solid_color_ = color;
}
+ void set_rasterize_on_demand() {
+ mode_ = PICTURE_PILE_MODE;
+ }
+
Mode mode_;
SkColor solid_color_;

Powered by Google App Engine
This is Rietveld 408576698