Go to the documentation of this file. 1 #ifndef MYTHPAINTER_D3D9_H
2 #define MYTHPAINTER_D3D9_H
23 {
return QString(
"D3D9"); }
31 void Begin(QPaintDevice *parent)
override;
36 void DrawRect(QRect area,
const QBrush &fillBrush,
37 const QPen &linePen,
int alpha)
override;
45 bool InitD3D9(QPaintDevice *parent);
46 void ClearCache(
void);
47 void DeleteBitmaps(
void);
52 bool m_swap_control {
true};
59 #endif // MYTHPAINTER_D3D9_H
bool SupportsAlpha(void) override
std::list< D3D9Image * > m_bitmapDeleteList
bool SupportsClipping(void) override
QMutex m_bitmapDeleteLock
virtual void DrawRect(QRect area, const QBrush &fillBrush, const QPen &linePen, int alpha)
MythRenderD3D9 * m_render
virtual void DeleteFormatImagePriv(MythImage *im)=0
MythImage * GetFormatImagePriv(void) override
Creates a reference counted image, call DecrRef() to delete.
std::list< MythImage * > m_ImageExpireList
bool SupportsAnimation(void) override
void SetSwapControl(bool swap)
virtual void DrawImage(QRect dest, MythImage *im, QRect src, int alpha)=0
virtual void FreeResources(void)
void SetTarget(D3D9Image *target)
QMap< MythImage *, D3D9Image * > m_ImageBitmapMap
virtual void Teardown(void)
virtual void Begin(QPaintDevice *)
QString GetName(void) override