diff options
author | msarett <msarett@google.com> | 2016-02-15 10:18:45 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-15 10:18:45 -0800 |
commit | b30d6984e6dfc185bf1eebf927343563057a7bb3 (patch) | |
tree | b019dea2fb2de94a32aaf87e4cb106e812fc182b /src/codec/SkRawCodec.h | |
parent | 8681e60b2ccd4cea37128a129f1adf6a6d59bb7d (diff) |
Fix colorType/alphaType checks in SkCodec
Make getPixels() and startScanlineDecode() behave
consistently.
Require that kGray8 decodes are opaque.
Assert that creating the swizzler succeeds.
BUG=skia:4203
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1695473002
Committed: https://skia.googlesource.com/skia/+/c7578b6cdd03b61f076ffc7956efd952d6c301c0
Review URL: https://codereview.chromium.org/1695473002
Diffstat (limited to 'src/codec/SkRawCodec.h')
0 files changed, 0 insertions, 0 deletions