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-by: Brian Osman <>
Reviewed-by: Mike Klein <>
Reviewed-by: Mike Klein <>
Commit-Queue: Brian Osman <>
1 file changed