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

#include <mythpainter_vdpau.h>

Inheritance diagram for MythVDPAUPainter:
MythPainter

List of all members.

Public Member Functions

 MythVDPAUPainter (MythRenderVDPAU *render=NULL)
 ~MythVDPAUPainter ()
void SetTarget (uint target)
void SetSwapControl (bool swap)
virtual QString GetName (void)
virtual bool SupportsAnimation (void)
virtual bool SupportsAlpha (void)
virtual bool SupportsClipping (void)
virtual void FreeResources (void)
virtual void Begin (QPaintDevice *parent)
virtual void End ()
virtual void DrawImage (const QRect &dest, MythImage *im, const QRect &src, int alpha)

Protected Member Functions

virtual MythImageGetFormatImagePriv (void)
virtual void DeleteFormatImagePriv (MythImage *im)
bool InitVDPAU (QPaintDevice *parent)
void Teardown (void)
void ClearCache (void)
void DeleteBitmaps (void)
uint GetTextureFromCache (MythImage *im)

Protected Attributes

MythRenderVDPAUm_render
bool m_created_render
uint m_target
bool m_swap_control
QMap< MythImage *, uint32_tm_ImageBitmapMap
std::list< MythImage * > m_ImageExpireList
std::list< uint32_tm_bitmapDeleteList
QMutex m_bitmapDeleteLock

Detailed Description

Definition at line 13 of file mythpainter_vdpau.h.


Constructor & Destructor Documentation

Definition at line 21 of file mythpainter_vdpau.cpp.

Definition at line 29 of file mythpainter_vdpau.cpp.


Member Function Documentation

void MythVDPAUPainter::SetTarget ( uint  target) [inline]

Definition at line 19 of file mythpainter_vdpau.h.

Definition at line 20 of file mythpainter_vdpau.h.

Referenced by VideoOutputVDPAU::InitRender().

virtual QString MythVDPAUPainter::GetName ( void  ) [inline, virtual]

Implements MythPainter.

Definition at line 22 of file mythpainter_vdpau.h.

virtual bool MythVDPAUPainter::SupportsAnimation ( void  ) [inline, virtual]

Implements MythPainter.

Definition at line 23 of file mythpainter_vdpau.h.

virtual bool MythVDPAUPainter::SupportsAlpha ( void  ) [inline, virtual]

Implements MythPainter.

Definition at line 24 of file mythpainter_vdpau.h.

virtual bool MythVDPAUPainter::SupportsClipping ( void  ) [inline, virtual]

Implements MythPainter.

Definition at line 25 of file mythpainter_vdpau.h.

Reimplemented from MythPainter.

Definition at line 73 of file mythpainter_vdpau.cpp.

Referenced by Teardown().

void MythVDPAUPainter::Begin ( QPaintDevice *  parent) [virtual]

Reimplemented from MythPainter.

Definition at line 79 of file mythpainter_vdpau.cpp.

void MythVDPAUPainter::End ( void  ) [virtual]

Reimplemented from MythPainter.

Definition at line 102 of file mythpainter_vdpau.cpp.

void MythVDPAUPainter::DrawImage ( const QRect &  dest,
MythImage im,
const QRect &  src,
int  alpha 
) [virtual]

Implements MythPainter.

Definition at line 136 of file mythpainter_vdpau.cpp.

virtual MythImage* MythVDPAUPainter::GetFormatImagePriv ( void  ) [inline, protected, virtual]

Implements MythPainter.

Definition at line 34 of file mythpainter_vdpau.h.

void MythVDPAUPainter::DeleteFormatImagePriv ( MythImage im) [protected, virtual]

Implements MythPainter.

Definition at line 145 of file mythpainter_vdpau.cpp.

Referenced by GetTextureFromCache().

bool MythVDPAUPainter::InitVDPAU ( QPaintDevice *  parent) [protected]

Definition at line 34 of file mythpainter_vdpau.cpp.

Referenced by Begin().

Definition at line 55 of file mythpainter_vdpau.cpp.

Referenced by InitVDPAU(), and ~MythVDPAUPainter().

Definition at line 109 of file mythpainter_vdpau.cpp.

Referenced by Begin(), and FreeResources().

Definition at line 124 of file mythpainter_vdpau.cpp.

Referenced by Begin(), FreeResources(), and GetTextureFromCache().

Definition at line 156 of file mythpainter_vdpau.cpp.

Referenced by DrawImage().


Member Data Documentation

Definition at line 44 of file mythpainter_vdpau.h.

Referenced by InitVDPAU(), MythVDPAUPainter(), and Teardown().

Definition at line 45 of file mythpainter_vdpau.h.

Referenced by Begin(), and DrawImage().

Definition at line 46 of file mythpainter_vdpau.h.

Referenced by Begin(), and End().

Definition at line 50 of file mythpainter_vdpau.h.

Referenced by ClearCache(), DeleteBitmaps(), DeleteFormatImagePriv(), and Teardown().

Definition at line 51 of file mythpainter_vdpau.h.

Referenced by ClearCache(), DeleteBitmaps(), and DeleteFormatImagePriv().


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