3#include "TracyMacros.hpp"
9#include <vulkan/vulkan_core.h>
11namespace Engine::Debug::Tracy {
19 class TracyVkContextManager
22 TracyVkContextManager() =
default;
23 ~TracyVkContextManager();
25 TracyVkContextManager(
const TracyVkContextManager & ) =
delete;
26 TracyVkContextManager & operator=(
const TracyVkContextManager & ) =
delete;
39 VkPhysicalDevice physicalDevice,
41 VkQueue graphicsQueue,
42 VkQueue transferQueue,
43 const std::vector<VkCommandBuffer> & graphicsCommandBuffers,
44 const std::vector<VkCommandBuffer> & transferCommandBuffers
54 const std::vector<VkCommandBuffer> & graphicsCommandBuffers,
55 const std::vector<VkCommandBuffer> & transferCommandBuffers
58 [[nodiscard]] TracyVkCtx getGraphicsContext( uint32_t frameIndex )
const;
59 [[nodiscard]] TracyVkCtx getTransferContext( uint32_t frameIndex )
const;
70 std::vector<TracyVkCtx> graphicsContexts_;
71 std::vector<TracyVkCtx> transferContexts_;