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 QueueVK
s.
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 |
vk::Result | Submit (const vk::Fence &fence) const |
vk::Result | Present (const vk::PresentInfoKHR &present_info) |
void | InsertDebugMarker (std::string_view 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 QueueVK
s.
Definition at line 31 of file queue_vk.h.
impeller::QueueVK::QueueVK | ( | QueueIndexVK | index, |
vk::Queue | queue | ||
) |
Definition at line 13 of file queue_vk.cc.
|
default |
const QueueIndexVK & impeller::QueueVK::GetIndex | ( | ) | const |
Definition at line 18 of file queue_vk.cc.
void impeller::QueueVK::InsertDebugMarker | ( | std::string_view | label | ) | const |
vk::Result impeller::QueueVK::Present | ( | const vk::PresentInfoKHR & | present_info | ) |
Definition at line 33 of file queue_vk.cc.
vk::Result impeller::QueueVK::Submit | ( | const vk::Fence & | fence | ) | const |
Definition at line 28 of file queue_vk.cc.
vk::Result impeller::QueueVK::Submit | ( | const vk::SubmitInfo & | submit_info, |
const vk::Fence & | fence | ||
) | const |
Definition at line 22 of file queue_vk.cc.