wgpu/tests
Brad Werth 56d9d32a07
[wgpu-core] Ensure that DeviceLostCallback is always called exactly once
* Ensure device lost closure is called exactly once before being dropped.

This requires a change to the Rust callback signature, which is now Fn
instead of FnOnce. When the Rust callback or the C closure are dropped,
they will panic if they haven't been called. `device_drop` is changed
to call the closure with a message of "Device dropped." A test is added.
2023-12-19 23:16:10 +00:00
..
src Remove DX11 backend (#4828) 2023-12-06 15:12:46 -05:00
tests [wgpu-core] Ensure that DeviceLostCallback is always called exactly once 2023-12-19 23:16:10 +00:00
Cargo.toml Revamp Examples to Match Website (#4765) 2023-11-25 17:20:11 -05:00