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:
Samson 2024-04-04 10:12:40 +02:00 committed by GitHub
parent 08ef158d4e
commit 62a916ce5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 1442 additions and 3109 deletions

File diff suppressed because it is too large Load diff

View file

@ -1,3 +1,3 @@
[canvas_composite_alpha_rgba8unorm_opaque_copy.https.html]
expected:
if os == "linux" and not debug: [CRASH, PASS]
if os == "linux" and not debug: [CRASH, PASS, FAIL]

View file

@ -1,3 +1,3 @@
[canvas_composite_alpha_rgba8unorm_opaque_draw.https.html]
expected:
if os == "linux" and not debug: PASS
if os == "linux" and not debug: [PASS, FAIL]