commit | 808ce2886d732b1055f89c8fb0f1b11b47fcb0ce | [log] [tgz] |
---|---|---|
author | halcanary <halcanary@google.com> | Tue Dec 08 19:02:36 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Dec 08 19:02:36 2015 -0800 |
tree | fbb1a9fcb101de69988a9550583bfdf521116ca2 | |
parent | e77f2daec9aefa1cb406e4572f435de68be7d43e [diff] |
default SkPixelSerializer Add SkImageEncoder::EncodeData(const SkPixmap&, ...) function. Add SkImageEncoder::CreatePixelSerializer() to return a PixelSerializer that calls into SkImageEncoder::EncodeData. SkImage::encode() make use of SkImageEncoder::CreatePixelSerializer. Committed: https://skia.googlesource.com/skia/+/b0bd1516bff3f5afcbfd615e805867531657811b Review URL: https://codereview.chromium.org/1507123002