Add minimal support for readPixels in raster F16
authorbrianosman <brianosman@google.com>
Wed, 7 Sep 2016 18:30:47 +0000 (11:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 7 Sep 2016 18:30:47 +0000 (11:30 -0700)
commitc544e7043c9727fb5697120e241b6860816ef749
tree251c41dd4f339c9df9c42ce18f6e04f6dde54d3f
parentff2a6c8a70d5f7e3be99ef41c75412878785edcb
Add minimal support for readPixels in raster F16

Still doesn't support doing premul <-> unpremul conversions, but handles
the simple cases (which would previously always fail). Fixes the new gamut
gm (partially) in f16 config.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2321673002

Review-Url: https://codereview.chromium.org/2321673002
src/core/SkConfig8888.cpp