WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 237932
236935
[WebGPU] Use block-based callbacks instead of C function pointer callbacks
https://bugs.webkit.org/show_bug.cgi?id=236935
Summary
[WebGPU] Use block-based callbacks instead of C function pointer callbacks
Myles C. Maxfield
Reported
2022-02-20 01:03:01 PST
.
Attachments
WIP - Not for review
(69.41 KB, patch)
2022-02-20 01:05 PST
,
Myles C. Maxfield
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2022-02-20 01:03:13 PST
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.
Myles C. Maxfield
Comment 2
2022-02-20 01:05:07 PST
Created
attachment 452686
[details]
WIP - Not for review
Radar WebKit Bug Importer
Comment 3
2022-02-27 01:03:18 PST
<
rdar://problem/89523528
>
Myles C. Maxfield
Comment 4
2022-03-15 16:50:14 PDT
*** This bug has been marked as a duplicate of
bug 237932
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug