commit | c7578b6cdd03b61f076ffc7956efd952d6c301c0 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Fri Feb 12 13:07:15 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 12 13:07:15 2016 -0800 |
tree | 8a3618f653636727d677e2057d1c7d93567a27b7 | |
parent | dae774eff41b36ae6511450d458060dd3d031689 [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 Review URL: https://codereview.chromium.org/1695473002