MythTV  master
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
MythEGL Class Reference

#include <libmythui/opengl/mythegl.h>

Inheritance diagram for MythEGL:
[legend]
Collaboration diagram for MythEGL:
[legend]

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

MythRenderOpenGLm_context { nullptr }
 
void * m_eglDisplay { nullptr }
 
MYTH_EGLIMAGETARGET m_eglImageTargetTexture2DOES { nullptr }
 
MYTH_EGLCREATEIMAGE m_eglCreateImageKHR { nullptr }
 
MYTH_EGLDESTROYIMAGE m_eglDestroyImageKHR { nullptr }
 

Detailed Description

Definition at line 17 of file mythegl.h.

Constructor & Destructor Documentation

◆ MythEGL()

MythEGL::MythEGL ( MythRenderOpenGL Context)
explicit

Definition at line 24 of file mythegl.cpp.

◆ ~MythEGL()

MythEGL::~MythEGL ( )
default

Member Function Documentation

◆ IsEGL()

bool MythEGL::IsEGL ( void  )

◆ HasEGLExtension()

bool MythEGL::HasEGLExtension ( QString  Extension)

Definition at line 63 of file mythegl.cpp.

Referenced by MythEGLDMABUF::HaveDMABuf(), and MythEGLDMABUF::MythEGLDMABUF().

◆ GetEGLDisplay()

void * MythEGL::GetEGLDisplay ( void  )

◆ GetEGLError()

qint32 MythEGL::GetEGLError ( void  )
static

◆ eglImageTargetTexture2DOES()

void MythEGL::eglImageTargetTexture2DOES ( GLenum  Target,
void *  Image 
)

◆ eglCreateImageKHR()

void * MythEGL::eglCreateImageKHR ( void *  Disp,
void *  Context,
unsigned int  Target,
void *  Buffer,
const int32_t *  Attributes 
)

◆ eglDestroyImageKHR()

void MythEGL::eglDestroyImageKHR ( void *  Disp,
void *  Image 
)

◆ GetEGLVendor()

QString MythEGL::GetEGLVendor ( void  )
static

Definition at line 81 of file mythegl.cpp.

Referenced by MythDisplay::ConfigureQtGUI().

◆ InitEGL()

bool MythEGL::InitEGL ( void  )
private

Definition at line 34 of file mythegl.cpp.

Referenced by IsEGL().

Member Data Documentation

◆ m_context

MythRenderOpenGL* MythEGL::m_context { nullptr }
private

Definition at line 37 of file mythegl.h.

Referenced by HasEGLExtension(), and InitEGL().

◆ m_eglDisplay

void* MythEGL::m_eglDisplay { nullptr }
private

Definition at line 38 of file mythegl.h.

Referenced by GetEGLDisplay(), HasEGLExtension(), and InitEGL().

◆ m_eglImageTargetTexture2DOES

MYTH_EGLIMAGETARGET MythEGL::m_eglImageTargetTexture2DOES { nullptr }
private

Definition at line 39 of file mythegl.h.

Referenced by eglImageTargetTexture2DOES(), and InitEGL().

◆ m_eglCreateImageKHR

MYTH_EGLCREATEIMAGE MythEGL::m_eglCreateImageKHR { nullptr }
private

Definition at line 40 of file mythegl.h.

Referenced by eglCreateImageKHR(), and InitEGL().

◆ m_eglDestroyImageKHR

MYTH_EGLDESTROYIMAGE MythEGL::m_eglDestroyImageKHR { nullptr }
private

Definition at line 41 of file mythegl.h.

Referenced by eglDestroyImageKHR(), and InitEGL().


The documentation for this class was generated from the following files: