Skip to content
  • glevin's avatar
    Creating a "Quirks Client" to download icc files and other display info · 5dd01a7d
    glevin authored
    ("quirks") from a Quirks Server.  These provide display-specific tuning
    (e.g. gamma ramps) on a per-monitor basis.
    
    Each Quirks Client handles downloading and writing a single file.  The
    single Quirks Manager handles external requests for file paths, creates
    clients when downloads are needed, and manages their life cycle.  For
    more info, see go/cros-quirks-client-dd (particularly the "Code Design"
    section).
    
    BUG=549349
    TEST=Start up device that has a an icc file on the Quirks Server, check
    that file is downloaded to /var/cache/display_profiles.  At next startup,
    the gamma correction in the icc file should be applied to the display
    (this will only be visible to the degree that the gamma correction is
    large enough to be noticeable; the correct functioning of the Quirks
    Client is primarily determined by the appearance of the file).
    
    Review URL: https://codereview.chromium.org/1528963002
    
    Cr-Commit-Position: refs/heads/master@{#382962}
    5dd01a7d