Stop using GpuMemoryBufferVideoFramePool when WebMediaPlayerMS is hidden
This CL adds calls to track when WebMediaPlayerMS is hidden or shown, so that in the time period we can skip creating GMB backed frames. For that time period, frames aren't going to be displayed, so copying them to GMBs is extra work which should be avoided. Bug: 653200 Change-Id: I67e55c7f1150b434d82321ac90a08c7c3e3e6336 Reviewed-on: https://chromium-review.googlesource.com/954339Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Dan Sanders <sandersd@chromium.org> Commit-Queue: Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/master@{#542950}
Showing
Please register or sign in to comment