commit | ac41bac40f5a80d2bc5ccec584c23478a6900179 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Fri Jul 08 06:33:16 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Jul 08 06:33:16 2016 -0700 |
tree | 923db53d051d849d57e82cc35c573733324a56dd | |
parent | 0e56972e5f69f75cf098fec10687f128430c13e6 [diff] |
Move sRGB <-> linear conversion components to their own files. This makes them a little easier to use outside SkColorXform code. I've added some notes about how best to use them and their eccentricities, and added a test. Ultimately any software sRGB <-> linear conversion should funnel somehow through here. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2128893002 CQ_EXTRA_TRYBOTS=client.skia.android:Test-Android-GCC-Nexus5-CPU-NEON-Arm7-Release-Trybot;client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/45e58c8807179638980aae8503573b950b844e4c Review-Url: https://codereview.chromium.org/2128893002