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

Unified Diff: cc/tile_manager.cc

Issue 12642010: Implement on demand quad rasterization for PicturePiles. (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
Index: cc/tile_manager.cc
diff --git a/cc/tile_manager.cc b/cc/tile_manager.cc
index 4c611b91a2ecb3ca11c5b80277110b748bb83eda..848575d5c751dd5e592369cc006c16d0e52ed5a0 100644
--- a/cc/tile_manager.cc
+++ b/cc/tile_manager.cc
@@ -715,6 +715,8 @@ void TileManager::AnalyzeTile(Tile* tile) {
managed_tile_state.picture_pile_analysis.solid_color);
else if (managed_tile_state.picture_pile_analysis.is_transparent)
tile->drawing_info().set_transparent();
+ else if (!managed_tile_state.can_use_gpu_memory)
vmpstr 2013/03/13 21:03:08 I think the only way to get to this code path is i
Leandro GraciĆ” Gil 2013/03/19 17:30:07 Done.
+ tile->drawing_info().set_picture_pile();
}
}

Powered by Google App Engine
This is Rietveld 408576698