Home
last modified time | relevance | path

Searched refs:waitable (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/host/vulkan/
DDeviceOpTracker.h34 inline bool IsDone(const DeviceOpWaitable& waitable) { in IsDone() argument
35 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
DDeviceOpTracker.cpp42 void DeviceOpTracker::AddPendingGarbage(DeviceOpWaitable waitable, VkFence fence) { in AddPendingGarbage() argument
46 .waitable = std::move(waitable), in AddPendingGarbage()
56 void DeviceOpTracker::AddPendingGarbage(DeviceOpWaitable waitable, VkSemaphore semaphore) { in AddPendingGarbage() argument
60 .waitable = std::move(waitable), in AddPendingGarbage()
108 return !IsDone(pendingGarbage.waitable); in PollAndProcessGarbage()
/hardware/google/gfxstream/guest/platform/rutabaga/
DRutabagaLayer.cpp295 std::shared_future<void> waitable; member
463 for (auto& waitable : pendingWaitables) { in Wait() local
464 waitable.wait(); in Wait()
494 auto waitable = EnqueueVirtioGpuTask(contextId, std::move(task)); in TransferFromHost() local
498 resource->pendingWaitables.push_back(std::move(waitable)); in TransferFromHost()
528 auto waitable = EnqueueVirtioGpuTask(contextId, std::move(task)); in TransferToHost() local
532 resource->pendingWaitables.push_back(std::move(waitable)); in TransferToHost()
697 std::shared_future<void> waitable; in WaitOnEmulatedFence() local
709 waitable = fence.waitable; in WaitOnEmulatedFence()
712 auto status = waitable.wait_for(std::chrono::milliseconds(timeoutMilliseconds)); in WaitOnEmulatedFence()
[all …]