[CI] Adding a force-raster-color-profile flag, to get OOPIF mode tests to pass
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 <[email protected]>
Reviewed-by: ccameron <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Cr-Commit-Position: refs/heads/master@{#589948}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index d3937c5..7bc7c65 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -802,14 +802,14 @@
const FeatureEntry::Choice kForceColorProfileChoices[] = {
{flags_ui::kGenericExperimentChoiceDefault, "", ""},
- {flag_descriptions::kForceColorProfileSRGB, switches::kForceColorProfile,
- "srgb"},
- {flag_descriptions::kForceColorProfileP3, switches::kForceColorProfile,
- "display-p3-d65"},
+ {flag_descriptions::kForceColorProfileSRGB,
+ switches::kForceDisplayColorProfile, "srgb"},
+ {flag_descriptions::kForceColorProfileP3,
+ switches::kForceDisplayColorProfile, "display-p3-d65"},
{flag_descriptions::kForceColorProfileColorSpin,
- switches::kForceColorProfile, "color-spin-gamma24"},
- {flag_descriptions::kForceColorProfileHdr, switches::kForceColorProfile,
- "scrgb-linear"},
+ switches::kForceDisplayColorProfile, "color-spin-gamma24"},
+ {flag_descriptions::kForceColorProfileHdr,
+ switches::kForceDisplayColorProfile, "scrgb-linear"},
};
const FeatureEntry::FeatureParam kAutofillPreviewStyleBlackOnBlue050[] = {