MythTV  0.26-pre
Public Member Functions | Protected Member Functions | Protected Attributes
MythRender Class Reference

#include <mythrender_base.h>

Inheritance diagram for MythRender:
MythRenderD3D9 MythRenderOpenGL MythRenderVDPAU MythRenderOpenGL1 MythRenderOpenGL2 MythRenderOpenGL2ES

List of all members.

Public Member Functions

 MythRender (RenderType type)
bool IsShared (void) const
void UpRef (void)
void DownRef (void)
RenderType Type (void) const
bool IsErrored (void) const
QSize GetSize (void) const
virtual void Release (void)

Protected Member Functions

virtual ~MythRender ()

Protected Attributes

RenderType m_type
QSize m_size
bool m_errored
QMutex m_refLock
int m_refCount

Detailed Description

Definition at line 17 of file mythrender_base.h.


Constructor & Destructor Documentation

MythRender::MythRender ( RenderType  type) [inline]

Definition at line 20 of file mythrender_base.h.

virtual MythRender::~MythRender ( ) [inline, protected, virtual]

Definition at line 57 of file mythrender_base.h.


Member Function Documentation

bool MythRender::IsShared ( void  ) const [inline]
void MythRender::UpRef ( void  ) [inline]

Definition at line 31 of file mythrender_base.h.

Referenced by MythRender(), and VideoOutputOpenGL::SetupContext().

void MythRender::DownRef ( void  ) [inline]
RenderType MythRender::Type ( void  ) const [inline]
bool MythRender::IsErrored ( void  ) const [inline]

Definition at line 52 of file mythrender_base.h.

Referenced by VideoOutputNullVDPAU::DrawSlice().

QSize MythRender::GetSize ( void  ) const [inline]

Definition at line 53 of file mythrender_base.h.

Referenced by VideoOutputVDPAU::PrepareFrame().

virtual void MythRender::Release ( void  ) [inline, virtual]

Reimplemented in MythRenderOpenGL.

Definition at line 54 of file mythrender_base.h.

Referenced by MythMainWindow::ShowPainterWindow().


Member Data Documentation

QSize MythRender::m_size [protected]
QMutex MythRender::m_refLock [protected]

Definition at line 62 of file mythrender_base.h.

Referenced by DownRef(), and UpRef().

Definition at line 63 of file mythrender_base.h.

Referenced by DownRef(), IsShared(), and UpRef().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends