|
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 26 of file mythegl.cpp.
|
default |
| void * MythEGL::eglCreateImageKHR | ( | void * | Disp, |
| void * | Context, | ||
| unsigned int | Target, | ||
| void * | Buffer, | ||
| const int32_t * | Attributes | ||
| ) |
Definition at line 150 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 158 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 144 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
| void * MythEGL::GetEGLDisplay | ( | void | ) |
Definition at line 78 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 135 of file mythegl.cpp.
Referenced by MythMMALInterop::Acquire(), MythEGLDMABUF::CreateComposed(), MythEGLDMABUF::CreateSeparate(), and MythEGLDMABUF::CreateSeparate2().
|
static |
Definition at line 83 of file mythegl.cpp.
Referenced by MythDisplay::ConfigureQtGUI().
| bool MythEGL::HasEGLExtension | ( | QString | Extension | ) |
Definition at line 65 of file mythegl.cpp.
Referenced by MythEGLDMABUF::HaveDMABuf(), and MythEGLDMABUF::MythEGLDMABUF().
|
private |
Definition at line 36 of file mythegl.cpp.
Referenced by IsEGL().
| bool MythEGL::IsEGL | ( | void | ) |
Definition at line 31 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 41 of file mythegl.h.
Referenced by HasEGLExtension(), and InitEGL().
|
private |
Definition at line 44 of file mythegl.h.
Referenced by eglCreateImageKHR(), and InitEGL().
|
private |
Definition at line 45 of file mythegl.h.
Referenced by eglDestroyImageKHR(), and InitEGL().
|
private |
Definition at line 42 of file mythegl.h.
Referenced by GetEGLDisplay(), HasEGLExtension(), and InitEGL().
|
private |
Definition at line 43 of file mythegl.h.
Referenced by eglImageTargetTexture2DOES(), and InitEGL().