MythTV
master
mythtv
libs
libmythui
vulkan
mythpainterwindowvulkan.h
Go to the documentation of this file.
1
#ifndef MYTHPAINTERWINDOWVULKAN_H
2
#define MYTHPAINTERWINDOWVULKAN_H
3
4
// MythTV
5
#include "
mythpainterwindow.h
"
6
7
class
QVulkanInstance;
8
class
MythWindowVulkan
;
9
10
#define MYTH_PAINTER_VULKAN QString("Vulkan")
11
12
class
MythPainterWindowVulkan
:
public
MythPainterWindow
13
{
14
public
:
15
explicit
MythPainterWindowVulkan
(
MythMainWindow
* MainWindow);
16
~MythPainterWindowVulkan
()
override
;
17
18
bool
IsValid
(
void
)
const
;
19
MythWindowVulkan
*
GetVulkanWindow
(
void
);
20
void
paintEvent
(QPaintEvent* PaintEvent)
override
;
21
void
resizeEvent
(QResizeEvent* ResizeEvent)
override
;
22
23
private
:
24
Q_DISABLE_COPY(
MythPainterWindowVulkan
)
25
26
bool
m_valid
{
false
};
27
MythMainWindow
*
m_parent
{
nullptr
};
28
QVulkanInstance*
m_vulkan
{
nullptr
};
29
QWidget*
m_wrapper
{
nullptr
};
30
MythWindowVulkan
*
m_window
{
nullptr
};
31
};
32
33
#endif
MythPainterWindowVulkan::m_window
MythWindowVulkan * m_window
Definition:
mythpainterwindowvulkan.h:30
bool
bool
Definition:
pxsup2dast.c:30
MythPainterWindowVulkan::paintEvent
void paintEvent(QPaintEvent *PaintEvent) override
Definition:
mythpainterwindowvulkan.cpp:83
MythPainterWindow
Definition:
mythpainterwindow.h:34
MythPainterWindowVulkan::m_vulkan
QVulkanInstance * m_vulkan
Definition:
mythpainterwindowvulkan.h:28
MythPainterWindowVulkan::m_wrapper
QWidget * m_wrapper
Definition:
mythpainterwindowvulkan.h:29
MythPainterWindowVulkan::resizeEvent
void resizeEvent(QResizeEvent *ResizeEvent) override
Definition:
mythpainterwindowvulkan.cpp:88
MythWindowVulkan
Definition:
mythwindowvulkan.h:10
MythPainterWindowVulkan::~MythPainterWindowVulkan
~MythPainterWindowVulkan() override
Definition:
mythpainterwindowvulkan.cpp:63
mythpainterwindow.h
MythPainterWindowVulkan::MythPainterWindowVulkan
MythPainterWindowVulkan(MythMainWindow *MainWindow)
Definition:
mythpainterwindowvulkan.cpp:14
MythPainterWindowVulkan::GetVulkanWindow
MythWindowVulkan * GetVulkanWindow(void)
Definition:
mythpainterwindowvulkan.cpp:78
MythPainterWindowVulkan::IsValid
bool IsValid(void) const
Definition:
mythpainterwindowvulkan.cpp:73
MythPainterWindowVulkan
Definition:
mythpainterwindowvulkan.h:12
MythPainterWindowVulkan::m_valid
bool m_valid
Definition:
mythpainterwindowvulkan.h:26
MythMainWindow
Definition:
mythmainwindow.h:28
MythPainterWindowVulkan::m_parent
MythMainWindow * m_parent
Definition:
mythpainterwindowvulkan.h:27
Generated on Tue Jan 7 2025 03:18:37 for MythTV by
1.8.17