[Webkit-unassigned] [Bug 235043] texImage2D with ImageBitmap from a video element is slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 7 00:46:12 PST 2022


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

--- Comment #5 from Simon Taylor <simontaylor1 at ntlworld.com> ---
Using RGBA as format and internal format is recommended on Safari, RGB has a bit of a performace penalty.

Your timings do seem high though - what hardware / Safari version are you seeing this with? What's the src for the video element? What's the video resolution?

It's possible you're seeing bug 236699.

This bug is specifically about ImageBitmap from a video element being slow to upload:
createImageBitmap(this.videoElement).then(bitmap => {
   gl.texImage2d(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, bitmap);
});

-- 
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/20220307/ae95095a/attachment.htm>


More information about the webkit-unassigned mailing list