Searched refs:from_pool (Results 1 – 6 of 6) sorted by relevance
110 pub fn from_pool(device: Arc<Device>) -> Result<Event, EventError> { in from_pool() method354 let event = Event::from_pool(device.clone()).unwrap(); in event_pool()360 let event2 = Event::from_pool(device.clone()).unwrap(); in event_pool()
170 pub fn from_pool(device: Arc<Device>) -> Result<Semaphore, SemaphoreError> { in from_pool() method1597 let sem = Semaphore::from_pool(device.clone()).unwrap(); in semaphore_pool()1603 let sem2 = Semaphore::from_pool(device.clone()).unwrap(); in semaphore_pool()
200 pub fn from_pool(device: Arc<Device>) -> Result<Fence, FenceError> { in from_pool() method1736 let fence = Fence::from_pool(device.clone()).unwrap(); in fence_pool()1742 let fence2 = Fence::from_pool(device.clone()).unwrap(); in fence_pool()
42 semaphore: Arc::new(Semaphore::from_pool(device).unwrap()), in then_signal_semaphore()
45 let fence = Arc::new(Fence::from_pool(device.clone()).unwrap()); in then_signal_fence()
1485 let semaphore = Arc::new(Semaphore::from_pool(swapchain.device.clone())?); in acquire_next_image()1486 let fence = Fence::from_pool(swapchain.device.clone())?; in acquire_next_image()