MythTV  master
Public Member Functions | Private Attributes | List of all members
MythWindowVulkan Class Reference

#include <mythwindowvulkan.h>

Inheritance diagram for MythWindowVulkan:
Inheritance graph
[legend]
Collaboration diagram for MythWindowVulkan:
Collaboration graph
[legend]

Public Member Functions

 MythWindowVulkan (MythRenderVulkan *Render)
 
 ~MythWindowVulkan () override
 
QVulkanWindowRenderer * createRenderer (void) override
 
bool event (QEvent *Event) override
 Override QVulkanWindow::event method. More...
 

Private Attributes

MythRenderVulkanm_render { nullptr }
 

Detailed Description

Definition at line 10 of file mythwindowvulkan.h.

Constructor & Destructor Documentation

◆ MythWindowVulkan()

MythWindowVulkan::MythWindowVulkan ( MythRenderVulkan Render)

Definition at line 8 of file mythwindowvulkan.cpp.

◆ ~MythWindowVulkan()

MythWindowVulkan::~MythWindowVulkan ( )
overridedefault

Member Function Documentation

◆ createRenderer()

QVulkanWindowRenderer * MythWindowVulkan::createRenderer ( void  )
override

Definition at line 24 of file mythwindowvulkan.cpp.

◆ event()

bool MythWindowVulkan::event ( QEvent *  Event)
override

Override QVulkanWindow::event method.

We need to filter out spontaneous update requests, which for QVulkanWindow trigger a call to startNextFrame, as Vulkan will spew errors if the frame is not completed - but completing the frame will swap framebuffers (with nothing rendered).

Definition at line 35 of file mythwindowvulkan.cpp.

Member Data Documentation

◆ m_render

MythRenderVulkan* MythWindowVulkan::m_render { nullptr }
private

Definition at line 21 of file mythwindowvulkan.h.

Referenced by createRenderer(), and event().


The documentation for this class was generated from the following files: