[Chromecast] Clear cached video plane geometry parameters and don't run
SetGeometry when graphics plane resolution changes. Reasons for this: * When switching to an app with a different graphics plane resolution, the old video plane geometry parameters are now invalid since they were relative to the previous graphics plane. * SetGeometry should not always be run when the graphics plane resolution changes because some apps (like Backdrop) don't have a video element. BUG=internal b/27554486 TEST=All tests run on dragonfly * Switch Youtube -> Backdrop. No SetGeometry calls are made after switching to Backdrop. * Switch Youtube -> Netflix. SetGeometry calls are made for Netflix playback. * Revoke resources while playing Youtube video. Then grant resources and playback same Youtube video. SetGeometry call is made when Youtube video is played again. Review URL: https://codereview.chromium.org/1838863004 Cr-Commit-Position: refs/heads/master@{#383839}
Showing
Please register or sign in to comment