Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CGLContextEGL Class Reference

#include <GLContextEGL.h>

Inheritance diagram for CGLContextEGL:
CGLContext

Classes

struct  Sync
 

Public Member Functions

 CGLContextEGL (Display *dpy, EGLint renderingApi)
 
 ~CGLContextEGL () override
 
bool Refresh (bool force, int screen, Window glWindow, bool &newContext) override
 
bool CreatePB () override
 
void Destroy () override
 
void Detach () override
 
void SetVSync (bool enable) override
 
void SwapBuffers () override
 
void QueryExtensions () override
 
uint64_t GetVblankTiming (uint64_t &msc, uint64_t &interval) override
 
- Public Member Functions inherited from CGLContext
 CGLContext (Display *dpy)
 
virtual ~CGLContext ()=default
 
bool IsExtSupported (const char *extension) const
 
std::string ExtPrefix ()
 

Public Attributes

EGLint m_renderingApi
 
EGLDisplay m_eglDisplay = EGL_NO_DISPLAY
 
EGLSurface m_eglSurface = EGL_NO_SURFACE
 
EGLContext m_eglContext = EGL_NO_CONTEXT
 
EGLConfig m_eglConfig
 
- Public Attributes inherited from CGLContext
std::string m_extPrefix
 
std::string m_extensions
 
Display * m_dpy
 

Protected Member Functions

bool SuitableCheck (EGLDisplay eglDisplay, EGLConfig config)
 
EGLConfig GetEGLConfig (EGLDisplay eglDisplay, XVisualInfo *vInfo)
 

Protected Attributes

PFNEGLGETSYNCVALUESCHROMIUMPROC m_eglGetSyncValuesCHROMIUM = nullptr
 
PFNEGLGETPLATFORMDISPLAYEXTPROC m_eglGetPlatformDisplayEXT = nullptr
 
struct CGLContextEGL::Sync m_sync
 
CCriticalSection m_syncLock
 
bool m_usePB = false
 
- Protected Attributes inherited from CGLContext
bool m_omlSync = true
 

Constructor & Destructor Documentation

◆ CGLContextEGL()

CGLContextEGL::CGLContextEGL ( Display * dpy,
EGLint renderingApi )
explicit

◆ ~CGLContextEGL()

CGLContextEGL::~CGLContextEGL ( )
override

Member Function Documentation

◆ CreatePB()

bool CGLContextEGL::CreatePB ( )
overridevirtual

Reimplemented from CGLContext.

◆ Destroy()

void CGLContextEGL::Destroy ( )
overridevirtual

Implements CGLContext.

◆ Detach()

void CGLContextEGL::Detach ( )
overridevirtual

Implements CGLContext.

◆ GetEGLConfig()

EGLConfig CGLContextEGL::GetEGLConfig ( EGLDisplay eglDisplay,
XVisualInfo * vInfo )
protected

◆ GetVblankTiming()

uint64_t CGLContextEGL::GetVblankTiming ( uint64_t & msc,
uint64_t & interval )
overridevirtual

Reimplemented from CGLContext.

◆ QueryExtensions()

void CGLContextEGL::QueryExtensions ( )
overridevirtual

Implements CGLContext.

◆ Refresh()

bool CGLContextEGL::Refresh ( bool force,
int screen,
Window glWindow,
bool & newContext )
overridevirtual

Implements CGLContext.

◆ SetVSync()

void CGLContextEGL::SetVSync ( bool enable)
overridevirtual

Implements CGLContext.

◆ SuitableCheck()

bool CGLContextEGL::SuitableCheck ( EGLDisplay eglDisplay,
EGLConfig config )
protected

◆ SwapBuffers()

void CGLContextEGL::SwapBuffers ( )
overridevirtual

Implements CGLContext.

Member Data Documentation

◆ m_eglConfig

EGLConfig CGLContextEGL::m_eglConfig

◆ m_eglContext

EGLContext CGLContextEGL::m_eglContext = EGL_NO_CONTEXT

◆ m_eglDisplay

EGLDisplay CGLContextEGL::m_eglDisplay = EGL_NO_DISPLAY

◆ m_eglGetPlatformDisplayEXT

PFNEGLGETPLATFORMDISPLAYEXTPROC CGLContextEGL::m_eglGetPlatformDisplayEXT = nullptr
protected

◆ m_eglGetSyncValuesCHROMIUM

PFNEGLGETSYNCVALUESCHROMIUMPROC CGLContextEGL::m_eglGetSyncValuesCHROMIUM = nullptr
protected

◆ m_eglSurface

EGLSurface CGLContextEGL::m_eglSurface = EGL_NO_SURFACE

◆ m_renderingApi

EGLint CGLContextEGL::m_renderingApi

◆ m_sync

struct CGLContextEGL::Sync CGLContextEGL::m_sync
protected

◆ m_syncLock

CCriticalSection CGLContextEGL::m_syncLock
protected

◆ m_usePB

bool CGLContextEGL::m_usePB = false
protected

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