diff options
author | Mike Klein <mtklein@chromium.org> | 2017-10-04 12:51:40 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-05 16:39:34 +0000 |
commit | 2a769859f03f69e510e3dbde58e10313012dcbf7 (patch) | |
tree | 31b7ef4168fd26320895f045b8049ee03da84e60 /tests/FloatingPointTextureTest.cpp | |
parent | 46d6c683c15bf194cc75364294230b926a083513 (diff) |
aggressively refactor pipeline building in SkColorSpaceXform
This rewrites things into 5 distinct phases:
1) load src
2) linearize src
3) gamut transform
4) apply dst transfer function and premul
5) store dst
In the existing code, steps 1+2 were really intertwined,
and we had all sorts of arbitrary restrictions on input
formats and output formats. I've removed most of those.
This is guarded by SK_COLOR_SPACE_XFORM_LEGACY_PIPELINE
for Blink layout tests. (The 35 diffs all look fine.)
Bug: skia:7114
Change-Id: Ib5f15d1ac3240a6ef202ba30acef660152beee82
Reviewed-on: https://skia-review.googlesource.com/55320
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'tests/FloatingPointTextureTest.cpp')
0 files changed, 0 insertions, 0 deletions