Searched refs:fence_pool (Results 1 – 2 of 2) sorted by relevance
63 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() function489 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()
165 fence_pool: Mutex<Vec<ash::vk::Fence>>, field386 fence_pool: Mutex::new(Vec::new()), in new()540 pub(crate) fn fence_pool(&self) -> &Mutex<Vec<ash::vk::Fence>> { in fence_pool() method541 &self.fence_pool in fence_pool()650 for &raw_fence in self.fence_pool.lock().unwrap().iter() { in drop()