diff options
| author | Brian Osman <brianosman@google.com> | 2017-11-14 11:13:54 -0500 |
|---|---|---|
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-11-14 16:33:34 +0000 |
| commit | 0387d35f599dca39cb6a5073743c245b3f12ab7d (patch) | |
| tree | 8c58a82137fe5318db76be7c1b457438d7959dc0 /gm/mixedtextblobs.cpp | |
| 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>
Diffstat (limited to 'gm/mixedtextblobs.cpp')
0 files changed, 0 insertions, 0 deletions
