diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-10 18:20:23 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-12-10 18:20:23 +0000 |
commit | 6f9286202831dd807daf9b1e39271da8f390210e (patch) | |
tree | f7e3b9377b0924346ce6b69fd8b22e2196655783 /include/utils | |
parent | dee54be428017a81f13519291a03baac11d61602 (diff) |
When 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.
Review URL: https://codereview.appspot.com/6903063
git-svn-id: http://skia.googlecode.com/svn/trunk@6740 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/utils')
0 files changed, 0 insertions, 0 deletions