commit | 895c43b28b27bb3124db3d32efd0c7219eb4a3cb | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Thu Dec 11 10:53:58 2014 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Dec 11 10:53:58 2014 -0800 |
tree | 6ddad54915062eca5db65a8ad56525540ce380b1 | |
parent | 436293a3308d58ce494d9667bd13428dd6e35236 [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