We've had too many regressions around context loss and video playback. We need to add a test. This test should ensure that after a gpu crash we're able to continue rendering valid video frames.
The graphics-dev@ list has some information on how to do this:
https://groups.google.com/a/chromium.org/d/msg/graphics-dev/TKFwuPjRNfU/5g0Vtv2mEQAJ
Video playback should survive both chrome://gpuclean and chrome://gpucrash. If GPU memory buffers are in place, we'd expect some green frames currently, but initiating playback should clear them. So I recommend a pixel test which starts with a paused video, uses one of the above methods to kill gpu data, and then starts playback again. The video should be short, but > 4 frames, such that the last frame can be retrieved upon ended and checked for presence.
Comment 1 by dalecur...@chromium.org
, Today (4 hours ago)