[Webkit-unassigned] [Bug 212260] New: requestAnimationFrame conflict with WebGL video playback

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 22 05:41:59 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=212260

            Bug ID: 212260
           Summary: requestAnimationFrame conflict with WebGL video
                    playback
           Product: WebKit
           Version: Safari 13
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebGL
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dustin.kerstein at gmail.com
                CC: dino at apple.com

Created attachment 400040

  --> https://bugs.webkit.org/attachment.cgi?id=400040&action=review

Replication video

Check out https://jsfiddle.net/9sfr8dj3 using Safari. 

This one is a little quirky. When the issue happens (about 20% of the time on my 2018 Macbook Pro), texture updates will freeze and the entire tab becomes sluggish (rAF drops to ~5fps on my device). Note that if you are unable to replicate at first using the JSFiddle, just keep hitting the 'Play Again' button until it does replicate. 

Some additional notes:

1. Happens with both video.src as URL video.src as and Blob (try toggling 'useBlob' in the JSFiddle)
2. Using setInterval/setTimeout avoids this issue (try toggling 'useRAF' in the JSFidddle)
3. Having the <video> tag visible on the page avoids this issue (try toggling 'showBothCanvasAndVideoTag' in the JSFidddle)

Let me know if there's any further debug I can get.

-- 
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/20200522/5d29828f/attachment.htm>


More information about the webkit-unassigned mailing list