Commit Graph
6 Commits
Author SHA1 Message Date
Sam 9e7ae880cd [core] Implement poll_all_devices on Instance (#9829)
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
2026-07-07 19:25:01 +02:00
Kevin Reid 7bcbfe0712 wgpu-core: Adjust imports to allow no_std.
Dependencies on `std` that still exist:
* Locks
* `std::error::Error` (waiting for Rust 1.81)
* `std::os::raw::c_char` for FFI
* `thread_local` and `Backtrace` in `snatch`
2025-02-21 08:47:16 +01:00
Teodor TanasoaiaandJim Blandy 1a643291c2 Simplify WeakVec (#6587)
* simplify `WeakVec`

* iterate backwards & avoid rescans

Co-authored-by: Jim Blandy <jimb@red-bean.com>

---------

Co-authored-by: Jim Blandy <jimb@red-bean.com>
2024-11-27 07:16:11 -08:00
Xiaopeng Li 5ca92bf984 Fix leaks of WeakVec (#6576) 2024-11-21 10:47:05 +01:00
teoxoy f669024eeb [WeakVec] scan all weak references only before a reallocation would happen 2024-10-18 17:24:52 +02:00
teoxoy 8ba5c82831 minimize moves by introducing WeakVec 2024-10-18 17:24:52 +02:00