A thread safe object that can be used to access device queues. If multiple objects are created with the same underlying queue, then the external synchronization guarantees of Vulkan queues cannot be met. So care must be taken the same device queue doesn't form the basis of multiple QueueVKs.
More...
#include <queue_vk.h>
Public Member Functions | |
| QueueVK (QueueIndexVK index, vk::Queue queue) | |
| ~QueueVK () | |
| const QueueIndexVK & | GetIndex () const |
| vk::Result | Submit (const vk::SubmitInfo &submit_info, const vk::Fence &fence) const |
| void | InsertDebugMarker (const char *label) const |
A thread safe object that can be used to access device queues. If multiple objects are created with the same underlying queue, then the external synchronization guarantees of Vulkan queues cannot be met. So care must be taken the same device queue doesn't form the basis of multiple QueueVKs.
Definition at line 31 of file queue_vk.h.
| impeller::QueueVK::QueueVK | ( | QueueIndexVK | index, |
| vk::Queue | queue | ||
| ) |
Definition at line 11 of file queue_vk.cc.
|
default |
| const QueueIndexVK & impeller::QueueVK::GetIndex | ( | ) | const |
Definition at line 16 of file queue_vk.cc.
| void impeller::QueueVK::InsertDebugMarker | ( | const char * | label | ) | const |
| vk::Result impeller::QueueVK::Submit | ( | const vk::SubmitInfo & | submit_info, |
| const vk::Fence & | fence | ||
| ) | const |
Definition at line 20 of file queue_vk.cc.