• Christopher Cameron's avatar
    Re-enable HDR on macOS · 9aaf7905
    Christopher Cameron authored
    Detect HDR capability and use it to populate DisplayColorSpaces. Add
    DisplayColorSpaces constructor that takes BufferFormat (we'll need it).
    
    Update ui::RecyclableCompositorMac to take DisplayColorSpaces instead
    of ColorSpace (they were dropping the data on the floor).
    
    Update HDRCopierLayer to use PresentsWithTransaction correctly.
    
    Bug: 1049334
    Change-Id: I17a0f75ac08e75d0b38825a38ee0d738ca634059
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2049663Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
    Commit-Queue: ccameron <ccameron@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#740374}
    9aaf7905
recyclable_compositor_mac.cc 6.46 KB