MythTV
master
|
#include <libmythui/opengl/mythegl.h>
Public Member Functions | |
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) |
Static Public Member Functions | |
static qint32 | GetEGLError (void) |
static QString | GetEGLVendor (void) |
Private Member Functions | |
bool | InitEGL (void) |
Private Attributes | |
MythRenderOpenGL * | m_context { nullptr } |
void * | m_eglDisplay { nullptr } |
MYTH_EGLIMAGETARGET | m_eglImageTargetTexture2DOES { nullptr } |
MYTH_EGLCREATEIMAGE | m_eglCreateImageKHR { nullptr } |
MYTH_EGLDESTROYIMAGE | m_eglDestroyImageKHR { nullptr } |
|
explicit |
Definition at line 24 of file mythegl.cpp.
|
default |
bool MythEGL::IsEGL | ( | void | ) |
Definition at line 29 of file mythegl.cpp.
Referenced by MythRenderOpenGL::DebugFeatures(), MythDRMPRIMEInterop::DeleteTextures(), MythVAAPIInteropDRM::DeleteTextures(), MythMMALInterop::GetMMALTypes(), MythVAAPIInterop::GetVAAPITypes(), MythVTBInterop::GetVTBTypes(), MythEGLDMABUF::HaveDMABuf(), and MythEGLDMABUF::MythEGLDMABUF().
bool MythEGL::HasEGLExtension | ( | QString | Extension | ) |
Definition at line 63 of file mythegl.cpp.
Referenced by MythEGLDMABUF::HaveDMABuf(), and MythEGLDMABUF::MythEGLDMABUF().
void * MythEGL::GetEGLDisplay | ( | void | ) |
Definition at line 76 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::ClearDMATextures(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), MythEGLDMABUF::CreateSeparate2(), MythRenderOpenGL::DebugFeatures(), MythDRMPRIMEInterop::DeleteTextures(), and MythVAAPIInteropDRM::DeleteTextures().
|
static |
Definition at line 133 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
void MythEGL::eglImageTargetTexture2DOES | ( | GLenum | Target, |
void * | Image | ||
) |
Definition at line 142 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
void * MythEGL::eglCreateImageKHR | ( | void * | Disp, |
void * | Context, | ||
unsigned int | Target, | ||
void * | Buffer, | ||
const int32_t * | Attributes | ||
) |
Definition at line 148 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
void MythEGL::eglDestroyImageKHR | ( | void * | Disp, |
void * | Image | ||
) |
Definition at line 156 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::ClearDMATextures(), MythDRMPRIMEInterop::DeleteTextures(), and MythVAAPIInteropDRM::DeleteTextures().
|
static |
Definition at line 81 of file mythegl.cpp.
Referenced by MythDisplay::ConfigureQtGUI().
|
private |
Definition at line 34 of file mythegl.cpp.
Referenced by IsEGL().
|
private |
Definition at line 37 of file mythegl.h.
Referenced by HasEGLExtension(), and InitEGL().
|
private |
Definition at line 38 of file mythegl.h.
Referenced by GetEGLDisplay(), HasEGLExtension(), and InitEGL().
|
private |
Definition at line 39 of file mythegl.h.
Referenced by eglImageTargetTexture2DOES(), and InitEGL().
|
private |
Definition at line 40 of file mythegl.h.
Referenced by eglCreateImageKHR(), and InitEGL().
|
private |
Definition at line 41 of file mythegl.h.
Referenced by eglDestroyImageKHR(), and InitEGL().