• Zhenyao Mo's avatar
    RenderPass <=> DictionaryValue · ba3b6797
    Zhenyao Mo authored
    This CL import/export RenderPass data from/to DictionaryValue.
    
    Most fields are iterated through, so they are readable/modifiable in
    the JSON file. However, filters are saved as a encoded string. It
    will be implemented in the future if needs arise.
    
    The issue not to iterate through filters data is that whenever we
    update the data structure, it invalidates previously recorded data.
    
    A followup CL will add recorded render pass list JSON files from
    top sites, and use them for renderer_perftests.
    
    R=sunnyps@chromium.org
    
    Change-Id: Ieff731ca5558bc5647ff1d8d1f0e06d103dbaab0
    Bug: 1026447
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1889114
    Commit-Queue: Zhenyao Mo <zmo@chromium.org>
    Reviewed-by: default avatarccameron <ccameron@chromium.org>
    Reviewed-by: default avatarSunny Sachanandani <sunnyps@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#723654}
    ba3b6797
BUILD.gn 12.1 KB