xbmc
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
CGLContextEGL Class Reference
Inheritance diagram for CGLContextEGL:
Inheritance graph
[legend]
Collaboration diagram for CGLContextEGL:
Collaboration graph
[legend]

Classes

struct  Sync
 

Public Member Functions

 CGLContextEGL (Display *dpy, EGLint renderingApi)
 
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
 
bool BindTextureUploadContext ()
 
bool UnbindTextureUploadContext ()
 
bool HasContext ()
 
- Public Member Functions inherited from CGLContext
 CGLContext (Display *dpy)
 
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
 
EGLContext m_eglUploadContext = EGL_NO_CONTEXT
 
CCriticalSection m_textureUploadLock
 
- Protected Attributes inherited from CGLContext
bool m_omlSync = true
 

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