Add support for F32 sources to SkColorSpaceXform
authorMatt Sarett <msarett@google.com>
Mon, 20 Mar 2017 23:06:18 +0000 (19:06 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Tue, 21 Mar 2017 12:46:37 +0000 (12:46 +0000)
commit4c55027dbf57d0701361b123e36b8fad46c341c3
treea31d6c056c414b3336d02740c1558c5d65588e44
parenteb35f4dfaa10b9d751abbc9a1406456eb3b1649d
Add support for F32 sources to SkColorSpaceXform

This also subtlely allows clients to convert between F32 and F16.

BUG=skia:

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD

Change-Id: Ied5f2295fce00c69d8cf85730be899f3f8597915
Reviewed-on: https://skia-review.googlesource.com/9914
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Matt Sarett <msarett@google.com>
gm/colorspacexform.cpp
include/core/SkColorSpaceXform.h
src/core/SkColorSpaceXform.cpp
src/core/SkColorSpaceXform_A2B.cpp
src/core/SkRasterPipeline.h
src/opts/SkRasterPipeline_opts.h