#include <mythrender_opengl2.h>
Definition at line 23 of file mythrender_opengl2.h.
| MythRenderOpenGL2::MythRenderOpenGL2 | ( | const QGLFormat & | format, | |
| QPaintDevice * | device, | |||
| RenderType | type = kRenderOpenGL2 | |||
| ) |
Definition at line 200 of file mythrender_opengl2.cpp.
| MythRenderOpenGL2::MythRenderOpenGL2 | ( | const QGLFormat & | format, | |
| RenderType | type = kRenderOpenGL2 | |||
| ) |
Definition at line 209 of file mythrender_opengl2.cpp.
| MythRenderOpenGL2::~MythRenderOpenGL2 | ( | ) | [protected, virtual] |
Definition at line 216 of file mythrender_opengl2.cpp.
| uint MythRenderOpenGL2::CreateShaderObject | ( | const QString & | vert, | |
| const QString & | frag | |||
| ) | [virtual] |
Implements MythRenderOpenGL.
Definition at line 368 of file mythrender_opengl2.cpp.
Referenced by CreateDefaultShaders().
| void MythRenderOpenGL2::DeleteShaderObject | ( | uint | obj | ) | [virtual] |
Implements MythRenderOpenGL.
Definition at line 402 of file mythrender_opengl2.cpp.
Referenced by CreateShaderObject(), and DeleteDefaultShaders().
| void MythRenderOpenGL2::EnableShaderObject | ( | uint | obj | ) | [virtual] |
Implements MythRenderOpenGL.
Definition at line 422 of file mythrender_opengl2.cpp.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), and SetShaderParams().
| void MythRenderOpenGL2::SetShaderParams | ( | uint | obj, | |
| void * | vals, | |||
| const char * | uniform | |||
| ) | [virtual] |
Implements MythRenderOpenGL.
Definition at line 445 of file mythrender_opengl2.cpp.
Referenced by DrawBitmapPriv(), and DrawRoundRectPriv().
| virtual bool MythRenderOpenGL2::RectanglesAreAccelerated | ( | void | ) | [inline, virtual] |
Reimplemented from MythRenderOpenGL.
Definition at line 35 of file mythrender_opengl2.h.
| void MythRenderOpenGL2::PushTransformation | ( | const UIEffects & | fx, | |
| QPointF & | center | |||
| ) | [virtual] |
Implements MythRenderOpenGL.
Definition at line 935 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::PopTransformation | ( | void | ) | [virtual] |
Implements MythRenderOpenGL.
Definition at line 948 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::DrawBitmapPriv | ( | uint | tex, | |
| const QRect * | src, | |||
| const QRect * | dst, | |||
| uint | prog, | |||
| int | alpha, | |||
| int | red, | |||
| int | green, | |||
| int | blue | |||
| ) | [protected, virtual] |
Implements MythRenderOpenGL.
Definition at line 457 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::DrawBitmapPriv | ( | uint * | textures, | |
| uint | texture_count, | |||
| const QRectF * | src, | |||
| const QRectF * | dst, | |||
| uint | prog | |||
| ) | [protected, virtual] |
Implements MythRenderOpenGL.
Definition at line 502 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::DrawRectPriv | ( | const QRect & | area, | |
| const QBrush & | fillBrush, | |||
| const QPen & | linePen, | |||
| int | alpha | |||
| ) | [protected, virtual] |
Implements MythRenderOpenGL.
Definition at line 555 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::DrawRoundRectPriv | ( | const QRect & | area, | |
| int | cornerRadius, | |||
| const QBrush & | fillBrush, | |||
| const QPen & | linePen, | |||
| int | alpha | |||
| ) | [protected, virtual] |
Implements MythRenderOpenGL.
Definition at line 561 of file mythrender_opengl2.cpp.
Referenced by DrawRectPriv().
| void MythRenderOpenGL2::Init2DState | ( | void | ) | [protected, virtual] |
Reimplemented from MythRenderOpenGL.
Definition at line 225 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::InitProcs | ( | void | ) | [protected, virtual] |
Reimplemented from MythRenderOpenGL.
Reimplemented in MythRenderOpenGL2ES.
Definition at line 314 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::DeleteShaders | ( | void | ) | [protected, virtual] |
Implements MythRenderOpenGL.
Definition at line 953 of file mythrender_opengl2.cpp.
Referenced by DeleteOpenGLResources().
| bool MythRenderOpenGL2::InitFeatures | ( | void | ) | [protected, virtual] |
Reimplemented from MythRenderOpenGL.
Reimplemented in MythRenderOpenGL2ES.
Definition at line 268 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::ResetVars | ( | void | ) | [protected, virtual] |
Reimplemented from MythRenderOpenGL.
Definition at line 230 of file mythrender_opengl2.cpp.
Referenced by MythRenderOpenGL2().
| void MythRenderOpenGL2::ResetProcs | ( | void | ) | [protected, virtual] |
Reimplemented from MythRenderOpenGL.
Definition at line 241 of file mythrender_opengl2.cpp.
Referenced by MythRenderOpenGL2().
| void MythRenderOpenGL2::DeleteOpenGLResources | ( | void | ) | [protected, virtual] |
Reimplemented from MythRenderOpenGL.
Definition at line 910 of file mythrender_opengl2.cpp.
Referenced by ~MythRenderOpenGL2().
| void MythRenderOpenGL2::SetMatrixView | ( | void | ) | [protected, virtual] |
Implements MythRenderOpenGL.
Definition at line 918 of file mythrender_opengl2.cpp.
| void MythRenderOpenGL2::CreateDefaultShaders | ( | void | ) | [protected] |
Definition at line 798 of file mythrender_opengl2.cpp.
Referenced by MythRenderOpenGL2ES::InitFeatures(), and InitFeatures().
| void MythRenderOpenGL2::DeleteDefaultShaders | ( | void | ) | [protected] |
Definition at line 814 of file mythrender_opengl2.cpp.
Referenced by DeleteOpenGLResources(), MythRenderOpenGL2ES::InitFeatures(), and InitFeatures().
| uint MythRenderOpenGL2::CreateShader | ( | int | type, | |
| const QString & | source | |||
| ) | [protected] |
Definition at line 823 of file mythrender_opengl2.cpp.
Referenced by CreateShaderObject().
Definition at line 851 of file mythrender_opengl2.cpp.
Referenced by CreateShaderObject().
Definition at line 868 of file mythrender_opengl2.cpp.
Referenced by ValidateShaderObject().
| void MythRenderOpenGL2::OptimiseShaderSource | ( | QString & | source | ) | [protected] |
Definition at line 890 of file mythrender_opengl2.cpp.
Referenced by CreateShaderObject().
QHash<GLuint, MythGLShaderObject> MythRenderOpenGL2::m_shader_objects [protected] |
Definition at line 71 of file mythrender_opengl2.h.
Referenced by CreateShaderObject(), DeleteShaderObject(), DeleteShaders(), DrawBitmapPriv(), EnableShaderObject(), and ValidateShaderObject().
uint MythRenderOpenGL2::m_shaders[kShaderCount] [protected] |
Definition at line 72 of file mythrender_opengl2.h.
Referenced by CreateDefaultShaders(), DeleteDefaultShaders(), DrawBitmapPriv(), DrawRoundRectPriv(), and ResetVars().
uint MythRenderOpenGL2::m_active_obj [protected] |
Definition at line 75 of file mythrender_opengl2.h.
Referenced by EnableShaderObject(), and ResetVars().
float MythRenderOpenGL2::m_projection[4][4] [protected] |
Definition at line 76 of file mythrender_opengl2.h.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), ResetVars(), and SetMatrixView().
QStack<GLMatrix> MythRenderOpenGL2::m_transforms [protected] |
Definition at line 77 of file mythrender_opengl2.h.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), PopTransformation(), PushTransformation(), and ResetVars().
float MythRenderOpenGL2::m_parameters[4][4] [protected] |
Definition at line 78 of file mythrender_opengl2.h.
Referenced by DrawRoundRectPriv(), and ResetVars().
QString MythRenderOpenGL2::m_qualifiers [protected] |
Definition at line 79 of file mythrender_opengl2.h.
Referenced by InitProcs(), and OptimiseShaderSource().
QString MythRenderOpenGL2::m_GLSLVersion [protected] |
Definition at line 80 of file mythrender_opengl2.h.
Referenced by InitProcs(), and OptimiseShaderSource().
Definition at line 83 of file mythrender_opengl2.h.
Referenced by CreateShader(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 84 of file mythrender_opengl2.h.
Referenced by CreateShader(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 85 of file mythrender_opengl2.h.
Referenced by CreateShader(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 86 of file mythrender_opengl2.h.
Referenced by CreateShader(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 87 of file mythrender_opengl2.h.
Referenced by InitFeatures(), InitProcs(), ResetProcs(), and ValidateShaderObject().
Definition at line 88 of file mythrender_opengl2.h.
Referenced by CreateShader(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 89 of file mythrender_opengl2.h.
Referenced by DeleteShaderObject(), DeleteShaders(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 90 of file mythrender_opengl2.h.
Referenced by CreateShader(), DeleteShaderObject(), DeleteShaders(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 92 of file mythrender_opengl2.h.
Referenced by CreateShaderObject(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 93 of file mythrender_opengl2.h.
Referenced by InitFeatures(), InitProcs(), ResetProcs(), and ValidateShaderObject().
Definition at line 94 of file mythrender_opengl2.h.
Referenced by EnableShaderObject(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 95 of file mythrender_opengl2.h.
Referenced by DeleteShaderObject(), DeleteShaders(), and InitProcs().
Definition at line 96 of file mythrender_opengl2.h.
Referenced by CheckObjectStatus(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 97 of file mythrender_opengl2.h.
Referenced by CheckObjectStatus(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 99 of file mythrender_opengl2.h.
Referenced by InitFeatures(), InitProcs(), ResetProcs(), and SetShaderParams().
MYTH_GLUNIFORM4FPROC MythRenderOpenGL2::m_glUniform4f [protected] |
Definition at line 100 of file mythrender_opengl2.h.
Referenced by InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 101 of file mythrender_opengl2.h.
Referenced by InitFeatures(), InitProcs(), ResetProcs(), and SetShaderParams().
Definition at line 102 of file mythrender_opengl2.h.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 103 of file mythrender_opengl2.h.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 104 of file mythrender_opengl2.h.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), InitFeatures(), InitProcs(), and ResetProcs().
Definition at line 105 of file mythrender_opengl2.h.
Referenced by InitFeatures(), InitProcs(), ResetProcs(), and ValidateShaderObject().
Definition at line 106 of file mythrender_opengl2.h.
Referenced by DrawBitmapPriv(), DrawRoundRectPriv(), InitFeatures(), InitProcs(), and ResetProcs().
1.6.3