skia2/dm
scroggo cc2feb161f Support more swizzles to 565 in SkCodec
Add more swizzling functions for swizzling to 565. Much of this
code was revived from crrev.com/1055743003 (for BMP). Also added
swizzling functions for WBMP.

Consolidate the static function conversion_possible.

In SkCodec::getPixels, check that the alphatype corresponds to the
colorType. This prevents requesting 565 + non-opaque.

In SkIcoCodec, report that the image is unpremul (instead of
whatever the largest embedded codec thinks), but modify the
requested info to have the alpha type expected/required by the
embedded codec.

Add tests for decoding to 565.

BUG=skia:3257
BUG=skia:3683

Review URL: https://codereview.chromium.org/1277213002
2015-08-14 08:32:46 -07:00
..
DM.cpp Support more swizzles to 565 in SkCodec 2015-08-14 08:32:46 -07:00
DMGpuSupport.h Add caps overrides to GMs 2015-05-27 13:23:23 -07:00
DMJsonWriter.cpp Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. 2015-07-07 12:21:22 -07:00
DMJsonWriter.h Update DM to allow Src's to have optional options. 2015-04-03 07:24:48 -07:00
DMSrcSink.cpp SkScaledCodec class 2015-08-14 07:44:46 -07:00
DMSrcSink.h Support more swizzles to 565 in SkCodec 2015-08-14 08:32:46 -07:00
DMSrcSinkAndroid.cpp Move HWUI boilerplate into utils/android 2015-03-27 12:22:01 -07:00
DMSrcSinkAndroid.h Missing overrides for Sinks in HWUI. 2015-08-03 10:20:28 -07:00