The collection of queues used by the context. The queues may all be the same. More...
#include <queue_vk.h>
Public Member Functions | |
QueuesVK () | |
QueuesVK (std::shared_ptr< QueueVK > graphics_queue, std::shared_ptr< QueueVK > compute_queue, std::shared_ptr< QueueVK > transfer_queue) | |
bool | IsValid () const |
Static Public Member Functions | |
static QueuesVK | FromEmbedderQueue (vk::Queue queue, uint32_t queue_family_index) |
static QueuesVK | FromQueueIndices (const vk::Device &device, QueueIndexVK graphics, QueueIndexVK compute, QueueIndexVK transfer) |
Public Attributes | |
std::shared_ptr< QueueVK > | graphics_queue |
std::shared_ptr< QueueVK > | compute_queue |
std::shared_ptr< QueueVK > | transfer_queue |
The collection of queues used by the context. The queues may all be the same.
Definition at line 63 of file queue_vk.h.
|
default |
Referenced by FromEmbedderQueue(), and FromQueueIndices().
impeller::QueuesVK::QueuesVK | ( | std::shared_ptr< QueueVK > | graphics_queue, |
std::shared_ptr< QueueVK > | compute_queue, | ||
std::shared_ptr< QueueVK > | transfer_queue | ||
) |
Definition at line 50 of file queue_vk.cc.
|
static |
Definition at line 58 of file queue_vk.cc.
References impeller::QueueIndexVK::family, graphics_queue, and QueuesVK().
|
static |
Definition at line 67 of file queue_vk.cc.
References compute_queue, impeller::QueueIndexVK::family, graphics_queue, impeller::QueueIndexVK::index, QueuesVK(), impeller::ContextVK::SetDebugName(), and transfer_queue.
bool impeller::QueuesVK::IsValid | ( | ) | const |
Definition at line 104 of file queue_vk.cc.
References compute_queue, graphics_queue, and transfer_queue.
std::shared_ptr<QueueVK> impeller::QueuesVK::compute_queue |
Definition at line 65 of file queue_vk.h.
Referenced by FromQueueIndices(), and IsValid().
std::shared_ptr<QueueVK> impeller::QueuesVK::graphics_queue |
Definition at line 64 of file queue_vk.h.
Referenced by FromEmbedderQueue(), FromQueueIndices(), impeller::ContextVK::GetGraphicsQueue(), and IsValid().
std::shared_ptr<QueueVK> impeller::QueuesVK::transfer_queue |
Definition at line 66 of file queue_vk.h.
Referenced by FromQueueIndices(), and IsValid().