-
Sunny Sachanandani authored
SkiaRenderer renders washed out colors when using PQ color space with a RGB10A2 surface. This happens in M81 because the default color space and buffer format for HDR was changed to PQ and RGB10A2 on Windows. The root cause is that the default PQ SkColorSpace uses normalized luminance values whereas Chrome needs to output scaled values based on the white point. The fix is to construct a PQish SkColorSpace using the scaling factor. This CL includes pixel tests for HDR10 and scRGB linear. The HDR10 test fails before this fix. The HDR10 test is temporarily suppressed due to infra issues causing the test to run on different Windows versions. Bug: 1058580, 1066979 Change-Id: I5a6b91631377a300010d045aaf44a9375d8ffa55 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2109254 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Zhenyao Mo <zmo@chromium.org> Reviewed-by:
ccameron <ccameron@chromium.org> Reviewed-by:
kylechar <kylechar@chromium.org> Reviewed-by:
Brian Osman <brianosman@google.com> Cr-Commit-Position: refs/heads/master@{#755529}
26dae69e