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

#include <mythvisualcirclesvulkan.h>

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

Public Member Functions

 MythVisualCirclesVulkan (AudioPlayer *Audio, MythRenderVulkan *Render)
 
 ~MythVisualCirclesVulkan () override
 
- Public Member Functions inherited from VideoVisualCircles
 VideoVisualCircles (AudioPlayer *Audio, MythRender *Render)
 
QString Name () override
 
- Public Member Functions inherited from VideoVisualSpectrum
 VideoVisualSpectrum (AudioPlayer *Audio, MythRender *Render)
 
 ~VideoVisualSpectrum () override
 
void Draw (QRect Area, MythPainter *Painter, QPaintDevice *Device) override
 
QString Name () override
 
void prepare () override
 
- Public Member Functions inherited from VideoVisual
 VideoVisual (AudioPlayer *audio, MythRender *render)
 
 ~VideoVisual () override
 
bool NeedsPrepare () const
 
virtual void Prepare (const QRect)
 
void add (const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p) 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 ()
 

Protected Member Functions

void DrawPriv (MythPainter *, QPaintDevice *) override
 
- Protected Member Functions inherited from VideoVisualCircles
bool InitialisePriv () override
 
- Protected Member Functions inherited from VideoVisualSpectrum
virtual bool Initialise (QRect Area)
 
- Protected Member Functions inherited from VideoVisual
VisualNodeGetNode (void)
 
void DeleteNodes (void)
 
std::chrono::milliseconds SetLastUpdate (void)
 
- Protected Member Functions inherited from MythVulkanObject
void CheckValid ()
 

Private Member Functions

MythRenderVulkanInitialiseVulkan (QRect Area) override
 
void TearDownVulkan () override
 

Private Attributes

CirclesBuffer m_pushBuffer { }
 
QRect m_vulkanArea
 

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 Attributes inherited from VideoVisualSpectrum
int m_numSamples { 64 }
 
QVector< double > m_magnitudes
 
double m_range { 1.0 }
 
LogScale m_scale
 
double m_scaleFactor { 2.0 }
 
double m_falloff { 3.0 }
 
fftw_plan m_lplan
 
fftw_plan m_rplan
 
myth_fftw_float * m_lin { nullptr }
 
myth_fftw_float * m_rin { nullptr }
 
myth_fftw_complex * m_lout { nullptr }
 
myth_fftw_complex * m_rout { nullptr }
 
- 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 18 of file mythvisualcirclesvulkan.h.

Constructor & Destructor Documentation

◆ MythVisualCirclesVulkan()

MythVisualCirclesVulkan::MythVisualCirclesVulkan ( AudioPlayer Audio,
MythRenderVulkan Render 
)

Definition at line 247 of file mythvisualcirclesvulkan.cpp.

◆ ~MythVisualCirclesVulkan()

MythVisualCirclesVulkan::~MythVisualCirclesVulkan ( )
override

Definition at line 255 of file mythvisualcirclesvulkan.cpp.

Member Function Documentation

◆ DrawPriv()

void MythVisualCirclesVulkan::DrawPriv ( MythPainter ,
QPaintDevice *   
)
overrideprotectedvirtual

Reimplemented from VideoVisualCircles.

Definition at line 260 of file mythvisualcirclesvulkan.cpp.

◆ InitialiseVulkan()

MythRenderVulkan * MythVisualCirclesVulkan::InitialiseVulkan ( QRect  Area)
overrideprivatevirtual

Reimplemented from MythVisualVulkan.

Definition at line 305 of file mythvisualcirclesvulkan.cpp.

Referenced by DrawPriv().

◆ TearDownVulkan()

void MythVisualCirclesVulkan::TearDownVulkan ( )
overrideprivatevirtual

Reimplemented from MythVisualVulkan.

Definition at line 338 of file mythvisualcirclesvulkan.cpp.

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

Member Data Documentation

◆ m_pushBuffer

CirclesBuffer MythVisualCirclesVulkan::m_pushBuffer { }
private

Definition at line 31 of file mythvisualcirclesvulkan.h.

Referenced by DrawPriv(), and InitialiseVulkan().

◆ m_vulkanArea

QRect MythVisualCirclesVulkan::m_vulkanArea
private

Definition at line 32 of file mythvisualcirclesvulkan.h.

Referenced by InitialiseVulkan(), and TearDownVulkan().


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