wgpu/wgpu-core/src
Jim Blandy 8d73e5a9cd [core] Refactor LifetimeTracker::triage_resources.
Check whether the resource is abandoned first, since none of the rest
of the work is necessary otherwise.

Rename `non_referenced_resources` to `last_resources`. This function
copes with various senses in which the resource might be referenced or
not. Instead, `last_resources` is the name of the `ActiveSubmission`
member this may point to, which is more specific.

Move the use of `last_resources` immediately after its production.
2024-05-14 04:38:43 -04:00
..
command chore: apply unused_qualifications lint via cargo +1.78.0 fix && cargo fmt 2024-05-13 10:10:54 -04:00
device [core] Refactor LifetimeTracker::triage_resources. 2024-05-14 04:38:43 -04:00
init_tracker Add typos to Repository CI (#5191) 2024-02-05 12:30:29 -05:00
lock [core] Implement downgrade for the lock module's RwLocks. 2024-05-03 13:06:00 -04:00
track [core] Doc fixes for lifetime management, minor typos. 2024-05-14 04:38:43 -04:00
binding_model.rs [core] Make Hub members and related types pub(crate), not pub. (#5502) 2024-04-10 19:52:16 -04:00
conv.rs Arcanization of wgpu core resources (#3626) 2023-11-20 08:41:52 +01:00
error.rs Remove G parameter in Global<G> and generic IdentityHandlerFactory (#5159) 2024-01-29 15:37:57 +01:00
global.rs [core] Make Hub members and related types pub(crate), not pub. (#5502) 2024-04-10 19:52:16 -04:00
hal_api.rs Fix surfaces only compatible with first enabled backend (#5535) 2024-04-17 15:32:04 -04:00
hash_utils.rs BGL Weak Pointer Deduplication Pool (#4927) 2024-01-02 09:27:22 -05:00
hub.rs Fix surfaces only compatible with first enabled backend (#5535) 2024-04-17 15:32:04 -04:00
id.rs chore: apply unused_qualifications lint via cargo +1.78.0 fix && cargo fmt 2024-05-13 10:10:54 -04:00
identity.rs [core] Enforce a deadlock-free locking order for Mutexes. 2024-04-22 18:49:03 -07:00
instance.rs chore: apply unused_qualifications lint via cargo +1.78.0 fix && cargo fmt 2024-05-13 10:10:54 -04:00
lib.rs [core] Enforce a deadlock-free locking order for Mutexes. 2024-04-22 18:49:03 -07:00
pipeline.rs Add get_compilation_info (#5410) 2024-04-29 11:35:36 +02:00
pool.rs [core] Enforce a deadlock-free locking order for Mutexes. 2024-04-22 18:49:03 -07:00
present.rs [core] Use lock::RwLock in Buffer and Texture. 2024-04-25 01:28:21 -04:00
registry.rs [core] Use lock::RwLock in Registry. 2024-04-25 01:28:21 -04:00
resource.rs chore: apply unused_qualifications lint via cargo +1.78.0 fix && cargo fmt 2024-05-13 10:10:54 -04:00
snatch.rs [core] Include SnatchLock in lock rankings. 2024-04-25 01:28:21 -04:00
storage.rs [core] Make Hub members and related types pub(crate), not pub. (#5502) 2024-04-10 19:52:16 -04:00
validation.rs chore: apply unused_qualifications lint via cargo +1.78.0 fix && cargo fmt 2024-05-13 10:10:54 -04:00