Home
last modified time | relevance | path

Searched refs:fence_pool (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/vulkano/src/sync/
Dfence.rs63 let maybe_raw_fence = device.fence_pool().lock().unwrap().pop(); in from_pool()
347 self.device.fence_pool().lock().unwrap().push(raw_fence); in drop()
486 fn fence_pool() { in fence_pool() function
489 assert_eq!(device.fence_pool().lock().unwrap().len(), 0); in fence_pool()
492 assert_eq!(device.fence_pool().lock().unwrap().len(), 0); in fence_pool()
496 assert_eq!(device.fence_pool().lock().unwrap().len(), 1); in fence_pool()
498 assert_eq!(device.fence_pool().lock().unwrap().len(), 0); in fence_pool()
/external/rust/crates/vulkano/src/device/
Dmod.rs165 fence_pool: Mutex<Vec<ash::vk::Fence>>, field
386 fence_pool: Mutex::new(Vec::new()), in new()
540 pub(crate) fn fence_pool(&self) -> &Mutex<Vec<ash::vk::Fence>> { in fence_pool() method
541 &self.fence_pool in fence_pool()
650 for &raw_fence in self.fence_pool.lock().unwrap().iter() { in drop()