DescriptionWhen cloning picture, use a bitmap heap to avoid flattening bitmaps.
When cloning a picture, the paints are reflattened. Use a bitmap
heap so the bitmaps do not get unnecessarily get flattened as well.
For br.337, this speeds up bench_pictures timing the clone
operation (not yet checked in, but currently timing making five
clones) from around 180 ms to around 24ms.
Committed: https://code.google.com/p/skia/source/detail?r=6740
Patch Set 1 #Patch Set 2 : Didn't mean to create patch set 2... #
Total comments: 2
Patch Set 3 : #MessagesTotal messages: 6
|