Refactor SkBmpCodec
authormsarett <msarett@google.com>
Tue, 22 Mar 2016 15:58:35 +0000 (08:58 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 22 Mar 2016 15:58:35 +0000 (08:58 -0700)
commit1088db92348baa013511a49392178fccf03e8008
tree7321dacc53dc5d0b390e03205c96a596749a2ef2
parent4c9776b046dd5e9e46e2d1ce35154855c8fcb381
Refactor SkBmpCodec

I started working on indicating the native encoded formats
and things got really complicated for bmp.  I think starting
with this refactor may help a little, and I also think that
this is a good change by itself.

BUG=skia:4133
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1820283002

Review URL: https://codereview.chromium.org/1820283002
src/codec/SkBmpCodec.cpp
src/codec/SkBmpStandardCodec.cpp