• jbauman's avatar
    Enable partial texture upload support for browser compositor with Surfaces · 9bfb1a58
    jbauman authored
    This requires that previously-used textures be returned to the browser compositor before a commit, so they can be uploaded to. This saves memory by reducing the number of textures that need to be created.
    
    Also avoid releasing old textures from renderers on SubmitFrame, as that can be unnecessarily expensive if both the old and new frames reference the same textures.
    
    BUG=446588,446417,446414
    
    Review URL: https://codereview.chromium.org/843633003
    
    Cr-Commit-Position: refs/heads/master@{#310737}
    9bfb1a58
layer_tree_host_impl.cc 126 KB