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 |
uint64_t | GetSwapCount () |
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... | |
void | DrawProcedural (QRect Area, int Alpha, QOpenGLFramebufferObject *Target, QOpenGLShaderProgram *Program, float TimeVal) |
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 constexpr 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 |
QRecursiveMutex | m_lock |
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 } |
uint64_t | m_swapCount { 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 100 of file mythrenderopengl.h.
|
protected |
Definition at line 122 of file mythrenderopengl.cpp.
Referenced by Create().
|
overrideprotected |
Definition at line 135 of file mythrenderopengl.cpp.
|
static |
Definition at line 65 of file mythrenderopengl.cpp.
Referenced by MythCodecContext::GetDecoders(), and MythNVDECContext::GetProfiles().
|
static |
Definition at line 81 of file mythrenderopengl.cpp.
Referenced by MythPainterWindowOpenGL::MythPainterWindowOpenGL().
|
overridevirtual |
Reimplemented from MythRender.
Definition at line 1116 of file mythrenderopengl.cpp.
Referenced by ~MythRenderOpenGL().
|
overridevirtual |
Reimplemented from MythRender.
Definition at line 1143 of file mythrenderopengl.cpp.
bool MythRenderOpenGL::IsReady | ( | void | ) |
Definition at line 506 of file mythrenderopengl.cpp.
Referenced by IsRecommendedRenderer(), and MythOpenGLPainter::~MythOpenGLPainter().
void MythRenderOpenGL::makeCurrent | ( | ) |
Definition at line 566 of file mythrenderopengl.cpp.
Referenced by ActiveTexture(), MythOpenGLPainter::Begin(), BindFramebuffer(), ClearFramebuffer(), ClearRect(), DeleteFramebuffer(), DeleteShaderProgram(), DeleteTexture(), VideoVisualGoom::Draw(), MythVisualMonoScopeOpenGL::Draw(), DrawBitmap(), DrawProcedural(), 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 574 of file mythrenderopengl.cpp.
Referenced by ActiveTexture(), BindFramebuffer(), ClearFramebuffer(), ClearRect(), DeleteFramebuffer(), DeleteShaderProgram(), DeleteTexture(), MythVisualMonoScopeOpenGL::Draw(), DrawBitmap(), DrawProcedural(), 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 511 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 445 of file mythrenderopengl.cpp.
int MythRenderOpenGL::GetMaxTextureUnits | ( | void | ) | const |
Definition at line 450 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::AddDeinterlacer().
int MythRenderOpenGL::GetExtraFeatures | ( | void | ) | const |
Definition at line 455 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 460 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::MythOpenGLVideo().
bool MythRenderOpenGL::IsRecommendedRenderer | ( | void | ) |
Definition at line 465 of file mythrenderopengl.cpp.
Referenced by MythPainterWindowOpenGL::MythPainterWindowOpenGL().
Reimplemented from MythRender.
Definition at line 584 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), and MythOpenGLVideo::RenderFrame().
|
inline |
Definition at line 124 of file mythrenderopengl.h.
void MythRenderOpenGL::PushTransformation | ( | const UIEffects & | Fx, |
QPointF & | Center | ||
) |
Definition at line 1383 of file mythrenderopengl.cpp.
Referenced by MythVisualMonoScopeOpenGL::Draw(), and MythOpenGLPainter::PushTransformation().
void MythRenderOpenGL::PopTransformation | ( | void | ) |
Definition at line 1396 of file mythrenderopengl.cpp.
Referenced by MythVisualMonoScopeOpenGL::Draw(), and MythOpenGLPainter::PopTransformation().
void MythRenderOpenGL::Flush | ( | void | ) |
Definition at line 597 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 607 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 618 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), and MythVideoOutputOpenGL::RenderFrame().
QFunctionPointer MythRenderOpenGL::GetProcAddress | ( | const QString & | Proc | ) | const |
Definition at line 1084 of file mythrenderopengl.cpp.
Referenced by Init(), and MythVDPAUInterop::InitNV().
uint64_t MythRenderOpenGL::GetSwapCount | ( | ) |
Definition at line 517 of file mythrenderopengl.cpp.
Definition at line 1099 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 630 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::GetTextureFromCache().
QSize MythRenderOpenGL::GetTextureSize | ( | QSize | Size, |
bool | Normalised | ||
) |
Definition at line 658 of file mythrenderopengl.cpp.
Referenced by MythVideoTextureOpenGL::CreateHardwareTextures(), MythOpenGLTonemap::CreateTexture(), MythVideoTextureOpenGL::CreateTexture(), and CreateTextureFromQImage().
|
static |
Definition at line 672 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 679 of file mythrenderopengl.cpp.
Referenced by MythOpenGLTonemap::CreateTexture(), MythOpenGLVideo::RenderFrame(), and MythVideoTextureOpenGL::SetTextureFilters().
void MythRenderOpenGL::ActiveTexture | ( | GLuint | ActiveTex | ) |
Definition at line 702 of file mythrenderopengl.cpp.
Referenced by DrawBitmap(), and MythOpenGLTonemap::Map().
void MythRenderOpenGL::DeleteTexture | ( | MythGLTexture * | Texture | ) |
Definition at line 716 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::DeleteTextures(), MythOpenGLVideo::RenderFrame(), MythOpenGLVideo::ResetFrameFormat(), and VideoVisualGoom::~VideoVisualGoom().
|
static |
Definition at line 1340 of file mythrenderopengl.cpp.
Referenced by MythVideoTextureOpenGL::CreateTexture(), and CreateTextureFromQImage().
QOpenGLFramebufferObject * MythRenderOpenGL::CreateFramebuffer | ( | QSize & | Size, |
bool | SixteenBit = false |
||
) |
Definition at line 731 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 763 of file mythrenderopengl.cpp.
void MythRenderOpenGL::DeleteFramebuffer | ( | QOpenGLFramebufferObject * | Framebuffer | ) |
Definition at line 775 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::RenderFrame(), and MythOpenGLVideo::ResetFrameFormat().
void MythRenderOpenGL::BindFramebuffer | ( | QOpenGLFramebufferObject * | Framebuffer | ) |
Definition at line 785 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), ClearRect(), CreateFramebuffer(), DrawBitmap(), DrawProcedural(), DrawRoundRect(), MythVideoOutputOpenGL::RenderFrame(), and MythOpenGLVideo::RenderFrame().
void MythRenderOpenGL::ClearFramebuffer | ( | void | ) |
Definition at line 805 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::Begin(), and MythVideoOutputOpenGL::RenderFrame().
QOpenGLShaderProgram * MythRenderOpenGL::CreateShaderProgram | ( | const QString & | Vertex, |
const QString & | Fragment | ||
) |
Definition at line 1416 of file mythrenderopengl.cpp.
Referenced by CreateDefaultShaders(), MythOpenGLVideo::CreateVideoShader(), and MythOpenGLPainter::GetProceduralShader().
QOpenGLShaderProgram * MythRenderOpenGL::CreateComputeShader | ( | const QString & | Source | ) |
Definition at line 1443 of file mythrenderopengl.cpp.
Referenced by MythOpenGLTonemap::CreateShader().
void MythRenderOpenGL::DeleteShaderProgram | ( | QOpenGLShaderProgram * | Program | ) |
Definition at line 1465 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::CreateVideoShader(), DeleteDefaultShaders(), and MythOpenGLVideo::ResetFrameFormat().
bool MythRenderOpenGL::EnableShaderProgram | ( | QOpenGLShaderProgram * | Program | ) |
Definition at line 1475 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 1499 of file mythrenderopengl.cpp.
Referenced by MythOpenGLVideo::ColourSpaceUpdate(), DrawRoundRect(), SetShaderProjection(), and MythOpenGLTonemap::UpdateColourSpace().
void MythRenderOpenGL::SetShaderProjection | ( | QOpenGLShaderProgram * | Program | ) |
Definition at line 1490 of file mythrenderopengl.cpp.
Referenced by ClearRect(), MythVisualMonoScopeOpenGL::Draw(), DrawBitmap(), DrawProcedural(), 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 833 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 889 of file mythrenderopengl.cpp.
void MythRenderOpenGL::DrawRect | ( | QOpenGLFramebufferObject * | Target, |
QRect | Area, | ||
const QBrush & | FillBrush, | ||
const QPen & | LinePen, | ||
int | Alpha | ||
) |
Definition at line 979 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 987 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 959 of file mythrenderopengl.cpp.
Referenced by MythVideoOutputOpenGL::RenderFrame().
void MythRenderOpenGL::DrawProcedural | ( | QRect | Area, |
int | Alpha, | ||
QOpenGLFramebufferObject * | Target, | ||
QOpenGLShaderProgram * | Program, | ||
float | TimeVal | ||
) |
Definition at line 812 of file mythrenderopengl.cpp.
Referenced by MythOpenGLPainter::DrawProcedural().
std::tuple< int, int, int > MythRenderOpenGL::GetGPUMemory | ( | ) |
Definition at line 1557 of file mythrenderopengl.cpp.
|
slot |
Definition at line 145 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 524 of file mythrenderopengl.cpp.
Referenced by MythRenderOpenGL().
|
protected |
Definition at line 1069 of file mythrenderopengl.cpp.
Referenced by Init().
|
protected |
Definition at line 1551 of file mythrenderopengl.cpp.
Referenced by SetViewPort().
|
protected |
|
staticprotected |
Definition at line 1157 of file mythrenderopengl.cpp.
Referenced by DrawBitmap().
|
protected |
Definition at line 1241 of file mythrenderopengl.cpp.
Referenced by GetCachedVBO().
|
protected |
Definition at line 1276 of file mythrenderopengl.cpp.
Referenced by GetCachedVertices(), and ReleaseResources().
|
protected |
Definition at line 1290 of file mythrenderopengl.cpp.
Referenced by ClearRect(), DrawProcedural(), and DrawRoundRect().
|
protected |
Definition at line 1325 of file mythrenderopengl.cpp.
Referenced by GetCachedVBO(), and ReleaseResources().
|
protected |
Definition at line 1532 of file mythrenderopengl.cpp.
Referenced by Init().
|
protected |
Definition at line 1542 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 1583 of file mythrenderopengl.cpp.
Referenced by Init().
|
inlineprotected |
Definition at line 1060 of file mythrenderopengl.cpp.
Referenced by ClearRect(), DrawBitmap(), DrawProcedural(), and DrawRoundRect().
|
private |
Definition at line 399 of file mythrenderopengl.cpp.
Referenced by Init().
|
staticconstexpr |
Definition at line 133 of file mythrenderopengl.h.
Referenced by CreateFramebufferTexture(), MythVideoTextureOpenGL::CreateHardwareTextures(), MythOpenGLTonemap::CreateTexture(), MythVideoTextureOpenGL::CreateTexture(), CreateTextureFromQImage(), MythVideoTextureOpenGL::CreateVideoFrameBuffer(), and DrawBitmap().
Definition at line 204 of file mythrenderopengl.h.
Referenced by Init(), IsReady(), and ~MythRenderOpenGL().
|
protected |
Definition at line 207 of file mythrenderopengl.h.
Referenced by BindFramebuffer(), CreateFramebuffer(), and Init2DState().
|
protected |
Definition at line 210 of file mythrenderopengl.h.
|
protected |
Definition at line 213 of file mythrenderopengl.h.
Referenced by ClearRect(), CreateDefaultShaders(), DeleteDefaultShaders(), DrawBitmap(), and DrawRoundRect().
|
protected |
Definition at line 214 of file mythrenderopengl.h.
Referenced by DeleteShaderProgram(), and EnableShaderProgram().
|
protected |
Definition at line 217 of file mythrenderopengl.h.
Referenced by ExpireVertices(), GetCachedVertices(), and ReleaseResources().
|
protected |
Definition at line 218 of file mythrenderopengl.h.
Referenced by ExpireVertices(), and GetCachedVertices().
|
protected |
Definition at line 219 of file mythrenderopengl.h.
Referenced by ExpireVBOS(), GetCachedVBO(), and ReleaseResources().
|
protected |
Definition at line 220 of file mythrenderopengl.h.
Referenced by ExpireVBOS(), and GetCachedVBO().
|
protected |
Definition at line 226 of file mythrenderopengl.h.
Referenced by doneCurrent(), and makeCurrent().
|
protected |
Definition at line 228 of file mythrenderopengl.h.
Referenced by doneCurrent(), and makeCurrent().
|
protected |
Definition at line 231 of file mythrenderopengl.h.
Referenced by ActiveTexture(), CreateFramebuffer(), CreateShaderProgram(), DebugFeatures(), GetFeatures(), GetTextureSize(), and Init().
|
protected |
Definition at line 232 of file mythrenderopengl.h.
Referenced by Check16BitFBO(), DebugFeatures(), and Init().
|
protected |
Definition at line 233 of file mythrenderopengl.h.
Referenced by CreateComputeShader(), DrawBitmap(), GetCachedVBO(), GetExtraFeatures(), GetGPUMemory(), and Init().
|
protected |
Definition at line 234 of file mythrenderopengl.h.
Referenced by DebugFeatures(), GetMaxTextureSize(), and Init().
|
protected |
Definition at line 235 of file mythrenderopengl.h.
Referenced by DebugFeatures(), GetMaxTextureUnits(), and Init().
|
protected |
Definition at line 238 of file mythrenderopengl.h.
Referenced by GetSwapCount(), and swapBuffers().
|
protected |
Definition at line 239 of file mythrenderopengl.h.
Referenced by SetMatrixView(), and SetViewPort().
|
protected |
Definition at line 240 of file mythrenderopengl.h.
Referenced by ActiveTexture().
Definition at line 241 of file mythrenderopengl.h.
Referenced by SetBlend().
|
protected |
Definition at line 242 of file mythrenderopengl.h.
Referenced by SetBackground().
Definition at line 243 of file mythrenderopengl.h.
Referenced by ClearRect(), CreateDefaultShaders(), DrawRoundRect(), and Init().
|
protected |
Definition at line 244 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL(), SetMatrixView(), and SetShaderProjection().
|
protected |
Definition at line 245 of file mythrenderopengl.h.
Referenced by MythRenderOpenGL(), PopTransformation(), PushTransformation(), and SetShaderProjection().
|
protected |
Definition at line 246 of file mythrenderopengl.h.
Referenced by DrawRoundRect(), and MythRenderOpenGL().
|
protected |
Definition at line 247 of file mythrenderopengl.h.
Referenced by DeleteShaderProgram(), and SetShaderProgramParams().
|
protected |
Definition at line 248 of file mythrenderopengl.h.
Referenced by DeleteShaderProgram(), and SetShaderProgramParams().
|
protected |
Definition at line 249 of file mythrenderopengl.h.
Referenced by Init(), and ReleaseResources().
Definition at line 253 of file mythrenderopengl.h.
Referenced by Flush().
|
private |
Definition at line 258 of file mythrenderopengl.h.
Referenced by Init(), logDebugMarker(), and ReleaseResources().
|
private |
Definition at line 259 of file mythrenderopengl.h.
Referenced by Init(), and MessageLogged().
|
private |
Definition at line 260 of file mythrenderopengl.h.
Referenced by DrawProcedural(), makeCurrent(), SetWidget(), and swapBuffers().