• dnicoara's avatar
    [Ozone-Drm] Refactor GPU display management · f8d98030
    dnicoara authored
    This change decouples the DisplaySnapshot from the DrmDisplay since the
    snapshot is only needed to IPC the display information to the browser
    process. Also, move all the display configuration calls into the
    DrmDisplay object to simplify state and clarify the intent of the
    operations.
    
    This change also moves the logic to parse the DRM display state into
    DisplaySnapshot objects into a common location intended to be used by
    both GPU and Browser processes. The parsing logic will be used in a
    subsequent change to allow proper parsing of display configuration on
    the browser side during startup.
    
    BUG=484294
    
    Review URL: https://codereview.chromium.org/1129923004
    
    Cr-Commit-Position: refs/heads/master@{#329462}
    f8d98030
drm.gypi 4.38 KB