mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
webgpu: Implement onSubmittedWorkDone (#31772)
* Implement onSubmittedWorkDone * Use rust closures for callback & actually remove entries from hashmap. * Remove hashmap * Fix warnings * Update expectations * clean flaky crashes * re * Update components/script/dom/gpuqueue.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
08ef158d4e
commit
62a916ce5c
6 changed files with 1442 additions and 3109 deletions
|
@ -991,8 +991,7 @@ dictionary GPURenderBundleEncoderDescriptor : GPURenderPassLayout {
|
|||
interface GPUQueue {
|
||||
undefined submit(sequence<GPUCommandBuffer> buffers);
|
||||
|
||||
//TODO:
|
||||
//Promise<undefined> onSubmittedWorkDone();
|
||||
Promise<undefined> onSubmittedWorkDone();
|
||||
|
||||
[Throws]
|
||||
undefined writeBuffer(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue