#include <VulkanQueueManager.h>
Definition at line 19 of file VulkanQueueManager.h.
◆ VulkanQueueManager()
skgpu::graphite::VulkanQueueManager::VulkanQueueManager |
( |
VkQueue |
queue, |
|
|
const SharedContext * |
sharedContext |
|
) |
| |
Definition at line 17 of file VulkanQueueManager.cpp.
19 , fQueue(queue) {
20}
QueueManager(const SharedContext *sharedContext)
◆ ~VulkanQueueManager()
skgpu::graphite::VulkanQueueManager::~VulkanQueueManager |
( |
| ) |
|
|
inlineoverride |
◆ getNewCommandBuffer()
Implements skgpu::graphite::QueueManager.
Definition at line 26 of file VulkanQueueManager.cpp.
27 {
28 VulkanResourceProvider* vkResourceProvider =
29 static_cast<VulkanResourceProvider*>(resourceProvider);
30
32 return cmdBuffer;
33}
static std::unique_ptr< VulkanCommandBuffer > Make(const VulkanSharedContext *, VulkanResourceProvider *)
◆ onSubmitToGpu()
Implements skgpu::graphite::QueueManager.
Definition at line 50 of file VulkanQueueManager.cpp.
50 {
52 VulkanCommandBuffer* vkCmdBuffer =
54 if (!vkCmdBuffer->submit(fQueue)) {
56 return nullptr;
57 }
58
59 std::unique_ptr<GpuWorkSubmission> submission(
61 return submission;
62}
std::unique_ptr< CommandBuffer > fCurrentCommandBuffer
The documentation for this class was generated from the following files: