• Mason Freed's avatar
    [CI] Adding a force-raster-color-profile flag, to get OOPIF mode tests to pass · c71f15ab
    Mason Freed authored
    With this change, there are now two color-profile related switches:
     --force-color-profile - forces the DISPLAY color profile to the desired setting.
                             Note that the name of the flag didn't change, for
                             backwards-compatibility. But it now refers to the
                             display surface only.
     --force-raster-color-profile - forces the rasterization to happen in the
                                    provided color space.
    
    The exotic-color-space virtual test suite now sets the raster color profile to
    the ColorSpin profile, and the display color profile to sRGB. All other tests
    (by default) set both color profiles to sRGB.
    
    
    Bug: 875942, 667551
    Change-Id: I66445cea5ed8dcc259a8f0bda2141350bcf66458
    Reviewed-on: https://chromium-review.googlesource.com/1205713
    Commit-Queue: Mason Freed <masonfreed@chromium.org>
    Reviewed-by: default avatarccameron <ccameron@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#589948}
    c71f15ab
screen_mac.mm 13.4 KB