DescriptionLoad ICC file for display color correction based on display product identifier
This change adds a new member to ui::DisplaySnapshot, 'product_id',
which is populated from the EDID in DrmDisplaySnapshot when it is
created.
DisplaySnapshot::product_id() is then turned into a hexadecimal string
and used to try and load an ICC file from a common path.
BUG=471749
TEST=On a link_freon system blue-vcgt-test-color-profile.icc was copied into
/usr/share/color/icc/30e400000000.icc and the system rebooted and the display
was observed tinted blue.
Committed: https://crrev.com/772b4792fd8c99925431f4639aaf92fcd6a9ce10
Cr-Commit-Position: refs/heads/master@{#329888}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Address oshima@ feedback and rebase #
Total comments: 2
Patch Set 3 : Nuked extra {} #Messages
Total messages: 20 (7 generated)
|