commit | c30dcb9b128887c7e16afe32fdf35105cc42380b | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Mar 12 17:04:28 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Mar 12 17:04:28 2014 +0000 |
tree | 97f55d320d7191e0f876ff9dc3ad2d1528064e62 | |
parent | 84cd099704b3896ca66081a96508572a924f850c [diff] |
Add capture snapshot as data to SkWriter32, use it to optimise record->playback. This is a new way of implementing https://codereview.chromium.org/155863005/ It uses copy on write semantics to return a buffer without copying it, so that record -> playback does not need to copy the buffer. BUG=skia:2125 R=tomhudson@google.com, mtklein@google.com, reed@google.com, iancottrell@chromium.org Author: iancottrell@google.com Review URL: https://codereview.chromium.org/167113003 git-svn-id: http://skia.googlecode.com/svn/trunk@13769 2bbb7eff-a529-9590-31e7-b0007b416f81