New issue
Advanced search Search tips

Issue 924384 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Add context loss test for video playback.

Project Member Reported by dalecur...@chromium.org, Today (4 hours ago)

Issue description

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)

Cc: lethalantidote@chromium.org

Sign in to add a comment