diff options
author | robert.bradford <robert.bradford@intel.com> | 2015-05-06 04:09:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-06 11:10:30 +0000 |
commit | ab052495c02e7552aeacf7d82c28f9d72eba6564 (patch) | |
tree | 5a65c81f089653eb89f8d6f1bc173657c48c35a2 /chromeos/chromeos_switches.cc | |
parent | 71de1f947da5a61e7b36a82e2806e7b243a93e74 (diff) | |
download | chromium_src-ab052495c02e7552aeacf7d82c28f9d72eba6564.zip chromium_src-ab052495c02e7552aeacf7d82c28f9d72eba6564.tar.gz chromium_src-ab052495c02e7552aeacf7d82c28f9d72eba6564.tar.bz2 |
Reland "Load and apply a vcgt table from an ICC file to the internal display"
When the command line switch --internal-display-color-profile-file is provided
load the given ICC file using qcms and extract the VCGT data. Use this VCGT
data to apply a gamma ramp to change the output on the internal display using
drmModeCrtcSetGammaRamp.
Original CL: https://codereview.chromium.org/1028563003/
Reason for reland: Linux ChromiumOS GN (dbg) build broke (missing qcms dep in
ash/BUILD.gn)
BUG=471749
TEST=On a link_freon device add the command line option to load a sample ICC
file (e.g. Bluish.icc to give a blue tint) and observe on startup that the
internal display is blue tinted.
TBR=sievers@chromium.org
Review URL: https://codereview.chromium.org/1119113004
Cr-Commit-Position: refs/heads/master@{#328514}
Diffstat (limited to 'chromeos/chromeos_switches.cc')
-rw-r--r-- | chromeos/chromeos_switches.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromeos/chromeos_switches.cc b/chromeos/chromeos_switches.cc index b3c074e9..586f7d9 100644 --- a/chromeos/chromeos_switches.cc +++ b/chromeos/chromeos_switches.cc @@ -210,6 +210,10 @@ const char kHostPairingOobe[] = "host-pairing-oobe"; const char kIgnoreUserProfileMappingForTests[] = "ignore-user-profile-mapping-for-tests"; +// File to load internal display ICC file from. +const char kInternalDisplayColorProfileFile[] = + "internal-display-color-profile-file"; + // Enables Chrome-as-a-login-manager behavior. const char kLoginManager[] = "login-manager"; |