skia2/dm
scroggo f24f2247c2 Add SkCodec, including PNG implementation.
DM:
Add a flag to use SkCodec instead of SkImageDecoder.

SkCodec:
Base class for codecs, allowing creation from an SkStream or an SkData.
An SkCodec, on creation, knows properties of the data like its width and height. Further calls can be used to generate the image.
TODO: Add scanline iterator

SkPngCodec:
New decoder for png. Wraps libpng. The code has been repurposed from SkImageDecoder_libpng.
TODO: Handle other destination colortypes
TODO: Substitute the transpose color
TODO: Allow silencing warnings
TODO: Use RGB instead of filler?
TODO: sRGB

SkSwizzler:
Simplified version of SkScaledSampler. Unlike the sampler, this object does no sampling.
TODO: Implement other swizzles.

Requires a gclient sync to pull down libpng.

BUG=skia:3257

Committed: https://skia.googlesource.com/skia/+/ca358852b4fed656d11107b2aaf28318a4518b49
(and then reverted)

Review URL: https://codereview.chromium.org/930283002
2015-03-03 08:59:20 -08:00
..
DM.cpp Revert of XPS, DM: add SkDocument::CreateXPS (patchset #8 id:310001 of https://codereview.chromium.org/963953002/) 2015-03-03 08:34:14 -08:00
DMGpuSupport.h patch from issue 886233004 at patchset 40001 (http://crrev.com/886233004#ps40001) 2015-02-02 18:26:03 -08:00
DMJsonWriter.cpp DM: move ext into key 2015-02-17 13:18:04 -08:00
DMJsonWriter.h add -r to DM 2015-01-27 14:46:26 -08:00
DMSrcSink.cpp Add SkCodec, including PNG implementation. 2015-03-03 08:59:20 -08:00
DMSrcSink.h Revert of XPS, DM: add SkDocument::CreateXPS (patchset #8 id:310001 of https://codereview.chromium.org/963953002/) 2015-03-03 08:34:14 -08:00
DMSrcSinkAndroid.cpp Add HWUI Sink to DM on Android Framework builds 2015-02-23 12:18:05 -08:00
DMSrcSinkAndroid.h Add HWUI Sink to DM on Android Framework builds 2015-02-23 12:18:05 -08:00