• Chris Blume's avatar
    Set DisplayColorSpaces to use dynamically use sRGB · f59fc628
    Chris Blume authored
    Currently, the display color spaces on Android are set to use sRGB
    or P3 depending on wide color gamut support. When wide color gamut
    is supported, we composite in P3 always.
    
    For dynamic color gamut, we need to change compositing between
    sRGB and P3 on the fly. Most of this is already done. However, the
    display color spaces are all set to P3 when wide is supported. This
    includes when we ask for the display color space's sRGB usage.
    
    This CL sets the sRGB usage to sRGB when dynamic color spaces are
    enabled.
    
    Bug: 955158
    Change-Id: Ied9f109f90874eb8b4d83968f81cdb48dafec499
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065739
    Commit-Queue: Chris Blume <cblume@chromium.org>
    Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#743341}
    f59fc628
chrome_features.cc 36.9 KB