Support Float32 output from SkColorSpaceXform
authormsarett <msarett@google.com>
Fri, 16 Sep 2016 18:45:58 +0000 (11:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 16 Sep 2016 18:45:59 +0000 (11:45 -0700)
commitc0444615ed76360f680619ad4d1f92cda6181a50
tree4c534202035fd7094967d435e2d986ef9f6ab7d8
parentbfef32ff0ac743b10995985b891f5fd09fe918db
Support Float32 output from SkColorSpaceXform

* Adds Float32 support to SkColorSpaceXform
* Changes API to allows clients to ask for F32, updates clients to
  new API
* Adds Sk4f_load4 and Sk4f_store4 to SkNx
* Make use of new xform in SkGr.cpp

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339233003
CQ_INCLUDE_TRYBOTS=master.client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot

Committed: https://skia.googlesource.com/skia/+/43d6651111374b5d1e4ddd9030dcf079b448ec47
Review-Url: https://codereview.chromium.org/2339233003
15 files changed:
bench/ColorCodecBench.cpp
gm/colorspacexform.cpp [new file with mode: 0644]
gyp/bench.gyp
src/codec/SkCodecPriv.h
src/codec/SkJpegCodec.cpp
src/codec/SkPngCodec.cpp
src/codec/SkPngCodec.h
src/codec/SkWebpCodec.cpp
src/core/SkColorSpaceXform.cpp
src/core/SkColorSpaceXform.h
src/core/SkNx.h
src/opts/SkNx_neon.h
src/opts/SkNx_sse.h
tests/ColorSpaceXformTest.cpp
tests/SkNxTest.cpp