MythTV
master
|
#include <libmythui/mythrender_base.h>
Public Member Functions | |
MythRender (RenderType type) | |
bool | IsShared (void) const |
Warning: The reference count can be decremented between the call to this function and the use of it's value. More... | |
RenderType | Type (void) const |
bool | IsErrored (void) const |
QSize | GetSize (void) const |
virtual QStringList | GetDescription () |
virtual void | SetViewPort (const QRect, bool=false) |
Public Member Functions inherited from ReferenceCounter | |
ReferenceCounter (const QString &debugName, bool logDebug=true) | |
Creates reference counter with an initial value of 1. More... | |
virtual int | IncrRef (void) |
Increments reference count. More... | |
virtual int | DecrRef (void) |
Decrements reference count and deletes on 0. More... | |
Protected Member Functions | |
~MythRender () override=default | |
virtual void | ReleaseResources (void) |
Protected Member Functions inherited from ReferenceCounter | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Protected Attributes | |
RenderType | m_type |
QSize | m_size |
bool | m_errored |
Protected Attributes inherited from ReferenceCounter | |
bool | m_logDebug |
This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
QAtomicInt | m_referenceCount {1} |
Additional Inherited Members | |
Static Public Member Functions inherited from ReferenceCounter | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
Definition at line 23 of file mythrender_base.h.
|
explicit |
Definition at line 4 of file mythrender.cpp.
|
overrideprotecteddefault |
bool MythRender::IsShared | ( | void | ) | const |
Warning: The reference count can be decremented between the call to this function and the use of it's value.
Definition at line 11 of file mythrender.cpp.
Referenced by MythPainterWindow::RenderIsShared().
|
inline |
Definition at line 32 of file mythrender_base.h.
Referenced by MythVideoOutputGPU::Create(), MythRenderVulkan::DebugVulkan(), VideoVisualGoom::Draw(), MythRenderOpenGL::GetBufferSize(), MythRenderOpenGL::GetCachedVBO(), MythRenderOpenGL::GetCachedVertices(), MythRenderOpenGL::glVertexAttribPointerI(), MythPlayerVisualiserUI::MythPlayerVisualiserUI(), and VideoVisualGoom::~VideoVisualGoom().
|
inline |
Definition at line 33 of file mythrender_base.h.
|
inline |
Definition at line 34 of file mythrender_base.h.
|
virtual |
Reimplemented in MythRenderOpenGL, and MythRenderVulkan.
Definition at line 16 of file mythrender.cpp.
Reimplemented in MythRenderOpenGL.
Definition at line 36 of file mythrender_base.h.
Referenced by MythVideoOutputGPU::Init(), and MythVideoOutputGPU::RenderFrame().
|
inlineprotectedvirtual |
Reimplemented in MythRenderOpenGL.
Definition at line 40 of file mythrender_base.h.
|
protected |
Definition at line 42 of file mythrender_base.h.
|
protected |
Definition at line 43 of file mythrender_base.h.
Referenced by MythRenderD3D9::UpdateSurface().
|
protected |
Definition at line 44 of file mythrender_base.h.