Searched refs:waitable (Results 1 – 3 of 3) sorted by relevance
34 inline bool IsDone(const DeviceOpWaitable& waitable) { in IsDone() argument35 return waitable.wait_for(std::chrono::milliseconds(0)) == std::future_status::ready; in IsDone()53 void AddPendingGarbage(DeviceOpWaitable waitable, VkFence fence);57 void AddPendingGarbage(DeviceOpWaitable waitable, VkSemaphore semaphore);79 DeviceOpWaitable waitable; member
42 void DeviceOpTracker::AddPendingGarbage(DeviceOpWaitable waitable, VkFence fence) { in AddPendingGarbage() argument46 .waitable = std::move(waitable), in AddPendingGarbage()56 void DeviceOpTracker::AddPendingGarbage(DeviceOpWaitable waitable, VkSemaphore semaphore) { in AddPendingGarbage() argument60 .waitable = std::move(waitable), in AddPendingGarbage()108 return !IsDone(pendingGarbage.waitable); in PollAndProcessGarbage()
295 std::shared_future<void> waitable; member463 for (auto& waitable : pendingWaitables) { in Wait() local464 waitable.wait(); in Wait()494 auto waitable = EnqueueVirtioGpuTask(contextId, std::move(task)); in TransferFromHost() local498 resource->pendingWaitables.push_back(std::move(waitable)); in TransferFromHost()528 auto waitable = EnqueueVirtioGpuTask(contextId, std::move(task)); in TransferToHost() local532 resource->pendingWaitables.push_back(std::move(waitable)); in TransferToHost()697 std::shared_future<void> waitable; in WaitOnEmulatedFence() local709 waitable = fence.waitable; in WaitOnEmulatedFence()712 auto status = waitable.wait_for(std::chrono::milliseconds(timeoutMilliseconds)); in WaitOnEmulatedFence()[all …]