commit | 773f8e24214991332eaf903e72c13dca7d78d40d | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Dec 10 23:06:54 2013 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Tue Dec 10 23:06:54 2013 +0000 |
tree | e56af22de79ed9f7d8007065e68d6b97e199d00a | |
parent | 9a65e2c22dc3f0d4823520ab3d561f57ff09198c [diff] |
Avoid heap allocation in SkPictureStateTree constructor This makes empty state trees cheaper. ~1% improvement on rasterize_and_record_micro.key_silk_cases on Android. BUG=1772 R=tomhudson@chromium.org, tomhudson@google.com Author: skyostil@chromium.org Review URL: https://codereview.chromium.org/111573002 git-svn-id: http://skia.googlecode.com/svn/trunk@12616 2bbb7eff-a529-9590-31e7-b0007b416f81