|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include <WinSystemOSX.h>
Public Member Functions | |
| CWinSystemOSX () | |
| virtual | ~CWinSystemOSX () |
| virtual void | OnTimeout () override |
| virtual bool | InitWindowSystem () override |
| virtual bool | DestroyWindowSystem () override |
| virtual bool | CreateNewWindow (const std::string &name, bool fullScreen, RESOLUTION_INFO &res) override |
| virtual bool | DestroyWindow () override |
| virtual bool | ResizeWindow (int newWidth, int newHeight, int newLeft, int newTop) override |
| bool | ResizeWindowInternal (int newWidth, int newHeight, int newLeft, int newTop, void *additional) |
| virtual bool | SetFullScreen (bool fullScreen, RESOLUTION_INFO &res, bool blankOtherDisplays) override |
| virtual void | UpdateResolutions () override |
| virtual void | NotifyAppFocusChange (bool bGaining) override |
| virtual void | ShowOSMouse (bool show) override |
| virtual bool | Minimize () override |
| virtual bool | Restore () override |
| virtual bool | Hide () override |
| virtual bool | Show (bool raise=true) override |
| virtual void | OnMove (int x, int y) override |
| virtual std::string | GetClipboardText (void) override |
| void | Register (IDispResource *resource) override |
| void | Unregister (IDispResource *resource) override |
| virtual std::unique_ptr< CVideoSync > | GetVideoSync (void *clock) override |
| void | WindowChangedScreen () |
| void | AnnounceOnLostDevice () |
| void | AnnounceOnResetDevice () |
| void | HandleOnResetDevice () |
| void | StartLostDeviceTimer () |
| void | StopLostDeviceTimer () |
| void * | GetCGLContextObj () |
| void * | GetNSOpenGLContext () |
| void | GetConnectedOutputs (std::vector< std::string > *outputs) |
| bool | MessagePump () override |
Public Member Functions inherited from CWinSystemBase | |
| CWinSystemBase () | |
| virtual | ~CWinSystemBase () |
| virtual CRenderSystemBase * | GetRenderSystem () |
| 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 | NotifyAppActiveChange (bool bActivated) |
| virtual bool | HasCursor () |
| virtual bool | HasInertialGestures () |
| virtual bool | UseLimitedColor () |
| virtual int | NoOfBuffers () |
| virtual float | GetDisplayLatency () |
| virtual float | GetFrameLatencyAdjustment () |
| KODI::WINDOWING::COSScreenSaverManager * | GetOSScreenSaver () |
| unsigned int | GetWidth () |
| unsigned int | GetHeight () |
| virtual bool | CanDoWindowed () |
| bool | IsFullScreen () |
| void | SetWindowResolution (int width, int height) |
| std::vector< RESOLUTION_WHR > | ScreenResolutions (float refreshrate) |
| std::vector< REFRESHRATE > | RefreshRates (int width, int height, uint32_t dwFlags) |
| REFRESHRATE | DefaultRefreshRate (std::vector< REFRESHRATE > rates) |
| virtual bool | HasCalibration (const RESOLUTION_INFO &resInfo) |
| void | RegisterRenderLoop (IRenderLoop *client) |
| void | UnregisterRenderLoop (IRenderLoop *client) |
| void | DriveRenderLoop () |
| CGraphicContext & | GetGfxContext () |
Public Member Functions inherited from ITimerCallback | |
| virtual | ~ITimerCallback ()=default |
Protected Member Functions | |
| virtual std::unique_ptr< KODI::WINDOWING::IOSScreenSaver > | GetOSScreenSaverImpl () override |
| void | HandlePossibleRefreshrateChange () |
| void * | CreateWindowedContext (void *shareCtx) |
| void * | CreateFullScreenContext (int screen_index, void *shareCtx) |
| void | GetScreenResolution (int *w, int *h, double *fps, int screenIdx) |
| void | EnableVSync (bool enable) |
| bool | SwitchToVideoMode (int width, int height, double refreshrate) |
| void | FillInVideoModes () |
| bool | FlushBuffer (void) |
| bool | IsObscured (void) |
| void | StartTextInput () |
| void | StopTextInput () |
Protected Member Functions inherited from CWinSystemBase | |
| void | UpdateDesktopResolution (RESOLUTION_INFO &newRes, const std::string &output, int width, int height, float refreshRate, uint32_t dwFlags) |
Protected Attributes | |
| void * | m_glContext |
| SDL_Surface * | m_SDLSurface |
| CWinEventsOSX * | m_osx_events |
| bool | m_obscured |
| unsigned int | m_obscured_timecheck |
| bool | m_movedToOtherScreen |
| int | m_lastDisplayNr |
| void * | m_windowDidMove |
| void * | m_windowDidReSize |
| void * | m_windowChangedScreen |
| double | m_refreshRate |
| CCriticalSection | m_resourceSection |
| std::vector< IDispResource * > | m_resources |
| CTimer | m_lostDeviceTimer |
| bool | m_delayDispReset |
| XbmcThreads::EndTime | m_dispResetTimer |
| int | m_updateGLContext = 0 |
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::COSScreenSaverManager > | m_screenSaverManager |
| CCriticalSection | m_renderLoopSection |
| std::vector< IRenderLoop * > | m_renderLoopClients |
| std::unique_ptr< IWinEvents > | m_winEvents |
| std::unique_ptr< CGraphicContext > | m_gfxContext |
Static Protected Attributes | |
| static void * | m_lastOwnedContext = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from CWinSystemBase | |
| static std::unique_ptr< CWinSystemBase > | CreateWinSystem () |
| CWinSystemOSX::CWinSystemOSX | ( | ) |
|
virtual |
| void CWinSystemOSX::AnnounceOnLostDevice | ( | ) |
| void CWinSystemOSX::AnnounceOnResetDevice | ( | ) |
|
overridevirtual |
Implements CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protected |
|
protected |
|
protected |
| void * CWinSystemOSX::GetCGLContextObj | ( | ) |
|
overridevirtual |
Reimplemented from CWinSystemBase.
| void CWinSystemOSX::GetConnectedOutputs | ( | std::vector< std::string > * | outputs | ) |
| void * CWinSystemOSX::GetNSOpenGLContext | ( | ) |
|
overrideprotectedvirtual |
Reimplemented from CWinSystemBase.
|
protected |
|
overridevirtual |
Reimplemented from CWinSystemBase.
| void CWinSystemOSX::HandleOnResetDevice | ( | ) |
|
protected |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
protected |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Implements ITimerCallback.
|
overridevirtual |
Implements CWinSystemBase.
|
overridevirtual |
Implements CWinSystemBase.
Reimplemented in CWinSystemOSXGL.
| bool CWinSystemOSX::ResizeWindowInternal | ( | int | newWidth, |
| int | newHeight, | ||
| int | newLeft, | ||
| int | newTop, | ||
| void * | additional | ||
| ) |
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Implements CWinSystemBase.
Reimplemented in CWinSystemOSXGL.
|
overridevirtual |
Reimplemented from CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
| void CWinSystemOSX::StartLostDeviceTimer | ( | ) |
|
protected |
| void CWinSystemOSX::StopLostDeviceTimer | ( | ) |
|
protected |
|
protected |
|
overridevirtual |
Implements CWinSystemBase.
|
overridevirtual |
Reimplemented from CWinSystemBase.
| void CWinSystemOSX::WindowChangedScreen | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |