Description[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.
Committed: https://crrev.com/f53fdccff6804b1a262551898ddb11ad6d9e336c
Cr-Commit-Position: refs/heads/master@{#383839}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|