MythTV  master
mythdebugvulkan.h
Go to the documentation of this file.
1 #ifndef MYTHDEBUGVULKAN_H
2 #define MYTHDEBUGVULKAN_H
3 
4 // MythTV
5 #include "libmythui/mythuiexp.h"
7 
9 {
10  public:
11  static const MythVulkan4F kDebugRed;
12  static const MythVulkan4F kDebugGreen;
13  static const MythVulkan4F kDebugBlue;
14  static const MythVulkan4F kDebugGray;
15  static const MythVulkan4F kDebugBlack;
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
MUI_PUBLIC
#define MUI_PUBLIC
Definition: mythuiexp.h:9
MythDebugVulkan
Definition: mythdebugvulkan.h:8
MythVulkanObject
Definition: mythrendervulkan.h:32
MythDebugVulkan::kDebugRed
static const MythVulkan4F kDebugRed
Definition: mythdebugvulkan.h:11
MythVulkanObject::Create
static MythVulkanObject * Create(MythRenderVulkan *Render)
Definition: mythrendervulkan.cpp:16
MythDebugVulkan::kDebugGray
static const MythVulkan4F kDebugGray
Definition: mythdebugvulkan.h:14
MythDebugVulkan::kDebugBlack
static const MythVulkan4F kDebugBlack
Definition: mythdebugvulkan.h:15
MythDebugVulkan::kDebugBlue
static const MythVulkan4F kDebugBlue
Definition: mythdebugvulkan.h:13
MythVulkan4F
std::array< float, 4 > MythVulkan4F
Definition: mythrendervulkan.h:23
Name
Definition: channelsettings.cpp:103
MythDebugVulkan::kDebugGreen
static const MythVulkan4F kDebugGreen
Definition: mythdebugvulkan.h:12
mythrendervulkan.h
mythuiexp.h
Color
Definition: graphic.h:6