• Sunny Sachanandani's avatar
    Cache video processor output view for video swap chain · 4eaa4d2f
    Sunny Sachanandani authored
    crrev.com/1318808 changed SwapChainPresenter to recreate video processor
    output view on every PresentToSwapChain in addition to lazy initializing
    the video device.  A power regression was noticed on internal AVA bots
    around the same time.  This is a speculative fix for the power
    regression by reverting to the old behavior of caching the output view.
    
    Bug: 894675
    Change-Id: I4130129951d8b9d9efa9aaeee4ba78aa1ef3f778
    Reviewed-on: https://chromium-review.googlesource.com/c/1341156
    Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org>
    Reviewed-by: default avatarZhenyao Mo <zmo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#609475}
    4eaa4d2f
direct_composition_surface_win.cc 69.8 KB