Index: cc/resources/tile_manager.cc |
diff --git a/cc/resources/tile_manager.cc b/cc/resources/tile_manager.cc |
index 6fa8f910d95310a37d63dd18f25d73295894b961..4356f13d1fa3adadc12bf45c4a169cafbec5dfcd 100644 |
--- a/cc/resources/tile_manager.cc |
+++ b/cc/resources/tile_manager.cc |
@@ -591,8 +591,12 @@ void TileManager::AssignGpuMemoryToTiles() { |
mts.bin[LOW_PRIORITY_BIN] == NOW_BIN) |
bytes_that_exceeded_memory_budget_in_now_bin += tile_bytes; |
FreeResourcesForTile(tile); |
+ tile->drawing_info().set_rasterize_on_demand(); |
+ tile->drawing_info().set_contents_swizzled( |
+ !PlatformColor::SameComponentOrder(tile->format_)); |
continue; |
} |
+ tile->drawing_info().set_texture(); |
reveman
2013/03/23 00:41:31
This feels a bit awkward. I think something like s
Leandro GraciĆ” Gil
2013/03/25 15:21:02
Since there is another comment for this same metho
|
bytes_left -= tile_bytes; |
mts.can_use_gpu_memory = true; |
if (!mts.drawing_info.resource_ && |