#include <mythpainter_d3d9.h>
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 MythImage * | GetFormatImagePriv (void) |
| virtual void | DeleteFormatImagePriv (MythImage *im) |
| bool | InitD3D9 (QPaintDevice *parent) |
| void | Teardown (void) |
| void | ClearCache (void) |
| void | DeleteBitmaps (void) |
| D3D9Image * | GetImageFromCache (MythImage *im) |
Protected Attributes | |
| MythRenderD3D9 * | m_render |
| bool | m_created_render |
| D3D9Image * | m_target |
| bool | m_swap_control |
| QMap< MythImage *, D3D9Image * > | m_ImageBitmapMap |
| std::list< MythImage * > | m_ImageExpireList |
| std::list< D3D9Image * > | m_bitmapDeleteList |
| QMutex | m_bitmapDeleteLock |
Definition at line 13 of file mythpainter_d3d9.h.
| 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.
| 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().
Definition at line 202 of file mythpainter_d3d9.cpp.
Referenced by DrawImage().
MythRenderD3D9* MythD3D9Painter::m_render [protected] |
Definition at line 43 of file mythpainter_d3d9.h.
Referenced by Begin(), DrawRect(), End(), GetImageFromCache(), InitD3D9(), MythD3D9Painter(), and Teardown().
bool MythD3D9Painter::m_created_render [protected] |
Definition at line 44 of file mythpainter_d3d9.h.
Referenced by InitD3D9(), MythD3D9Painter(), and Teardown().
D3D9Image* MythD3D9Painter::m_target [protected] |
Definition at line 45 of file mythpainter_d3d9.h.
bool MythD3D9Painter::m_swap_control [protected] |
Definition at line 46 of file mythpainter_d3d9.h.
QMap<MythImage *, D3D9Image*> MythD3D9Painter::m_ImageBitmapMap [protected] |
Definition at line 47 of file mythpainter_d3d9.h.
Referenced by ClearCache(), DeleteFormatImagePriv(), GetImageFromCache(), and Teardown().
std::list<MythImage *> MythD3D9Painter::m_ImageExpireList [protected] |
Definition at line 48 of file mythpainter_d3d9.h.
Referenced by ClearCache(), DeleteFormatImagePriv(), GetImageFromCache(), and Teardown().
std::list<D3D9Image*> MythD3D9Painter::m_bitmapDeleteList [protected] |
Definition at line 49 of file mythpainter_d3d9.h.
Referenced by ClearCache(), DeleteBitmaps(), DeleteFormatImagePriv(), and Teardown().
QMutex MythD3D9Painter::m_bitmapDeleteLock [protected] |
Definition at line 50 of file mythpainter_d3d9.h.
Referenced by ClearCache(), DeleteBitmaps(), and DeleteFormatImagePriv().
1.6.3