|
MythTV master
|
#include <libmythui/opengl/mythegl.h>
Public Member Functions | |
| MythEGL (MythRenderOpenGL *Context) | |
| ~MythEGL ()=default | |
| bool | IsEGL (void) |
| bool | HasEGLExtension (const 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 | |
| void * | m_eglDisplay { nullptr } |
| MYTH_EGLIMAGETARGET | m_eglImageTargetTexture2DOES { nullptr } |
| MYTH_EGLCREATEIMAGE | m_eglCreateImageKHR { nullptr } |
| MYTH_EGLDESTROYIMAGE | m_eglDestroyImageKHR { nullptr } |
|
explicit |
Definition at line 25 of file mythegl.cpp.
|
default |
| void * MythEGL::eglCreateImageKHR | ( | void * | Disp, |
| void * | Context, | ||
| unsigned int | Target, | ||
| void * | Buffer, | ||
| const int32_t * | Attributes | ||
| ) |
Definition at line 153 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 161 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::ClearDMATextures(), MythVAAPIInteropDRM::DeleteTextures(), and MythDRMPRIMEInterop::DeleteTextures().
| void MythEGL::eglImageTargetTexture2DOES | ( | GLenum | Target, |
| void * | Image | ||
| ) |
Definition at line 147 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
| void * MythEGL::GetEGLDisplay | ( | void | ) |
Definition at line 81 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::ClearDMATextures(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), MythEGLDMABUF::CreateSeparate2(), MythRenderOpenGL::DebugFeatures(), MythVAAPIInteropDRM::DeleteTextures(), and MythDRMPRIMEInterop::DeleteTextures().
|
static |
Definition at line 138 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
|
static |
Definition at line 86 of file mythegl.cpp.
Referenced by MythDisplay::ConfigureQtGUI().
| bool MythEGL::HasEGLExtension | ( | const QString & | Extension | ) |
Definition at line 68 of file mythegl.cpp.
Referenced by MythEGLDMABUF::HaveDMABuf(), and MythEGLDMABUF::MythEGLDMABUF().
|
private |
Definition at line 38 of file mythegl.cpp.
Referenced by IsEGL().
| bool MythEGL::IsEGL | ( | void | ) |
Definition at line 32 of file mythegl.cpp.
Referenced by MythRenderOpenGL::DebugFeatures(), MythVAAPIInteropDRM::DeleteTextures(), MythDRMPRIMEInterop::DeleteTextures(), MythMMALInterop::GetMMALTypes(), MythVAAPIInterop::GetVAAPITypes(), MythVTBInterop::GetVTBTypes(), MythEGLDMABUF::HaveDMABuf(), and MythEGLDMABUF::MythEGLDMABUF().
|
private |
Definition at line 47 of file mythegl.h.
Referenced by eglCreateImageKHR(), and InitEGL().
|
private |
Definition at line 48 of file mythegl.h.
Referenced by eglDestroyImageKHR(), and InitEGL().
|
private |
Definition at line 45 of file mythegl.h.
Referenced by GetEGLDisplay(), HasEGLExtension(), and InitEGL().
|
private |
Definition at line 46 of file mythegl.h.
Referenced by eglImageTargetTexture2DOES(), and InitEGL().