diff options
author | scroggo <scroggo@google.com> | 2015-11-23 07:20:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-23 07:20:57 -0800 |
commit | 3389e00136188800b98ca69488c0418c374fd78b (patch) | |
tree | 6cbb5b6bc005e618daca29be3873f7211780ebbc /bin/ac | |
parent | a98419be092cce2a7ef27a09b6fd8065ff709cff (diff) |
Add SkPngChunkReader.
This class allows a client of SkCodec to read chunks in the data
stream that are not recognized by libpng. This is used by Android
to specify ninepatch data.
Taken from SkImageDecoder::Peeker. Modify the name of the class
and its method to be more specific to their use. Make
SkImageDecoder::Peeker a subclass of the new class, to help stage
the change in Android.
Add a test to verify that it works.
BUG=skia:4574
BUG=skia:3257
Review URL: https://codereview.chromium.org/1040453002
Diffstat (limited to 'bin/ac')
0 files changed, 0 insertions, 0 deletions