commit | 0c4aba6edb9900c597359dfa49d3ce4a41bc5dd1 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Tue Dec 09 05:23:12 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 09 05:23:12 2014 -0800 |
tree | 0a78e9be1fabb6165e41abaadb15c5e5096f0ff2 | |
parent | 8d95ffa497091d0c9c7cda099684c7bca6714a17 [diff] |
Replace EncodeBitmap with an interface. Gives more flexibility to the caller to decide whether to use the encoded data returned by refEncodedData(). Provides an implementation that supports the old version of SkPicture::serialize(). TODO: Update Chrome, so we can remove SK_LEGACY_ENCODE_BITMAP entirely BUG=skia:3190 Review URL: https://codereview.chromium.org/784643002