|
MythTV master
|
#include <libmythtv/visualisations/opengl/mythvisualmonoscopeopengl.h>
Public Member Functions | |
| MythVisualMonoScopeOpenGL (AudioPlayer *Audio, MythRender *Render, bool Fade) | |
| ~MythVisualMonoScopeOpenGL () 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 |
| virtual void | Prepare (const QRect) |
| virtual void | Draw (QRect area, MythPainter *painter, QPaintDevice *device)=0 |
| virtual QString | Name (void)=0 |
| 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 () |
| virtual void | add (const void *b, unsigned long b_len, std::chrono::milliseconds timecode, int c, int p)=0 |
| virtual void | prepare ()=0 |
| QMutex * | mutex () |
Private Member Functions | |
| MythRenderOpenGL * | Initialise (QRect Area) |
| void | TearDown () |
Private Attributes | |
| bool | m_bufferMaps { false } |
| QOpenGLShaderProgram * | m_openglShader { nullptr } |
| VertexStatesGL | m_vbos |
| Vertices | m_vertices |
Additional Inherited Members | |
Static Public Member Functions inherited from VideoVisual | |
| static VideoVisual * | Create (const QString &name, AudioPlayer *audio, MythRender *render) |
| static QStringList | GetVisualiserList (RenderType type) |
Protected Member Functions inherited from VideoVisualMonoScope | |
| void | InitCommon (QRect Area) |
| bool | UpdateVertices (float *Buffer) |
| void | UpdateTime () |
Protected Member Functions inherited from VideoVisual | |
| VisualNode * | GetNode (void) |
| void | DeleteNodes (void) |
| std::chrono::milliseconds | SetLastUpdate (void) |
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 | |
| AudioPlayer * | m_audio { nullptr } |
| bool | m_needsPrepare { false } |
| bool | m_disabled { false } |
| QRect | m_area |
| MythRender * | m_render { nullptr } |
| QList< VisualNode * > | m_nodes |
| QDateTime | m_lastUpdate |
Definition at line 13 of file mythvisualmonoscopeopengl.h.
| MythVisualMonoScopeOpenGL::MythVisualMonoScopeOpenGL | ( | AudioPlayer * | Audio, |
| MythRender * | Render, | ||
| bool | Fade | ||
| ) |
Definition at line 5 of file mythvisualmonoscopeopengl.cpp.
|
override |
Definition at line 10 of file mythvisualmonoscopeopengl.cpp.
|
overridevirtual |
Implements VideoVisual.
Definition at line 30 of file mythvisualmonoscopeopengl.cpp.
|
private |
Definition at line 125 of file mythvisualmonoscopeopengl.cpp.
Referenced by Draw().
|
private |
Definition at line 15 of file mythvisualmonoscopeopengl.cpp.
Referenced by Initialise(), and ~MythVisualMonoScopeOpenGL().
Definition at line 25 of file mythvisualmonoscopeopengl.h.
Referenced by Draw(), and Initialise().
|
private |
Definition at line 26 of file mythvisualmonoscopeopengl.h.
Referenced by Draw(), Initialise(), and TearDown().
|
private |
Definition at line 27 of file mythvisualmonoscopeopengl.h.
Referenced by Draw(), Initialise(), and TearDown().
|
private |
Definition at line 28 of file mythvisualmonoscopeopengl.h.
Referenced by Draw(), Initialise(), and TearDown().