[X11] Obtain colorspace info from EDID when no ICC profile is set up
This fixes an issue where display::Display::color_space()::IsValid() would always return false when no ICC profile was set up. This was causing HDR video playback to fallback to SDR even on HDR/WCG monitors. The solution is to obtain the colorspace information from the monitor's EDID. BUG=1021659 R=sky Change-Id: Iea05bc42f05112d6809887abf2b725807632e820 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1907427Reviewed-by:Scott Violet <sky@chromium.org> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Cr-Commit-Position: refs/heads/master@{#714306}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment