• Sunny Sachanandani's avatar
    Remove swap chain resize delay optimization · 8d79a26a
    Sunny Sachanandani authored
    This causes video corruption when swap chain is resized to a small size
    and then resized back to a large size.  If the swap chain doesn't update
    after resizing back, it will remain with the smaller size.
    
    It's also likely that this causes video corruption issues with minimize
    and restore, and with the Aero peek live preview Windows feature.
    
    Split out from crrev.com/1305198 because that change is more risky and
    we want to wait until M72 branches to land it.
    
    Bug: 908069
    Change-Id: I8a3edde507bca836dbf321b8ebc4e486415d193b
    Reviewed-on: https://chromium-review.googlesource.com/c/1352771Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
    Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#611554}
    8d79a26a
direct_composition_surface_win_unittest.cc 43.8 KB