[Webkit-unassigned] [Bug 250314] [WPE][WebGL][Canvas][Compositing] Threaded compositor may use a 3D canvas target FBO texture before the WebGL rendering has finished

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 12 10:37:54 PST 2023


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

--- Comment #6 from Loïc Le Page <llepage at igalia.com> ---
Solution 2 in previous comment is not viable because it introduces a desynchronization between the WebGL rendering cycle and the output compositing.

When drawing in a canvas on requestAnimationFrame() on Javascript side, we expect that the actual drawing would happen before the next requestAnimationFrame() event. Solution 2 would break that contract.

So far, the optimal solution seems to be 1b if fences are available, with an automatic fallback to 1a if not.

-- 
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/20230112/4b396388/attachment.htm>


More information about the webkit-unassigned mailing list