Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
CWinSystemGbmEGLContext Class Referenceabstract

#include <WinSystemGbmEGLContext.h>

Inheritance diagram for CWinSystemGbmEGLContext:
CWinSystemGbm CWinSystemBase CWinSystemGbmGLContext CWinSystemGbmGLESContext

Classes

struct  delete_CVaapiProxy
 

Public Member Functions

virtual ~CWinSystemGbmEGLContext ()=default
 
bool DestroyWindowSystem () override
 
bool CreateNewWindow (const std::string &name, bool fullScreen, RESOLUTION_INFO &res) override
 
EGLDisplay GetEGLDisplay () const
 
EGLSurface GetEGLSurface () const
 
EGLContext GetEGLContext () const
 
EGLConfig GetEGLConfig () const
 
- Public Member Functions inherited from CWinSystemGbm
 CWinSystemGbm ()
 
virtual ~CWinSystemGbm ()=default
 
bool InitWindowSystem () override
 
bool DestroyWindow () override
 
bool ResizeWindow (int newWidth, int newHeight, int newLeft, int newTop) override
 
bool SetFullScreen (bool fullScreen, RESOLUTION_INFO &res, bool blankOtherDisplays) override
 
void FlipPage (bool rendered, bool videoLayer)
 
bool CanDoWindowed () override
 
void UpdateResolutions () override
 
bool UseLimitedColor () override
 
bool Hide () override
 
bool Show (bool raise=true) override
 
virtual void Register (IDispResource *resource)
 
virtual void Unregister (IDispResource *resource)
 
std::shared_ptr< CVideoLayerBridgeGetVideoLayerBridge () const
 
void RegisterVideoLayerBridge (std::shared_ptr< CVideoLayerBridge > bridge)
 
std::string GetModule () const
 
std::string GetDevicePath () const
 
struct gbm_device * GetGBMDevice () const
 
std::shared_ptr< CDRMUtilsGetDrm () const
 
- Public Member Functions inherited from CWinSystemBase
 CWinSystemBase ()
 
virtual ~CWinSystemBase ()
 
virtual CRenderSystemBaseGetRenderSystem ()
 
virtual bool MoveWindow (int topLeft, int topRight)
 
virtual void FinishModeChange (RESOLUTION res)
 
virtual void FinishWindowResize (int newWidth, int newHeight)
 
virtual bool CenterWindow ()
 
virtual bool IsCreated ()
 
virtual void NotifyAppFocusChange (bool bGaining)
 
virtual void NotifyAppActiveChange (bool bActivated)
 
virtual void ShowOSMouse (bool show)
 
virtual bool HasCursor ()
 
virtual bool HasInertialGestures ()
 
virtual int NoOfBuffers ()
 
virtual float GetDisplayLatency ()
 
virtual float GetFrameLatencyAdjustment ()
 
virtual bool Minimize ()
 
virtual bool Restore ()
 
virtual std::unique_ptr< CVideoSyncGetVideoSync (void *clock)
 
virtual void OnMove (int x, int y)
 
KODI::WINDOWING::COSScreenSaverManagerGetOSScreenSaver ()
 
unsigned int GetWidth ()
 
unsigned int GetHeight ()
 
bool IsFullScreen ()
 
void SetWindowResolution (int width, int height)
 
std::vector< RESOLUTION_WHRScreenResolutions (float refreshrate)
 
std::vector< REFRESHRATERefreshRates (int width, int height, uint32_t dwFlags)
 
REFRESHRATE DefaultRefreshRate (std::vector< REFRESHRATE > rates)
 
virtual bool HasCalibration (const RESOLUTION_INFO &resInfo)
 
virtual std::string GetClipboardText (void)
 
void RegisterRenderLoop (IRenderLoop *client)
 
void UnregisterRenderLoop (IRenderLoop *client)
 
void DriveRenderLoop ()
 
virtual bool MessagePump ()
 
CGraphicContextGetGfxContext ()
 

Protected Member Functions

 CWinSystemGbmEGLContext (EGLenum platform, std::string const &platformExtension)
 
bool InitWindowSystemEGL (EGLint renderableType, EGLint apiType)
 
virtual bool CreateContext ()=0
 
- Protected Member Functions inherited from CWinSystemGbm
void OnLostDevice ()
 
- Protected Member Functions inherited from CWinSystemBase
void UpdateDesktopResolution (RESOLUTION_INFO &newRes, int width, int height, float refreshRate, uint32_t dwFlags)
 
virtual std::unique_ptr< KODI::WINDOWING::IOSScreenSaverGetOSScreenSaverImpl ()
 

Protected Attributes

CEGLContextUtils m_eglContext
 
std::unique_ptr< CVaapiProxy, delete_CVaapiProxym_vaapiProxy
 
- Protected Attributes inherited from CWinSystemGbm
std::shared_ptr< CDRMUtilsm_DRM
 
std::unique_ptr< CGBMUtilsm_GBM
 
std::shared_ptr< CVideoLayerBridgem_videoLayerBridge
 
CCriticalSection m_resourceSection
 
std::vector< IDispResource * > m_resources
 
bool m_delayDispReset = false
 
XbmcThreads::EndTime m_dispResetTimer
 
std::unique_ptr< OPTIONALS::CLircContainer, OPTIONALS::delete_CLircContainerm_lirc
 
std::unique_ptr< CLibInputHandlerm_libinput
 
- Protected Attributes inherited from CWinSystemBase
int m_nWidth = 0
 
int m_nHeight = 0
 
int m_nTop = 0
 
int m_nLeft = 0
 
bool m_bWindowCreated = false
 
bool m_bFullScreen = false
 
bool m_bBlankOtherDisplay = false
 
float m_fRefreshRate = 0.0f
 
std::unique_ptr< KODI::WINDOWING::COSScreenSaverManagerm_screenSaverManager
 
CCriticalSection m_renderLoopSection
 
std::vector< IRenderLoop * > m_renderLoopClients
 
std::unique_ptr< IWinEventsm_winEvents
 
std::unique_ptr< CGraphicContextm_gfxContext
 

Additional Inherited Members

- Static Public Member Functions inherited from CWinSystemBase
static std::unique_ptr< CWinSystemBaseCreateWinSystem ()
 

Constructor & Destructor Documentation

§ ~CWinSystemGbmEGLContext()

virtual CWinSystemGbmEGLContext::~CWinSystemGbmEGLContext ( )
virtualdefault

§ CWinSystemGbmEGLContext()

CWinSystemGbmEGLContext::CWinSystemGbmEGLContext ( EGLenum  platform,
std::string const &  platformExtension 
)
inlineprotected

Member Function Documentation

§ CreateContext()

virtual bool CWinSystemGbmEGLContext::CreateContext ( )
protectedpure virtual

§ CreateNewWindow()

bool CWinSystemGbmEGLContext::CreateNewWindow ( const std::string &  name,
bool  fullScreen,
RESOLUTION_INFO res 
)
overridevirtual

Reimplemented from CWinSystemGbm.

§ DestroyWindowSystem()

bool CWinSystemGbmEGLContext::DestroyWindowSystem ( )
overridevirtual

Reimplemented from CWinSystemGbm.

§ GetEGLConfig()

EGLConfig CWinSystemGbmEGLContext::GetEGLConfig ( ) const

§ GetEGLContext()

EGLContext CWinSystemGbmEGLContext::GetEGLContext ( ) const

§ GetEGLDisplay()

EGLDisplay CWinSystemGbmEGLContext::GetEGLDisplay ( ) const

§ GetEGLSurface()

EGLSurface CWinSystemGbmEGLContext::GetEGLSurface ( ) const

§ InitWindowSystemEGL()

bool CWinSystemGbmEGLContext::InitWindowSystemEGL ( EGLint  renderableType,
EGLint  apiType 
)
protected

Inheriting classes should override InitWindowSystem() without parameters and call this function there with appropriate parameters

Member Data Documentation

§ m_eglContext

CEGLContextUtils CWinSystemGbmEGLContext::m_eglContext
protected

§ m_vaapiProxy

std::unique_ptr<CVaapiProxy, delete_CVaapiProxy> CWinSystemGbmEGLContext::m_vaapiProxy
protected

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