5 #ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_QUEUE_VK_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_QUEUE_VK_H_
39 vk::Result
Submit(
const vk::SubmitInfo& submit_info,
40 const vk::Fence& fence)
const;
42 vk::Result
Submit(
const vk::Fence& fence)
const;
44 vk::Result
Present(
const vk::PresentInfoKHR& present_info);
49 mutable Mutex queue_mutex_;
52 const vk::Queue queue_ IPLR_GUARDED_BY(queue_mutex_);
75 uint32_t queue_family_index);
A thread safe object that can be used to access device queues. If multiple objects are created with t...
QueueVK(QueueIndexVK index, vk::Queue queue)
const QueueIndexVK & GetIndex() const
void InsertDebugMarker(std::string_view label) const
vk::Result Present(const vk::PresentInfoKHR &present_info)
vk::Result Submit(const vk::SubmitInfo &submit_info, const vk::Fence &fence) const
constexpr bool operator==(const QueueIndexVK &other) const
The collection of queues used by the context. The queues may all be the same.
static QueuesVK FromEmbedderQueue(vk::Queue queue, uint32_t queue_family_index)
static QueuesVK FromQueueIndices(const vk::Device &device, QueueIndexVK graphics, QueueIndexVK compute, QueueIndexVK transfer)
std::shared_ptr< QueueVK > compute_queue
std::shared_ptr< QueueVK > transfer_queue
std::shared_ptr< QueueVK > graphics_queue