MythTV
master
|
#include <mythrenderopengl.h>
Public Slots | |
void | MessageLogged (const QOpenGLDebugMessage &Message) |
void | logDebugMarker (const QString &Message) |
void | contextToBeDestroyed (void) |
Public Member Functions | |
void | ReleaseResources (void) override |
QStringList | GetDescription (void) override |
bool | IsReady (void) |
void | makeCurrent () |
void | doneCurrent () |
void | swapBuffers () |
bool | Init (void) |
int | GetMaxTextureSize (void) const |
int | GetMaxTextureUnits (void) const |
int | GetExtraFeatures (void) const |
QOpenGLFunctions::OpenGLFeatures | GetFeatures (void) const |
bool | IsRecommendedRenderer (void) |
void | SetViewPort (QRect Rect, bool ViewportOnly=false) override |
QRect | GetViewPort (void) |
void | PushTransformation (const UIEffects &Fx, QPointF &Center) |
void | PopTransformation (void) |
void | Flush (void) |
void | SetBlend (bool Enable) |
void | SetBackground (uint8_t Red, uint8_t Green, uint8_t Blue, uint8_t Alpha) |
QFunctionPointer | GetProcAddress (const QString &Proc) const |
QOpenGLBuffer * | CreateVBO (int Size, bool Release=true) |
MythGLTexture * | CreateTextureFromQImage (QImage *Image) |
QSize | GetTextureSize (QSize Size, bool Normalised) |
void | SetTextureFilters (MythGLTexture *Texture, QOpenGLTexture::Filter Filter, QOpenGLTexture::WrapMode Wrap=QOpenGLTexture::ClampToEdge) |
void | ActiveTexture (GLuint ActiveTex) |
void | DeleteTexture (MythGLTexture *Texture) |
QOpenGLFramebufferObject * | CreateFramebuffer (QSize &Size, bool SixteenBit=false) |
MythGLTexture * | CreateFramebufferTexture (QOpenGLFramebufferObject *Framebuffer) |
This is no longer used but will probably be needed for future UI enhancements. More... | |
void | DeleteFramebuffer (QOpenGLFramebufferObject *Framebuffer) |
void | BindFramebuffer (QOpenGLFramebufferObject *Framebuffer) |
void | ClearFramebuffer (void) |
QOpenGLShaderProgram * | CreateShaderProgram (const QString &Vertex, const QString &Fragment) |
QOpenGLShaderProgram * | CreateComputeShader (const QString &Source) |
void | DeleteShaderProgram (QOpenGLShaderProgram *Program) |
bool | EnableShaderProgram (QOpenGLShaderProgram *Program) |
void | SetShaderProgramParams (QOpenGLShaderProgram *Program, const QMatrix4x4 &Value, const char *Uniform) |
void | SetShaderProjection (QOpenGLShaderProgram *Program) |
void | DrawBitmap (MythGLTexture *Texture, QOpenGLFramebufferObject *Target, QRect Source, QRect Destination, QOpenGLShaderProgram *Program, int Alpha=255, qreal Scale=1.0) |
void | DrawBitmap (std::vector< MythGLTexture * > &Textures, QOpenGLFramebufferObject *Target, QRect Source, QRect Destination, QOpenGLShaderProgram *Program, int Rotation) |
void | DrawRect (QOpenGLFramebufferObject *Target, QRect Area, const QBrush &FillBrush, const QPen &LinePen, int Alpha) |
void | DrawRoundRect (QOpenGLFramebufferObject *Target, QRect Area, int CornerRadius, const QBrush &FillBrush, const QPen &LinePen, int Alpha) |
void | ClearRect (QOpenGLFramebufferObject *Target, QRect Area, int Color, int Alpha) |
An optimised method to clear a QRect to the given color. More... | |
std::tuple< int, int, int > | GetGPUMemory () |
![]() | |
MythEGL (MythRenderOpenGL *Context) | |
~MythEGL ()=default | |
bool | IsEGL (void) |
bool | HasEGLExtension (QString Extension) |
void * | GetEGLDisplay (void) |
void | eglImageTargetTexture2DOES (GLenum Target, void *Image) |
void * | eglCreateImageKHR (void *Disp, void *Context, unsigned int Target, void *Buffer, const int32_t *Attributes) |
void | eglDestroyImageKHR (void *Disp, void *Image) |
![]() | |
MythRender (RenderType type) | |
bool | IsShared (void) const |
Warning: The reference count can be decremented between the call to this function and the use of it's value. More... | |
RenderType | Type (void) const |
bool | IsErrored (void) const |
QSize | GetSize (void) const |
![]() | |
ReferenceCounter (const QString &debugName, bool logDebug=true) | |
Creates reference counter with an initial value of 1. More... | |
virtual int | IncrRef (void) |
Increments reference count. More... | |
virtual int | DecrRef (void) |
Decrements reference count and deletes on 0. More... | |
Static Public Member Functions | |
static MythRenderOpenGL * | GetOpenGLRender (void) |
static MythRenderOpenGL * | Create (QWidget *Widget) |
static int | GetTextureDataSize (MythGLTexture *Texture) |
static int | GetBufferSize (QSize Size, QOpenGLTexture::PixelFormat Format, QOpenGLTexture::PixelType Type) |
![]() | |
static qint32 | GetEGLError (void) |
static QString | GetEGLVendor (void) |
![]() | |
static void | PrintDebug (void) |
Print out any leaks if that level of debugging is enabled. More... | |
Static Public Attributes | |
static const GLuint | kVertexSize = 16 * sizeof(GLfloat) |
Protected Member Functions | |
MythRenderOpenGL (const QSurfaceFormat &Format, QWidget *Widget) | |
~MythRenderOpenGL () override | |
void | SetWidget (QWidget *Widget) |
void | Init2DState (void) |
void | SetMatrixView (void) |
void | DeleteFramebuffers (void) |
GLfloat * | GetCachedVertices (GLuint Type, QRect Area) |
void | ExpireVertices (int Max=0) |
void | GetCachedVBO (GLuint Type, QRect Area) |
void | ExpireVBOS (int Max=0) |
bool | CreateDefaultShaders (void) |
void | DeleteDefaultShaders (void) |
void | Check16BitFBO (void) |
Check for 16bit framebufferobject support. More... | |
void | glVertexAttribPointerI (GLuint Index, GLint Size, GLenum Type, GLboolean Normalize, GLsizei Stride, GLuint Value) |
![]() | |
~MythRender () override=default | |
![]() | |
virtual | ~ReferenceCounter (void) |
Called on destruction, will warn if object deleted with references in place. More... | |
Static Protected Member Functions | |
static bool | UpdateTextureVertices (MythGLTexture *Texture, QRect Source, QRect Destination, int Rotation, qreal Scale=1.0) |
Protected Attributes | |
bool | m_ready { false } |
GLuint | m_activeFramebuffer { 0 } |
GLuint | m_fence { 0 } |
std::array< QOpenGLShaderProgram *, kShaderCount > | m_defaultPrograms { nullptr } |
QOpenGLShaderProgram * | m_activeProgram { nullptr } |
QMap< uint64_t, GLfloat * > | m_cachedVertices |
QList< uint64_t > | m_vertexExpiry |
QMap< uint64_t, QOpenGLBuffer * > | m_cachedVBOS |
QList< uint64_t > | m_vboExpiry |
QMutex | m_lock { QMutex::Recursive } |
int | m_lockLevel { 0 } |
QOpenGLFunctions::OpenGLFeatures | m_features { Multitexture } |
int | m_extraFeatures { kGLFeatNone } |
int | m_extraFeaturesUsed { kGLFeatNone } |
int | m_maxTextureSize { 0 } |
int | m_maxTextureUnits { 0 } |
QRect | m_viewport |
GLuint | m_activeTexture { 0 } |
bool | m_blend { false } |
int32_t | m_background { 0x00000001 } |
bool | m_fullRange { true } |
QMatrix4x4 | m_projection |
QStack< QMatrix4x4 > | m_transforms |
QMatrix4x4 | m_parameters |
QHash< QString, QMatrix4x4 > | m_cachedMatrixUniforms |
QHash< QOpenGLShaderProgram *, QHash< QByteArray, GLint > > | m_cachedUniformLocations |
GLuint | m_vao { 0 } |
bool | m_flushEnabled { true } |
![]() | |
RenderType | m_type |
QSize | m_size |
bool | m_errored |
![]() | |
bool | m_logDebug |
This is used to suppress creating LoggingItem classes for LoggingItem reference count changes. More... | |
QAtomicInt | m_referenceCount {1} |
Private Member Functions | |
void | DebugFeatures (void) |
Private Attributes | |
QOpenGLDebugLogger * | m_openglDebugger { nullptr } |
QOpenGLDebugMessage::Types | m_openGLDebuggerFilter { QOpenGLDebugMessage::InvalidType } |
QWindow * | m_window { nullptr } |
Definition at line 96 of file mythrenderopengl.h.
|
protected |
Definition at line 123 of file mythrenderopengl.cpp.
Referenced by Create().
|
overrideprotected |
Definition at line 136 of file mythrenderopengl.cpp.
|
static |
Definition at line 66 of file mythrenderopengl.cpp.
Referenced by MythCodecContext::GetDecoders(), and MythNVDECContext::GetProfiles().
|
static |
Definition at line 82 of file mythrenderopengl.cpp.
Referenced by MythPainterWindowOpenGL::MythPainterWindowOpenGL().
|
overridevirtual |
Reimplemented from MythRender.
Definition at line 1089 of file mythrenderopengl.cpp.
Referenced by ~MythRenderOpenGL().
|
overridevirtual |
Reimplemented from MythRender.
Definition at line 1116 of file mythrenderopengl.cpp.
bool MythRenderOpenGL::IsReady | ( | void | ) |
Definition at line 508 of file mythrenderopengl.cpp.
Referenced by IsRecommendedRenderer(), and MythOpenGLPainter::~MythOpenGLPainter().
void MythRenderOpenGL::makeCurrent | ( | ) |
Definition at line 560 of file mythrenderopengl.cpp.
Referenced by ActiveTexture(), MythOpenGLPainter::Begin(), BindFramebuffer(), ClearFramebuffer(), ClearRect(), DeleteFramebuffer(), DeleteShaderProgram(), DeleteTexture(), VideoVisualGoom::Draw(), MythVisualMonoScopeOpenGL::Draw(), DrawBitmap(), DrawRoundRect(), EnableShaderProgram(), MythVideoOutputOpenGL::EndFrame(), Flush(), OpenGLLocker::OpenGLLocker(), SetBackground(), SetBlend(), MythVAAPIInteropGLX::SetPictureAttribute(), SetTextureFilters(), SetViewPort(), MythOpenGLTonemap::~MythOpenGLTonemap(), MythOpenGLVideo::~MythOpenGLVideo(), and MythVideoOutputOpenGL::~MythVideoOutputOpenGL().
void MythRenderOpenGL::doneCurrent | ( | ) |
Definition at line 568 of file mythrenderopengl.cpp.
Referenced by ActiveTexture(), BindFramebuffer(), ClearFramebuffer(), ClearRect(), DeleteFramebuffer(), DeleteShaderProgram(), DeleteTexture(), MythVisualMonoScopeOpenGL::Draw(), DrawBitmap(), DrawRoundRect(), EnableShaderProgram(), MythOpenGLPainter::End(), MythVideoOutputOpenGL::EndFrame(), Flush(), SetBackground(), SetBlend(), MythVAAPIInteropGLX::SetPictureAttribute(), SetTextureFilters(), SetViewPort(), MythOpenGLTonemap::~MythOpenGLTonemap(), MythOpenGLVideo::~MythOpenGLVideo(), MythVideoOutputOpenGL::~MythVideoOutputOpenGL(), and OpenGLLocker::~OpenGLLocker().
void MythRenderOpenGL::swapBuffers | ( | ) |
Definition at line 513 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::End(), and MythVideoOutputOpenGL::EndFrame().
bool MythRenderOpenGL::Init | ( | void | ) |
Definition at line 210 of file mythrenderopengl.cpp.
Referenced by MythPainterWindowOpenGL::MythPainterWindowOpenGL().
int MythRenderOpenGL::GetMaxTextureSize | ( | void | ) | const |
Definition at line 447 of file mythrenderopengl.cpp.
int MythRenderOpenGL::GetMaxTextureUnits | ( | void | ) | const |
Definition at line 452 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::AddDeinterlacer().
int MythRenderOpenGL::GetExtraFeatures | ( | void | ) | const |
Definition at line 457 of file mythrenderopengl.cpp.
Referenced by MythVideoTextureOpenGL::CreateSoftwareTextures(), MythVideoTextureOpenGL::CreateTexture(), MythVideoTextureOpenGL::CreateVideoFrameBuffer(), MythOpenGLVideo::MythOpenGLVideo(), MythVideoOutputOpenGL::MythVideoOutputOpenGL(), MythVideoTextureOpenGL::NV12ToNV12(), MythVideoOutputOpenGL::RenderFrame(), and MythVideoTextureOpenGL::YV12ToYV12().
QOpenGLFunctions::OpenGLFeatures MythRenderOpenGL::GetFeatures | ( | void | ) | const |
Definition at line 462 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::MythOpenGLVideo().
bool MythRenderOpenGL::IsRecommendedRenderer | ( | void | ) |
Definition at line 467 of file mythrenderopengl.cpp.
Referenced by MythPainterWindowOpenGL::MythPainterWindowOpenGL().
Reimplemented from MythRender.
Definition at line 578 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), and MythOpenGLVideo::RenderFrame().
|
inline |
Definition at line 120 of file mythrenderopengl.h.
void MythRenderOpenGL::PushTransformation | ( | const UIEffects & | Fx, |
QPointF & | Center | ||
) |
Definition at line 1355 of file mythrenderopengl.cpp.
Referenced by MythVisualMonoScopeOpenGL::Draw(), and MythOpenGLPainter::PushTransformation().
void MythRenderOpenGL::PopTransformation | ( | void | ) |
Definition at line 1368 of file mythrenderopengl.cpp.
Referenced by MythVisualMonoScopeOpenGL::Draw(), and MythOpenGLPainter::PopTransformation().
void MythRenderOpenGL::Flush | ( | void | ) |
Definition at line 591 of file mythrenderopengl.cpp.
Referenced by CreateFramebuffer(), DeleteTexture(), MythOpenGLPainter::End(), MythVideoOutputOpenGL::Init(), Init2DState(), ReleaseResources(), and MythVideoOutputOpenGL::RenderEnd().
void MythRenderOpenGL::SetBlend | ( | bool | Enable | ) |
Definition at line 601 of file mythrenderopengl.cpp.
Referenced by Init2DState().
void MythRenderOpenGL::SetBackground | ( | uint8_t | Red, |
uint8_t | Green, | ||
uint8_t | Blue, | ||
uint8_t | Alpha | ||
) |
Definition at line 612 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), and MythVideoOutputOpenGL::RenderFrame().
QFunctionPointer MythRenderOpenGL::GetProcAddress | ( | const QString & | Proc | ) | const |
Definition at line 1057 of file mythrenderopengl.cpp.
Referenced by Init(), and MythVDPAUInterop::InitNV().
Definition at line 1072 of file mythrenderopengl.cpp.
Referenced by CreateFramebufferTexture(), MythVideoTextureOpenGL::CreateHardwareTextures(), MythOpenGLTonemap::CreateTexture(), MythVideoTextureOpenGL::CreateTexture(), CreateTextureFromQImage(), MythVideoTextureOpenGL::CreateVideoFrameBuffer(), and GetCachedVBO().
MythGLTexture * MythRenderOpenGL::CreateTextureFromQImage | ( | QImage * | Image | ) |
Definition at line 624 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::GetTextureFromCache().
QSize MythRenderOpenGL::GetTextureSize | ( | QSize | Size, |
bool | Normalised | ||
) |
Definition at line 652 of file mythrenderopengl.cpp.
Referenced by MythVideoTextureOpenGL::CreateHardwareTextures(), MythOpenGLTonemap::CreateTexture(), MythVideoTextureOpenGL::CreateTexture(), and CreateTextureFromQImage().
|
static |
Definition at line 666 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::DeleteTextures(), and MythOpenGLPainter::GetTextureFromCache().
void MythRenderOpenGL::SetTextureFilters | ( | MythGLTexture * | Texture, |
QOpenGLTexture::Filter | Filter, | ||
QOpenGLTexture::WrapMode | Wrap = QOpenGLTexture::ClampToEdge |
||
) |
Definition at line 673 of file mythrenderopengl.cpp.
Referenced by MythOpenGLTonemap::CreateTexture(), MythOpenGLVideo::RenderFrame(), and MythVideoTextureOpenGL::SetTextureFilters().
void MythRenderOpenGL::ActiveTexture | ( | GLuint | ActiveTex | ) |
Definition at line 696 of file mythrenderopengl.cpp.
Referenced by DrawBitmap(), and MythOpenGLTonemap::Map().
void MythRenderOpenGL::DeleteTexture | ( | MythGLTexture * | Texture | ) |
Definition at line 710 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::DeleteTextures(), MythOpenGLVideo::RenderFrame(), MythOpenGLVideo::ResetFrameFormat(), and VideoVisualGoom::~VideoVisualGoom().
|
static |
Definition at line 1312 of file mythrenderopengl.cpp.
Referenced by MythVideoTextureOpenGL::CreateTexture(), and CreateTextureFromQImage().
QOpenGLFramebufferObject * MythRenderOpenGL::CreateFramebuffer | ( | QSize & | Size, |
bool | SixteenBit = false |
||
) |
Definition at line 725 of file mythrenderopengl.cpp.
Referenced by Check16BitFBO(), and MythVideoTextureOpenGL::CreateVideoFrameBuffer().
MythGLTexture * MythRenderOpenGL::CreateFramebufferTexture | ( | QOpenGLFramebufferObject * | Framebuffer | ) |
This is no longer used but will probably be needed for future UI enhancements.
Definition at line 757 of file mythrenderopengl.cpp.
void MythRenderOpenGL::DeleteFramebuffer | ( | QOpenGLFramebufferObject * | Framebuffer | ) |
Definition at line 769 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::RenderFrame(), and MythOpenGLVideo::ResetFrameFormat().
void MythRenderOpenGL::BindFramebuffer | ( | QOpenGLFramebufferObject * | Framebuffer | ) |
Definition at line 779 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), ClearRect(), CreateFramebuffer(), DrawBitmap(), DrawRoundRect(), MythVideoOutputOpenGL::RenderFrame(), and MythOpenGLVideo::RenderFrame().
void MythRenderOpenGL::ClearFramebuffer | ( | void | ) |
Definition at line 799 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), and MythVideoOutputOpenGL::RenderFrame().
QOpenGLShaderProgram * MythRenderOpenGL::CreateShaderProgram | ( | const QString & | Vertex, |
const QString & | Fragment | ||
) |
Definition at line 1388 of file mythrenderopengl.cpp.
Referenced by CreateDefaultShaders(), and MythOpenGLVideo::CreateVideoShader().
QOpenGLShaderProgram * MythRenderOpenGL::CreateComputeShader | ( | const QString & | Source | ) |
Definition at line 1415 of file mythrenderopengl.cpp.
Referenced by MythOpenGLTonemap::CreateShader().
void MythRenderOpenGL::DeleteShaderProgram | ( | QOpenGLShaderProgram * | Program | ) |
Definition at line 1437 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::CreateVideoShader(), DeleteDefaultShaders(), and MythOpenGLVideo::ResetFrameFormat().
bool MythRenderOpenGL::EnableShaderProgram | ( | QOpenGLShaderProgram * | Program | ) |
Definition at line 1447 of file mythrenderopengl.cpp.
Referenced by MythOpenGLTonemap::CreateShader(), MythOpenGLTonemap::Map(), MythOpenGLVideo::RenderFrame(), SetShaderProgramParams(), and MythOpenGLVideo::UpdateShaderParameters().
void MythRenderOpenGL::SetShaderProgramParams | ( | QOpenGLShaderProgram * | Program, |
const QMatrix4x4 & | Value, | ||
const char * | Uniform | ||
) |
Definition at line 1471 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::ColourSpaceUpdate(), DrawRoundRect(), SetShaderProjection(), and MythOpenGLTonemap::UpdateColourSpace().
void MythRenderOpenGL::SetShaderProjection | ( | QOpenGLShaderProgram * | Program | ) |
Definition at line 1462 of file mythrenderopengl.cpp.
Referenced by ClearRect(), MythVisualMonoScopeOpenGL::Draw(), DrawBitmap(), and DrawRoundRect().
void MythRenderOpenGL::DrawBitmap | ( | MythGLTexture * | Texture, |
QOpenGLFramebufferObject * | Target, | ||
QRect | Source, | ||
QRect | Destination, | ||
QOpenGLShaderProgram * | Program, | ||
int | Alpha = 255 , |
||
qreal | Scale = 1.0 |
||
) |
Definition at line 806 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::DrawImage(), and MythOpenGLVideo::RenderFrame().
void MythRenderOpenGL::DrawBitmap | ( | std::vector< MythGLTexture * > & | Textures, |
QOpenGLFramebufferObject * | Target, | ||
QRect | Source, | ||
QRect | Destination, | ||
QOpenGLShaderProgram * | Program, | ||
int | Rotation | ||
) |
Definition at line 862 of file mythrenderopengl.cpp.
void MythRenderOpenGL::DrawRect | ( | QOpenGLFramebufferObject * | Target, |
QRect | Area, | ||
const QBrush & | FillBrush, | ||
const QPen & | LinePen, | ||
int | Alpha | ||
) |
Definition at line 952 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::DrawRect(), and MythOpenGLVideo::RenderFrame().
void MythRenderOpenGL::DrawRoundRect | ( | QOpenGLFramebufferObject * | Target, |
QRect | Area, | ||
int | CornerRadius, | ||
const QBrush & | FillBrush, | ||
const QPen & | LinePen, | ||
int | Alpha | ||
) |
Definition at line 960 of file mythrenderopengl.cpp.
Referenced by DrawRect(), and MythOpenGLPainter::DrawRoundRect().
void MythRenderOpenGL::ClearRect | ( | QOpenGLFramebufferObject * | Target, |
QRect | Area, | ||
int | Color, | ||
int | Alpha | ||
) |
An optimised method to clear a QRect to the given color.
Definition at line 932 of file mythrenderopengl.cpp.
Referenced by MythVideoOutputOpenGL::RenderFrame().
std::tuple< int, int, int > MythRenderOpenGL::GetGPUMemory | ( | ) |
Definition at line 1529 of file mythrenderopengl.cpp.
|
slot |
Definition at line 146 of file mythrenderopengl.cpp.
Referenced by Init().
|
slot |
Definition at line 193 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), MythOpenGLPainter::End(), MythVideoOutputOpenGL::EndFrame(), Init(), MythVideoOutputOpenGL::PrepareFrame(), MythOpenGLVideo::PrepareFrame(), ReleaseResources(), MythVideoOutputOpenGL::RenderFrame(), MythOpenGLVideo::RenderFrame(), and MythOpenGLPainter::~MythOpenGLPainter().
|
slot |
Definition at line 205 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL(), and ~MythRenderOpenGL().
|
protected |
Definition at line 518 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL().
|
protected |
Definition at line 1042 of file mythrenderopengl.cpp.
Referenced by Init().
|
protected |
Definition at line 1523 of file mythrenderopengl.cpp.
Referenced by SetViewPort().
|
protected |
|
staticprotected |
Definition at line 1129 of file mythrenderopengl.cpp.
Referenced by DrawBitmap().
|
protected |
Definition at line 1213 of file mythrenderopengl.cpp.
Referenced by GetCachedVBO().
|
protected |
Definition at line 1248 of file mythrenderopengl.cpp.
Referenced by GetCachedVertices(), and ReleaseResources().
|
protected |
Definition at line 1262 of file mythrenderopengl.cpp.
Referenced by ClearRect(), and DrawRoundRect().
|
protected |
Definition at line 1297 of file mythrenderopengl.cpp.
Referenced by GetCachedVBO(), and ReleaseResources().
|
protected |
Definition at line 1504 of file mythrenderopengl.cpp.
Referenced by Init().
|
protected |
Definition at line 1514 of file mythrenderopengl.cpp.
Referenced by ReleaseResources().
|
protected |
Check for 16bit framebufferobject support.
We don't restrict this test based on OpenGL type or version to try and give as much support as possible. It will likely fail on all GL/ES 2.X versions.
Definition at line 1555 of file mythrenderopengl.cpp.
Referenced by Init().
|
inlineprotected |
Definition at line 1033 of file mythrenderopengl.cpp.
Referenced by ClearRect(), DrawBitmap(), and DrawRoundRect().
|
private |
Definition at line 399 of file mythrenderopengl.cpp.
Referenced by Init().
|
static |
Definition at line 128 of file mythrenderopengl.h.
Referenced by CreateFramebufferTexture(), MythVideoTextureOpenGL::CreateHardwareTextures(), MythOpenGLTonemap::CreateTexture(), MythVideoTextureOpenGL::CreateTexture(), CreateTextureFromQImage(), MythVideoTextureOpenGL::CreateVideoFrameBuffer(), and DrawBitmap().
Definition at line 198 of file mythrenderopengl.h.
Referenced by Init(), IsReady(), and ~MythRenderOpenGL().
|
protected |
Definition at line 201 of file mythrenderopengl.h.
Referenced by BindFramebuffer(), CreateFramebuffer(), and Init2DState().
|
protected |
Definition at line 204 of file mythrenderopengl.h.
|
protected |
Definition at line 207 of file mythrenderopengl.h.
Referenced by ClearRect(), CreateDefaultShaders(), DeleteDefaultShaders(), DrawBitmap(), and DrawRoundRect().
|
protected |
Definition at line 208 of file mythrenderopengl.h.
Referenced by DeleteShaderProgram(), and EnableShaderProgram().
|
protected |
Definition at line 211 of file mythrenderopengl.h.
Referenced by ExpireVertices(), GetCachedVertices(), and ReleaseResources().
|
protected |
Definition at line 212 of file mythrenderopengl.h.
Referenced by ExpireVertices(), and GetCachedVertices().
|
protected |
Definition at line 213 of file mythrenderopengl.h.
Referenced by ExpireVBOS(), GetCachedVBO(), and ReleaseResources().
|
protected |
Definition at line 214 of file mythrenderopengl.h.
Referenced by ExpireVBOS(), and GetCachedVBO().
|
protected |
Definition at line 217 of file mythrenderopengl.h.
Referenced by doneCurrent(), and makeCurrent().
|
protected |
Definition at line 218 of file mythrenderopengl.h.
Referenced by doneCurrent(), and makeCurrent().
|
protected |
Definition at line 221 of file mythrenderopengl.h.
Referenced by ActiveTexture(), CreateFramebuffer(), CreateShaderProgram(), DebugFeatures(), GetFeatures(), GetTextureSize(), and Init().
|
protected |
Definition at line 222 of file mythrenderopengl.h.
Referenced by Check16BitFBO(), DebugFeatures(), and Init().
|
protected |
Definition at line 223 of file mythrenderopengl.h.
Referenced by CreateComputeShader(), DrawBitmap(), GetCachedVBO(), GetExtraFeatures(), GetGPUMemory(), and Init().
|
protected |
Definition at line 224 of file mythrenderopengl.h.
Referenced by DebugFeatures(), GetMaxTextureSize(), and Init().
|
protected |
Definition at line 225 of file mythrenderopengl.h.
Referenced by DebugFeatures(), GetMaxTextureUnits(), and Init().
|
protected |
Definition at line 228 of file mythrenderopengl.h.
Referenced by SetMatrixView(), and SetViewPort().
|
protected |
Definition at line 229 of file mythrenderopengl.h.
Referenced by ActiveTexture().
Definition at line 230 of file mythrenderopengl.h.
Referenced by SetBlend().
|
protected |
Definition at line 231 of file mythrenderopengl.h.
Referenced by SetBackground().
Definition at line 232 of file mythrenderopengl.h.
Referenced by ClearRect(), CreateDefaultShaders(), DrawRoundRect(), and Init().
|
protected |
Definition at line 233 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL(), SetMatrixView(), and SetShaderProjection().
|
protected |
Definition at line 234 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL(), PopTransformation(), PushTransformation(), and SetShaderProjection().
|
protected |
Definition at line 235 of file mythrenderopengl.h.
Referenced by DrawRoundRect(), and MythRenderOpenGL().
|
protected |
Definition at line 236 of file mythrenderopengl.h.
Referenced by DeleteShaderProgram(), and SetShaderProgramParams().
|
protected |
Definition at line 237 of file mythrenderopengl.h.
Referenced by DeleteShaderProgram(), and SetShaderProgramParams().
|
protected |
Definition at line 238 of file mythrenderopengl.h.
Referenced by Init(), and ReleaseResources().
Definition at line 242 of file mythrenderopengl.h.
Referenced by Flush().
|
private |
Definition at line 247 of file mythrenderopengl.h.
Referenced by Init(), logDebugMarker(), and ReleaseResources().
|
private |
Definition at line 248 of file mythrenderopengl.h.
Referenced by Init(), and MessageLogged().
|
private |
Definition at line 249 of file mythrenderopengl.h.
Referenced by makeCurrent(), SetWidget(), and swapBuffers().