26std::unique_ptr<CommandBuffer> VulkanQueueManager::getNewCommandBuffer(
28 VulkanResourceProvider* vkResourceProvider =
29 static_cast<VulkanResourceProvider*
>(resourceProvider);
45 void onWaitUntilFinished(
const SharedContext*)
override {
52 VulkanCommandBuffer* vkCmdBuffer =
54 if (!vkCmdBuffer->submit(fQueue)) {
59 std::unique_ptr<GpuWorkSubmission> submission(
void waitUntilFinished(const SharedContext *sharedContext)
CommandBuffer * commandBuffer()
bool isFinished(const SharedContext *sharedContext)
const SharedContext * fSharedContext
std::unique_ptr< GpuWorkSubmission > OutstandingSubmission
std::unique_ptr< CommandBuffer > fCurrentCommandBuffer
static std::unique_ptr< VulkanCommandBuffer > Make(const VulkanSharedContext *, VulkanResourceProvider *)
VulkanQueueManager(VkQueue queue, const SharedContext *)
~VulkanWorkSubmission() override
VulkanWorkSubmission(std::unique_ptr< CommandBuffer > cmdBuffer, QueueManager *queueManager)