MythD3D9Painter Class Reference

#include <mythpainter_d3d9.h>

Inheritance diagram for MythD3D9Painter:
MythPainter

List of all members.

Public Member Functions

 MythD3D9Painter (MythRenderD3D9 *render=NULL)
 ~MythD3D9Painter ()
void SetTarget (D3D9Image *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)
virtual void DrawRect (const QRect &area, const QBrush &fillBrush, const QPen &linePen, int alpha)

Protected Member Functions

virtual MythImageGetFormatImagePriv (void)
virtual void DeleteFormatImagePriv (MythImage *im)
bool InitD3D9 (QPaintDevice *parent)
void Teardown (void)
void ClearCache (void)
void DeleteBitmaps (void)
D3D9ImageGetImageFromCache (MythImage *im)

Protected Attributes

MythRenderD3D9m_render
bool m_created_render
D3D9Imagem_target
bool m_swap_control
QMap< MythImage *, D3D9Image * > m_ImageBitmapMap
std::list< MythImage * > m_ImageExpireList
std::list< D3D9Image * > m_bitmapDeleteList
QMutex m_bitmapDeleteLock

Detailed Description

Definition at line 13 of file mythpainter_d3d9.h.


Constructor & Destructor Documentation

MythD3D9Painter::MythD3D9Painter ( MythRenderD3D9 render = NULL  ) 

Definition at line 14 of file mythpainter_d3d9.cpp.

MythD3D9Painter::~MythD3D9Painter (  ) 

Definition at line 22 of file mythpainter_d3d9.cpp.


Member Function Documentation

void MythD3D9Painter::SetTarget ( D3D9Image target  )  [inline]

Definition at line 19 of file mythpainter_d3d9.h.

void MythD3D9Painter::SetSwapControl ( bool  swap  )  [inline]

Definition at line 20 of file mythpainter_d3d9.h.

Referenced by VideoOutputD3D::Init().

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

Implements MythPainter.

Definition at line 21 of file mythpainter_d3d9.h.

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

Implements MythPainter.

Definition at line 22 of file mythpainter_d3d9.h.

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

Implements MythPainter.

Definition at line 23 of file mythpainter_d3d9.h.

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

Implements MythPainter.

Definition at line 24 of file mythpainter_d3d9.h.

void MythD3D9Painter::FreeResources ( void   )  [virtual]

Reimplemented from MythPainter.

Definition at line 67 of file mythpainter_d3d9.cpp.

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

Reimplemented from MythPainter.

Definition at line 73 of file mythpainter_d3d9.cpp.

void MythD3D9Painter::End ( void   )  [virtual]

Reimplemented from MythPainter.

Definition at line 104 of file mythpainter_d3d9.cpp.

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

Implements MythPainter.

Definition at line 146 of file mythpainter_d3d9.cpp.

void MythD3D9Painter::DrawRect ( const QRect &  area,
const QBrush &  fillBrush,
const QPen &  linePen,
int  alpha 
) [virtual]

Reimplemented from MythPainter.

Definition at line 157 of file mythpainter_d3d9.cpp.

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

Implements MythPainter.

Definition at line 35 of file mythpainter_d3d9.h.

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

Implements MythPainter.

Definition at line 191 of file mythpainter_d3d9.cpp.

Referenced by GetImageFromCache().

bool MythD3D9Painter::InitD3D9 ( QPaintDevice *  parent  )  [protected]

Definition at line 27 of file mythpainter_d3d9.cpp.

Referenced by Begin().

void MythD3D9Painter::Teardown ( void   )  [protected]

Definition at line 48 of file mythpainter_d3d9.cpp.

Referenced by InitD3D9(), and ~MythD3D9Painter().

void MythD3D9Painter::ClearCache ( void   )  [protected]

Definition at line 119 of file mythpainter_d3d9.cpp.

Referenced by FreeResources(), and Teardown().

void MythD3D9Painter::DeleteBitmaps ( void   )  [protected]

Definition at line 134 of file mythpainter_d3d9.cpp.

Referenced by Begin(), FreeResources(), GetImageFromCache(), and Teardown().

D3D9Image * MythD3D9Painter::GetImageFromCache ( MythImage im  )  [protected]

Definition at line 202 of file mythpainter_d3d9.cpp.

Referenced by DrawImage().


Member Data Documentation

Definition at line 44 of file mythpainter_d3d9.h.

Referenced by InitD3D9(), MythD3D9Painter(), and Teardown().

Definition at line 45 of file mythpainter_d3d9.h.

Referenced by Begin(), and End().

Definition at line 46 of file mythpainter_d3d9.h.

Referenced by Begin(), and End().

Definition at line 47 of file mythpainter_d3d9.h.

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

Definition at line 48 of file mythpainter_d3d9.h.

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

Definition at line 49 of file mythpainter_d3d9.h.

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

Definition at line 50 of file mythpainter_d3d9.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
Generated on Mon May 28 06:42:15 2012 for MythTV by  doxygen 1.6.3