• Matt Jones's avatar
    Migrate tint caching to ResourceManager · 290deb11
    Matt Jones authored
    This patch moves the responsibility of tracking which tints are used
    in a frame to the ResourceManager. When a tinted resource is requested
    the ResourceManager tracks it instead of the TabListSceneLayer. When
    a frame is finalized, the CompositorView passes a signal to the
    ResourceManager to clear out any tinted resources that were not used
    in that frame.
    
    Bug: 1111772
    Change-Id: I6f71aca94f1f05d413a4b3d0e83c39f11c4b7594
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2334992Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
    Commit-Queue: Matthew Jones <mdjones@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#795434}
    290deb11
resource_manager.h 2.63 KB