[Webkit-unassigned] [Bug 220833] New: texImage2d stops updating texture from playing video element
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 21 15:17:48 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220833
Bug ID: 220833
Summary: texImage2d stops updating texture from playing video
element
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: WebGL
Assignee: webkit-unassigned at lists.webkit.org
Reporter: webkitbugzilla at aminmesbah.com
CC: dino at apple.com, kbr at google.com
Created attachment 418093
--> https://bugs.webkit.org/attachment.cgi?id=418093&action=review
Minimal bug example with instructions
When a WebGL texture is being updated with frames from a playing video element
through calls to `gl.texImage2d()`, a sequence of operations will cause these
texture updates to begin silently failing.
The sequence of operations is:
- pause video
- defocus Safari
- focus Safari
- play video
- pause video
- play video
I have reproduced the issue with a minimal html/js file and public domain video,
which I've attached in a zip archive.
#### Instructions
1. Open html file in Safari and let video start playing.
2. Click 'pause' button.
3. Switch focus to another window or go to a different MacOS workspace.
4. Return focus to the Safari window.
5. Click 'play' button.
6. Click 'pause' button.
7. Click 'play' button.
- Expectation: The video texture continues to be updated as the video plays once
again from the beginning.
- Reality: The video plays, with the video's audio audible, but the texture
doesn't get updated even though `gl.texImage2d()` is being called.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210121/7185b7ff/attachment.htm>
More information about the webkit-unassigned
mailing list