commit | 0387d35f599dca39cb6a5073743c245b3f12ab7d | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Tue Nov 14 11:13:54 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Nov 14 16:33:34 2017 +0000 |
tree | 8c58a82137fe5318db76be7c1b457438d7959dc0 | |
parent | ccafca0054670b02a02d6d256de490c45e787391 [diff] |
Add SkColorSpace_Base::makeColorSpin This is a utility that creates a version of an existing XYZ color space that performs our color spin operation. Assigning this to a source remaps RGB to GBR. Assigning it to a destination does the opposite (RGB to BRG). Bug: skia: Change-Id: I3528698220bd32aa01dcd3db225e60f151a4b5bd Reviewed-on: https://skia-review.googlesource.com/71280 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>