DescriptionBitmapContentLayerUpdater shouldn't reallocate bitmap smaller.
BitmapContentLayerUpdater was always allocating a new bitmap if the size of the region to be drawn changed, even if the new region was smaller. These unnecessary reallocations can be very expensive because they require page faults and for the operating system to clear out the memory.
BUG=296423
R=ben@chromium.org, enne@chromium.org, vangelis@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=225751
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Messages
Total messages: 10 (0 generated)
|