• Bo Liu's avatar
    aw: ReturnedResourceAvailable · 0d8d0e26
    Bo Liu authored
    Resources are only explicitly returned from OnDraw. This means it's
    possible for resources to be stuck in RenderThreadManager
    returned_resources_map_ indefinitely, if OnDraw stops.
    
    Post a task with roughly 2 frames of delay to return these resources to
    ensure that they don't get stuck indefinitely.
    
    Bug: 881957
    Change-Id: I2a6331b9251b4057125761eb9fb0aaf29c881eeb
    Reviewed-on: https://chromium-review.googlesource.com/1214700Reviewed-by: default avatarTobias Sargeant <tobiasjs@chromium.org>
    Commit-Queue: Bo <boliu@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#590501}
    0d8d0e26
render_thread_manager.h 4.51 KB