blob: ef8469a6273e87c78e47e576c7bdeca4f3aeab9b [file] [log] [blame]
* Copyright 2022 Google LLC
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#ifndef skgpu_graphite_VulkanQueueManager_DEFINED
#define skgpu_graphite_VulkanQueueManager_DEFINED
#include "src/gpu/graphite/QueueManager.h"
#include "include/gpu/vk/VulkanTypes.h"
namespace skgpu::graphite {
class VulkanSharedContext;
class VulkanQueueManager final : public QueueManager {
VulkanQueueManager(VkQueue queue, const SharedContext*);
~VulkanQueueManager() override {}
const VulkanSharedContext* vkSharedContext() const;
std::unique_ptr<CommandBuffer> getNewCommandBuffer(ResourceProvider*) override;
OutstandingSubmission onSubmitToGpu() override;
// TODO: Implement these
void startCapture() override {}
void stopCapture() override {}
VkQueue fQueue;
} // namespace skgpu::graphite
#endif // skgpu_graphite_VulkanQueueManager_DEFINED