Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
CWinSystemAmlogic Class Reference

#include <WinSystemAmlogic.h>

Inheritance diagram for CWinSystemAmlogic:
CWinSystemBase CWinSystemAmlogicGLESContext

Public Member Functions

 CWinSystemAmlogic ()
 
virtual ~CWinSystemAmlogic ()
 
bool InitWindowSystem () override
 
bool DestroyWindowSystem () override
 
bool CreateNewWindow (const std::string &name, bool fullScreen, RESOLUTION_INFO &res) override
 
bool DestroyWindow () override
 
void UpdateResolutions () override
 
bool Hide () override
 
bool Show (bool show=true) override
 
virtual void Register (IDispResource *resource)
 
virtual void Unregister (IDispResource *resource)
 
- Public Member Functions inherited from CWinSystemBase
 CWinSystemBase ()
 
virtual ~CWinSystemBase ()
 
virtual CRenderSystemBaseGetRenderSystem ()
 
virtual bool ResizeWindow (int newWidth, int newHeight, int newLeft, int newTop)=0
 
virtual bool SetFullScreen (bool fullScreen, RESOLUTION_INFO &res, bool blankOtherDisplays)=0
 
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 bool UseLimitedColor ()
 
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 ()
 
virtual bool CanDoWindowed ()
 
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 Attributes

std::string m_framebuffer_name
 
EGLDisplay m_nativeDisplay
 
EGLNativeWindowType m_nativeWindow
 
int m_displayWidth
 
int m_displayHeight
 
RENDER_STEREO_MODE m_stereo_mode
 
bool m_delayDispReset
 
XbmcThreads::EndTime m_dispResetTimer
 
CCriticalSection m_resourceSection
 
std::vector< IDispResource * > m_resources
 
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 ()
 
- Protected Member Functions inherited from CWinSystemBase
void UpdateDesktopResolution (RESOLUTION_INFO &newRes, const std::string &output, int width, int height, float refreshRate, uint32_t dwFlags)
 
virtual std::unique_ptr< KODI::WINDOWING::IOSScreenSaverGetOSScreenSaverImpl ()
 

Constructor & Destructor Documentation

◆ CWinSystemAmlogic()

CWinSystemAmlogic::CWinSystemAmlogic ( )

◆ ~CWinSystemAmlogic()

CWinSystemAmlogic::~CWinSystemAmlogic ( )
virtual

Member Function Documentation

◆ CreateNewWindow()

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

Implements CWinSystemBase.

Reimplemented in CWinSystemAmlogicGLESContext.

◆ DestroyWindow()

bool CWinSystemAmlogic::DestroyWindow ( )
overridevirtual

Reimplemented from CWinSystemBase.

◆ DestroyWindowSystem()

bool CWinSystemAmlogic::DestroyWindowSystem ( )
overridevirtual

Reimplemented from CWinSystemBase.

◆ Hide()

bool CWinSystemAmlogic::Hide ( )
overridevirtual

Reimplemented from CWinSystemBase.

◆ InitWindowSystem()

bool CWinSystemAmlogic::InitWindowSystem ( )
overridevirtual

Reimplemented from CWinSystemBase.

Reimplemented in CWinSystemAmlogicGLESContext.

◆ Register()

void CWinSystemAmlogic::Register ( IDispResource resource)
virtual

Implements CWinSystemBase.

◆ Show()

bool CWinSystemAmlogic::Show ( bool  show = true)
overridevirtual

Reimplemented from CWinSystemBase.

◆ Unregister()

void CWinSystemAmlogic::Unregister ( IDispResource resource)
virtual

Implements CWinSystemBase.

◆ UpdateResolutions()

void CWinSystemAmlogic::UpdateResolutions ( )
overridevirtual

Reimplemented from CWinSystemBase.

Member Data Documentation

◆ m_delayDispReset

bool CWinSystemAmlogic::m_delayDispReset
protected

◆ m_displayHeight

int CWinSystemAmlogic::m_displayHeight
protected

◆ m_displayWidth

int CWinSystemAmlogic::m_displayWidth
protected

◆ m_dispResetTimer

XbmcThreads::EndTime CWinSystemAmlogic::m_dispResetTimer
protected

◆ m_framebuffer_name

std::string CWinSystemAmlogic::m_framebuffer_name
protected

◆ m_libinput

std::unique_ptr<CLibInputHandler> CWinSystemAmlogic::m_libinput
protected

◆ m_lirc

std::unique_ptr<OPTIONALS::CLircContainer, OPTIONALS::delete_CLircContainer> CWinSystemAmlogic::m_lirc
protected

◆ m_nativeDisplay

EGLDisplay CWinSystemAmlogic::m_nativeDisplay
protected

◆ m_nativeWindow

EGLNativeWindowType CWinSystemAmlogic::m_nativeWindow
protected

◆ m_resources

std::vector<IDispResource*> CWinSystemAmlogic::m_resources
protected

◆ m_resourceSection

CCriticalSection CWinSystemAmlogic::m_resourceSection
protected

◆ m_stereo_mode

RENDER_STEREO_MODE CWinSystemAmlogic::m_stereo_mode
protected

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