commit | 1c005e4a38e29d648ecebada25d3a718155043a3 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@chromium.org> | Tue Aug 04 09:24:45 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Aug 04 09:24:45 2015 -0700 |
tree | ccc10aa351e4c58f9ffcd53b849d9a5afc46c28b | |
parent | ddc726f1de09426557983361a0e7838a83612315 [diff] |
Create a scanline decoder without creating a codec Prior to this CL, if a client wanted to decode scanlines, they had to create an SkCodec in order to get an SkScanlineDecoder. This introduces complications if input data is not easily shared between the two objects. Instead, add methods to SkScanlineDecoder for creating a new one from input data, and remove the creation functions from SkCodec. Update DM and tests. Review URL: https://codereview.chromium.org/1267583002