Adding swizzles for bmp:
authormsarett <msarett@google.com>
Wed, 18 Mar 2015 18:11:19 +0000 (11:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 18 Mar 2015 18:11:19 +0000 (11:11 -0700)
commiteed039b5ffbdff958053ac80b09451ad6caa1787
tree231161cc1da391effd685a5b69aeb6259c7b8d1d
parentc88e11508739f53514228f1ea487af3d7eef7f3e
Adding swizzles for bmp:
    We now support kN32 and kRGB_565 color types.
    Additionally, we support premul, unpremul, and opaque alpha types.
    Unpremul is currently untested as we cannot currently draw to unpremul.

BUG=skia:

Review URL: https://codereview.chromium.org/1013743003
src/codec/SkCodecPriv.h
src/codec/SkCodec_libbmp.cpp
src/codec/SkCodec_libbmp.h
src/codec/SkCodec_libpng.cpp
src/codec/SkMaskSwizzler.cpp
src/codec/SkMaskSwizzler.h
src/codec/SkSwizzler.cpp