#include <mythpainter_ogl.h>

Definition at line 10 of file mythpainter_ogl.h.
Public Member Functions | |
| MythOpenGLPainter () | |
| ~MythOpenGLPainter () | |
| virtual QString | GetName (void) |
| virtual bool | SupportsAnimation (void) |
| virtual bool | SupportsAlpha (void) |
| virtual bool | SupportsClipping (void) |
| virtual void | Begin (QWidget *parent) |
| virtual void | End () |
| virtual void | DrawImage (const QRect &dest, MythImage *im, const QRect &src, int alpha) |
| virtual void | DrawText (const QRect &dest, const QString &msg, int flags, const MythFontProperties &font, int alpha) |
| virtual MythImage * | GetFormatImage () |
| virtual void | DeleteFormatImage (MythImage *im) |
Protected Member Functions | |
| void | RemoveImageFromCache (MythImage *im) |
| void | BindTextureFromCache (MythImage *im, bool alphaonly=false) |
| int | CalcAlpha (int alpha1, int alpha2) |
| int | NearestGLTextureSize (int v) |
| void | ReallyDrawText (QColor color, const QRect &r, int alpha) |
| MythImage * | GetImageFromString (const QString &msg, int flags, const QRect &r, const MythFontProperties &font) |
Protected Attributes | |
| QMap< MythImage *, unsigned int > | m_ImageIntMap |
| list< MythImage * > | m_ImageExpireList |
| QMap< QString, MythImage * > | m_StringToImageMap |
| list< QString > | m_StringExpireList |
| int | q_gl_texture |
| bool | texture_rects |
| int | m_maxTexDim |
| MythOpenGLPainter::MythOpenGLPainter | ( | ) |
Definition at line 41 of file mythpainter_ogl.cpp.
| MythOpenGLPainter::~MythOpenGLPainter | ( | ) |
Definition at line 46 of file mythpainter_ogl.cpp.
| virtual QString MythOpenGLPainter::GetName | ( | void | ) | [inline, virtual] |
| virtual bool MythOpenGLPainter::SupportsAnimation | ( | void | ) | [inline, virtual] |
| virtual bool MythOpenGLPainter::SupportsAlpha | ( | void | ) | [inline, virtual] |
| virtual bool MythOpenGLPainter::SupportsClipping | ( | void | ) | [inline, virtual] |
| void MythOpenGLPainter::Begin | ( | QWidget * | parent | ) | [virtual] |
| void MythOpenGLPainter::End | ( | void | ) | [virtual] |
| void MythOpenGLPainter::DrawImage | ( | const QRect & | dest, | |
| MythImage * | im, | |||
| const QRect & | src, | |||
| int | alpha | |||
| ) | [virtual] |
| void MythOpenGLPainter::DrawText | ( | const QRect & | dest, | |
| const QString & | msg, | |||
| int | flags, | |||
| const MythFontProperties & | font, | |||
| int | alpha | |||
| ) | [virtual] |
| MythImage * MythOpenGLPainter::GetFormatImage | ( | ) | [virtual] |
Implements MythPainter.
Definition at line 484 of file mythpainter_ogl.cpp.
Referenced by GetImageFromString().
| void MythOpenGLPainter::DeleteFormatImage | ( | MythImage * | im | ) | [virtual] |
| void MythOpenGLPainter::RemoveImageFromCache | ( | MythImage * | im | ) | [protected] |
Definition at line 114 of file mythpainter_ogl.cpp.
Referenced by BindTextureFromCache(), and DeleteFormatImage().
| int MythOpenGLPainter::CalcAlpha | ( | int | alpha1, | |
| int | alpha2 | |||
| ) | [inline, protected] |
| int MythOpenGLPainter::NearestGLTextureSize | ( | int | v | ) | [protected] |
Definition at line 92 of file mythpainter_ogl.cpp.
Referenced by BindTextureFromCache(), and GetImageFromString().
| void MythOpenGLPainter::ReallyDrawText | ( | QColor | color, | |
| const QRect & | r, | |||
| int | alpha | |||
| ) | [protected] |
| MythImage * MythOpenGLPainter::GetImageFromString | ( | const QString & | msg, | |
| int | flags, | |||
| const QRect & | r, | |||
| const MythFontProperties & | font | |||
| ) | [protected] |
QMap<MythImage *, unsigned int> MythOpenGLPainter::m_ImageIntMap [protected] |
Definition at line 44 of file mythpainter_ogl.h.
Referenced by BindTextureFromCache(), and RemoveImageFromCache().
list<MythImage *> MythOpenGLPainter::m_ImageExpireList [protected] |
Definition at line 45 of file mythpainter_ogl.h.
Referenced by BindTextureFromCache(), and RemoveImageFromCache().
QMap<QString, MythImage *> MythOpenGLPainter::m_StringToImageMap [protected] |
list<QString> MythOpenGLPainter::m_StringExpireList [protected] |
int MythOpenGLPainter::q_gl_texture [protected] |
Definition at line 50 of file mythpainter_ogl.h.
Referenced by BindTextureFromCache(), DrawImage(), and ReallyDrawText().
bool MythOpenGLPainter::texture_rects [protected] |
Definition at line 51 of file mythpainter_ogl.h.
Referenced by BindTextureFromCache(), DrawImage(), GetImageFromString(), and ReallyDrawText().
int MythOpenGLPainter::m_maxTexDim [protected] |
1.5.5