[Webkit-unassigned] [Bug 277603] Poor video texture upload performance

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 12 04:02:48 PDT 2024


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

--- Comment #6 from Kimmo Kinnunen <kkinnunen at apple.com> ---
Thanks for the report.
>From the video, I cannot see the Safari janks. It's a bit shaky and blurry and such.
Locally on macOS Sequoia preview comparing Chrome and Safari, I cannot immediately observe Safari being overly janky. This of course might just be my eyes failing to see it.

The likely mechanism of the janks is drawing two frames and then jumping ahead. The likely root causes of these are:
 1. rAF running before the platform/GPU process has informed the web content process of the frame switch
 2. A bug in the video texture caching mechanism (texture upload thinks the video element frame did not change and skips the upload, when in reality it did change.


In 1., we might not be able to trigger the video frame increment at reliable intervals, rather the jitter in the video frame deltas would interact with rAF.

Will investigate a bit.

-- 
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/20240812/20e0ce60/attachment.htm>


More information about the webkit-unassigned mailing list