diff options
author | Brian Osman <brianosman@google.com> | 2017-12-19 14:44:12 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-20 14:09:34 +0000 |
commit | a12f795f4ab4b97d31acfd8bfbbbb6e06a70e999 (patch) | |
tree | f3c132ed909a214ac67e3352f1f2d965d1a10dc9 /resources/empty_images/zero-height.bmp | |
parent | b5086961f335d6757a88ce7507c445485aaba2e6 (diff) |
Fix Adobe RGB color space in Skia
Our runtime definition of the XYZ matrix was fairly inaccurate. It also
didn't round-trip through ICC fixed point correctly. Now, constructing the
color space at runtime produces exactly the same matrix as constructing
the space from the ICC profile. And the values can then be serialized back
to ICC exactly. This eliminates the need for the snapping logic, too.
Bug: skia:
Change-Id: I69f4a9bfec3eeef153935e21ab3a0630794b1607
Reviewed-on: https://skia-review.googlesource.com/84840
Reviewed-by: Brian Osman <brianosman@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Brian Osman <brianosman@google.com>
Diffstat (limited to 'resources/empty_images/zero-height.bmp')
0 files changed, 0 insertions, 0 deletions