[Webkit-unassigned] [Bug 236935] [WebGPU] Use block-based callbacks instead of C function pointer callbacks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 20 01:03:13 PST 2022


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

--- Comment #1 from Myles C. Maxfield <mmaxfield at apple.com> ---
It turns out we can't actually use this just yet because blocks have to be copyable, which means any lambdas we convert to blocks have to be copyable, but in the GPU Process we receive a CompletionHandler to call back with a reply, but CompletionHandlers are not copyable, so we can't construct the block to pass in to WebGPU.framework.

-- 
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/20220220/8b6bce0e/attachment.htm>


More information about the webkit-unassigned mailing list