Descriptioncc: Recreate small layer tiles when size changes
This is a follow-up bugfix to r180264, which added support for using
smaller tiles to save memory if the layer size was smaller than a tile
size. Unfortunately, this only worked if the layer size never changed
as it cleared all the tiles and didn't recreate them.
This new patch recreates tiles for the entire layer after clearing the
old ones. If the tile size is changing, it is only going to happen for
very small layers and small numbers of tiles, so this will never in
practice be an expensive operation.
R=danakj@chromium.org
BUG=173945
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181911
Patch Set 1 #
Total comments: 4
Messages
Total messages: 9 (0 generated)
|