[ozone/x11] Add initial X11ScreenOzone implementation
It adds X11ScreenOzone for PlatformScreen which has basic implementation. When it creates PlatformScreen for Ozone/X11, X11ScreenOzone is created and it creates X11DisplayFetcherOzone, which communicates with 'x11::xrandr'. The way to get display information in X11DisplayFetcherOzone is similar to DesktopScreenX11. Once it builds display information from 'x11::xrandr', it adds the information to display list from X11ScreenOzone. This patch also moves 'GetICCProfileForMonitor' to x11_util.cc to share it with X11ScreenOzone. Bug: 891175 Test: ozone_x11_unittests Change-Id: I2d901f72ca2d9609ef19eef7da35bf99aec62d2a Reviewed-on: https://chromium-review.googlesource.com/c/1293290Reviewed-by:kylechar <kylechar@chromium.org> Reviewed-by:
Dan Erat <derat@chromium.org> Commit-Queue: Julie Jeongeun Kim <jkim@igalia.com> Cr-Commit-Position: refs/heads/master@{#604826}
Showing
Please register or sign in to comment