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

#include <mythvisualmonoscopevulkan.h>

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

Public Member Functions

 MythVisualMonoScopeVulkan (AudioPlayer *Audio, MythRender *Render, bool Fade)
 
 ~MythVisualMonoScopeVulkan () override
 
void Prepare (QRect Area) override
 
void Draw (QRect Area, MythPainter *, QPaintDevice *) override
 
- Public Member Functions inherited from VideoVisualMonoScope
 VideoVisualMonoScope (AudioPlayer *Audio, MythRender *Render, bool Fade)
 
QString Name () override
 
- Public Member Functions inherited from VideoVisual
 VideoVisual (AudioPlayer *audio, MythRender *render)
 
 ~VideoVisual () override
 
bool NeedsPrepare () const
 
void add (const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p) override
 
void prepare () override
 
- Public Member Functions inherited from MythTV::Visual
 Visual ()
 
virtual ~Visual ()
 
QMutex * mutex ()
 
- Public Member Functions inherited from MythVisualVulkan
 MythVisualVulkan (MythRenderVulkan *Render, std::vector< VkDynamicState > Dynamic, std::vector< int > Stages, const MythShaderMap *Sources, const MythBindingMap *Bindings)
 
virtual ~MythVisualVulkan ()
 
- Public Member Functions inherited from MythVulkanObject
 MythVulkanObject (MythRenderVulkan *Render)
 
 MythVulkanObject (MythVulkanObject *Other)
 
bool IsValidVulkan () const
 
MythRenderVulkanRender ()
 
VkDevice Device ()
 
QVulkanDeviceFunctions * Funcs ()
 
MythWindowVulkanWindow ()
 

Private Member Functions

MythRenderVulkanInitialiseVulkan (QRect Area) override
 
void TearDownVulkan () override
 

Private Attributes

VertexStates m_vertexBuffers
 
PushBuffer m_pushBuffer { }
 

Additional Inherited Members

- Static Public Member Functions inherited from VideoVisual
static VideoVisualCreate (const QString &name, AudioPlayer *audio, MythRender *render)
 
static QStringList GetVisualiserList (RenderType type)
 
- Static Public Member Functions inherited from MythVulkanObject
static MythVulkanObjectCreate (MythRenderVulkan *Render)
 
- Protected Member Functions inherited from VideoVisualMonoScope
void InitCommon (QRect Area)
 
bool UpdateVertices (float *Buffer)
 
void UpdateTime ()
 
- Protected Member Functions inherited from VideoVisual
VisualNodeGetNode (void)
 
void DeleteNodes (void)
 
std::chrono::milliseconds SetLastUpdate (void)
 
- Protected Member Functions inherited from MythVulkanObject
void CheckValid ()
 
- Protected Attributes inherited from VideoVisualMonoScope
std::chrono::milliseconds m_lastTime { 0ms }
 
float m_hue { 0.0 }
 
float m_rate { 1.0 }
 
float m_lineWidth { 1.0 }
 
float m_maxLineWidth { 1.0 }
 
bool m_fade { false }
 
- Protected Attributes inherited from VideoVisual
AudioPlayerm_audio { nullptr }
 
bool m_needsPrepare { false }
 
bool m_disabled { false }
 
QRect m_area
 
MythRenderm_render { nullptr }
 
QList< VisualNode * > m_nodes
 
QDateTime m_lastUpdate
 
- Protected Attributes inherited from MythVisualVulkan
MythShaderVulkanm_vulkanShader { nullptr }
 
VkPipeline m_pipeline { MYTH_NULL_DISPATCH }
 
VkDescriptorPool m_descriptorPool { MYTH_NULL_DISPATCH }
 
VkDescriptorSet m_projectionDescriptor { MYTH_NULL_DISPATCH }
 
MythUniformBufferVulkanm_projectionUniform { nullptr }
 
std::vector< VkDynamicState > m_dynamicState { }
 
std::vector< int > m_shaderStages { }
 
const MythShaderMapm_shaderSources { nullptr }
 
const MythBindingMapm_shaderBindings { nullptr }
 
- Protected Attributes inherited from MythVulkanObject
bool m_vulkanValid { true }
 
MythRenderVulkanm_vulkanRender { nullptr }
 
VkDevice m_vulkanDevice { nullptr }
 
QVulkanDeviceFunctions * m_vulkanFuncs { nullptr }
 
MythWindowVulkanm_vulkanWindow { nullptr }
 

Detailed Description

Definition at line 25 of file mythvisualmonoscopevulkan.h.

Constructor & Destructor Documentation

◆ MythVisualMonoScopeVulkan()

MythVisualMonoScopeVulkan::MythVisualMonoScopeVulkan ( AudioPlayer Audio,
MythRender Render,
bool  Fade 
)

Definition at line 186 of file mythvisualmonoscopevulkan.cpp.

◆ ~MythVisualMonoScopeVulkan()

MythVisualMonoScopeVulkan::~MythVisualMonoScopeVulkan ( )
override

Definition at line 196 of file mythvisualmonoscopevulkan.cpp.

Member Function Documentation

◆ Prepare()

void MythVisualMonoScopeVulkan::Prepare ( QRect  Area)
overridevirtual

Reimplemented from VideoVisual.

Definition at line 201 of file mythvisualmonoscopevulkan.cpp.

◆ Draw()

void MythVisualMonoScopeVulkan::Draw ( QRect  Area,
MythPainter ,
QPaintDevice *   
)
overridevirtual

Implements VideoVisual.

Definition at line 237 of file mythvisualmonoscopevulkan.cpp.

◆ InitialiseVulkan()

MythRenderVulkan * MythVisualMonoScopeVulkan::InitialiseVulkan ( QRect  Area)
overrideprivatevirtual

Reimplemented from MythVisualVulkan.

Definition at line 298 of file mythvisualmonoscopevulkan.cpp.

Referenced by Draw(), and Prepare().

◆ TearDownVulkan()

void MythVisualMonoScopeVulkan::TearDownVulkan ( )
overrideprivatevirtual

Reimplemented from MythVisualVulkan.

Definition at line 342 of file mythvisualmonoscopevulkan.cpp.

Referenced by InitialiseVulkan(), and ~MythVisualMonoScopeVulkan().

Member Data Documentation

◆ m_vertexBuffers

VertexStates MythVisualMonoScopeVulkan::m_vertexBuffers
private

Definition at line 38 of file mythvisualmonoscopevulkan.h.

Referenced by Draw(), InitialiseVulkan(), Prepare(), and TearDownVulkan().

◆ m_pushBuffer

PushBuffer MythVisualMonoScopeVulkan::m_pushBuffer { }
private

Definition at line 39 of file mythvisualmonoscopevulkan.h.

Referenced by Draw().


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