MythTV  master
mythdebugvulkan.h
Go to the documentation of this file.
1 #ifndef MYTHDEBUGVULKAN_H
2 #define MYTHDEBUGVULKAN_H
3 
4 // MythTV
5 #include "mythuiexp.h"
7 
9 {
10  public:
11  static const MythVulkan4F s_DebugRed;
12  static const MythVulkan4F s_DebugGreen;
13  static const MythVulkan4F s_DebugBlue;
14  static const MythVulkan4F s_DebugGray;
15  static const MythVulkan4F s_DebugBlack;
16 
17  static MythDebugVulkan* Create(MythVulkanObject* Vulkan);
18 
19  void BeginRegion (VkCommandBuffer CmdBuffer, const char* Name, MythVulkan4F Color);
20  void EndRegion (VkCommandBuffer CmdBuffer);
21  void NameObject (uint64_t Object, VkDebugReportObjectTypeEXT Type, const char *Name);
22 
23  protected:
25 
26  private:
27  PFN_vkCmdDebugMarkerBeginEXT m_beginRegion { nullptr };
28  PFN_vkCmdDebugMarkerEndEXT m_endRegion { nullptr };
29  PFN_vkDebugMarkerSetObjectNameEXT m_nameObject { nullptr };
30 };
31 
32 #endif
MythDebugVulkan::s_DebugGray
static const MythVulkan4F s_DebugGray
Definition: mythdebugvulkan.h:14
MUI_PUBLIC
#define MUI_PUBLIC
Definition: mythuiexp.h:9
MythDebugVulkan
Definition: mythdebugvulkan.h:9
MythVulkanObject
Definition: mythrendervulkan.h:29
MythDebugVulkan::s_DebugGreen
static const MythVulkan4F s_DebugGreen
Definition: mythdebugvulkan.h:12
MythVulkanObject::Create
static MythVulkanObject * Create(MythRenderVulkan *Render)
Definition: mythrendervulkan.cpp:16
MythDebugVulkan::s_DebugRed
static const MythVulkan4F s_DebugRed
Definition: mythdebugvulkan.h:11
MythDebugVulkan::s_DebugBlack
static const MythVulkan4F s_DebugBlack
Definition: mythdebugvulkan.h:15
MythVulkan4F
std::array< float, 4 > MythVulkan4F
Definition: mythrendervulkan.h:19
Name
Definition: channelsettings.cpp:47
MythDebugVulkan::s_DebugBlue
static const MythVulkan4F s_DebugBlue
Definition: mythdebugvulkan.h:13
mythrendervulkan.h
mythuiexp.h
Color
Definition: graphic.h:7