|
| CWinSystemWin10DX () |
|
| ~CWinSystemWin10DX () |
|
CRenderSystemBase * | GetRenderSystem () override |
|
bool | CreateNewWindow (const std::string &name, bool fullScreen, RESOLUTION_INFO &res) override |
|
bool | ResizeWindow (int newWidth, int newHeight, int newLeft, int newTop) override |
|
bool | SetFullScreen (bool fullScreen, RESOLUTION_INFO &res, bool blankOtherDisplays) override |
|
void | PresentRenderImpl (bool rendered) override |
|
bool | DPIChanged (WORD dpi, RECT windowRect) const override |
|
bool | DestroyRenderSystem () override |
|
void * | GetHWContext () override |
| Get OS specific hardware context.
|
|
void | UninitHooks () |
|
void | InitHooks (IDXGIOutput *pOutput) |
|
void | OnMove (int x, int y) override |
|
void | OnResize (int width, int height) |
|
winrt::Windows::Foundation::Size | GetOutputSize () const |
|
void | TrimDevice () const |
|
void | Register (ID3DResource *resource) const |
| Register as a dependent of the DirectX Render System Resources should call this on construction if they're dependent on the Render System for survival. Any resources that registers will get callbacks on loss and reset of device. In addition, callbacks for destruction and creation of the device are also called, where any resources dependent on the DirectX device should be destroyed and recreated.
|
|
void | Unregister (ID3DResource *resource) const |
| Unregister as a dependent of the DirectX Render System Resources should call this on destruction if they're a dependent on the Render System.
|
|
void | Register (IDispResource *resource) override |
|
void | Unregister (IDispResource *resource) override |
|
void | ShowSplash (const std::string &message) override |
|
bool | IsHDRDisplay () override |
|
HDR_STATUS | ToggleHDR () override |
|
HDR_STATUS | GetOSHDRStatus () override |
|
bool | IsHDROutput () const |
|
bool | IsTransferPQ () const |
|
void | SetHdrMetaData (DXGI_HDR_METADATA_HDR10 &hdr10) const |
|
void | SetHdrColorSpace (const DXGI_COLOR_SPACE_TYPE colorSpace) const |
|
DEBUG_INFO_RENDER | GetDebugInfo () override |
| Gets debug info from video renderer for use in "Debug Info OSD" (Alt + O)
|
|
| CWinSystemWin10 () |
|
virtual | ~CWinSystemWin10 () |
|
bool | InitWindowSystem () override |
|
bool | DestroyWindowSystem () override |
|
void | FinishWindowResize (int newWidth, int newHeight) override |
|
void | ForceFullScreen (const RESOLUTION_INFO &resInfo) override |
| Forces the window to fullscreen provided the window resolution.
|
|
void | UpdateResolutions () override |
|
void | NotifyAppFocusChange (bool bGaining) override |
|
void | ShowOSMouse (bool show) override |
|
bool | HasInertialGestures () override |
|
bool | Minimize () override |
|
bool | Restore () override |
|
bool | Hide () override |
|
bool | Show (bool raise=true) override |
|
std::string | GetClipboardText () override |
|
bool | UseLimitedColor () override |
|
float | GetGuiSdrPeakLuminance () const override |
| Max luminance for GUI SDR content in HDR mode.
|
|
bool | HasSystemSdrPeakLuminance () override |
| Test support of the OS for a SDR max luminance in HDR mode setting.
|
|
std::unique_ptr< CVideoSync > | GetVideoSync (CVideoReferenceClock *clock) override |
|
bool | WindowedMode () const |
|
bool | IsAlteringWindow () const |
|
void | SetAlteringWindow (bool altering) |
|
bool | IsTogglingHDR () const |
|
void | SetTogglingHDR (bool toggling) |
|
bool | IsMinimized () const |
|
void | SetMinimized (bool minimized) |
|
void | CacheSystemSdrPeakLuminance () |
| Cache the system HDR/SDR balance for use during rendering, instead of querying the API for each frame.
|
|
bool | CanDoWindowed () override |
|
bool | MessagePump () override |
|
| CWinSystemBase () |
|
virtual | ~CWinSystemBase () |
|
virtual const std::string | GetName () |
|
virtual bool | DestroyWindow () |
|
virtual bool | DisplayHardwareScalingEnabled () |
|
virtual void | UpdateDisplayHardwareScaling (const RESOLUTION_INFO &resInfo) |
|
virtual void | SetDirtyRegions (const CDirtyRegionList &dirtyRegionsList) |
|
virtual int | GetBufferAge () |
|
virtual bool | MoveWindow (int topLeft, int topRight) |
|
virtual void | FinishModeChange (RESOLUTION res) |
|
virtual bool | CenterWindow () |
|
virtual bool | IsCreated () |
|
virtual void | NotifyAppActiveChange (bool bActivated) |
|
virtual bool | HasCursor () |
|
virtual int | NoOfBuffers () |
|
virtual float | GetDisplayLatency () |
| Get average display latency.
|
|
virtual float | GetFrameLatencyAdjustment () |
| Get time that should be subtracted from the display latency for this frame in milliseconds.
|
|
virtual unsigned int | GetScreenId (const std::string &screen) |
| Get the screen ID provided the screen name.
|
|
virtual void | MoveToScreen (unsigned int screenIdx) |
| Window was requested to move to the given screen.
|
|
virtual void | OnChangeScreen (unsigned int screenIdx) |
| Used to signal the windowing system about the change of the current screen.
|
|
KODI::WINDOWING::COSScreenSaverManager * | GetOSScreenSaver () |
| Get OS screen saver inhibit implementation if available.
|
|
unsigned int | GetWidth () |
|
unsigned int | GetHeight () |
|
bool | IsFullScreen () |
|
virtual bool | SupportsScreenMove () |
| Check if the windowing system supports moving windows across screens.
|
|
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 (const std::vector< REFRESHRATE > &rates) |
|
virtual bool | HasCalibration (const RESOLUTION_INFO &resInfo) |
|
void | RegisterRenderLoop (IRenderLoop *client) |
|
void | UnregisterRenderLoop (IRenderLoop *client) |
|
void | DriveRenderLoop () |
|
virtual CGraphicContext & | GetGfxContext () const |
|
std::shared_ptr< CDPMSSupport > | GetDPMSManager () |
|
virtual bool | SetHDR (const VideoPicture *videoPicture) |
| Set the HDR metadata. Passing nullptr as the parameter should disable HDR.
|
|
virtual CHDRCapabilities | GetDisplayHDRCapabilities () const |
|
virtual bool | SupportsVideoSuperResolution () |
| System supports Video Super Resolution HW upscaler i.e.: "NVIDIA RTX Video Super Resolution" or "Intel Video Super Resolution".
|
|
virtual std::vector< std::string > | GetConnectedOutputs () |
|
bool | IsHDRDisplaySettingEnabled () |
| Return true when HDR display is available and enabled in settings.
|
|
bool | IsVideoSuperResolutionSettingEnabled () |
| Return true when "Video Super Resolution" is supported and enabled in settings.
|
|
bool | IsHighPrecisionProcessingSettingEnabled () |
| Return true when setting "High Precision Processing" is enabled.
|
|
std::pair< bool, int > | GetDitherSettings () |
| Get dither settings.
|
|
virtual bool | BindTextureUploadContext () |
| Binds a shared context to the current thread, in order to upload textures asynchronously.
|
|
virtual bool | UnbindTextureUploadContext () |
| Unbinds the shared context.
|
|
virtual bool | HasContext () |
| Checks if a graphics context is already bound to the current thread.
|
|
| CRenderSystemDX () |
|
virtual | ~CRenderSystemDX () |
|
bool | InitRenderSystem () override |
|
bool | BeginRender () override |
|
bool | EndRender () override |
|
void | PresentRender (bool rendered, bool videoLayer) override |
|
bool | ClearBuffers (KODI::UTILS::COLOR::Color color) override |
|
void | SetViewPort (const CRect &viewPort) override |
|
void | GetViewPort (CRect &viewPort) override |
|
void | RestoreViewPort () override |
|
CRect | ClipRectToScissorRect (const CRect &rect) override |
|
bool | ScissorsCanEffectClipping () override |
|
void | SetScissors (const CRect &rect) override |
|
void | ResetScissors () override |
|
void | CaptureStateBlock () override |
|
void | ApplyStateBlock () override |
|
void | SetCameraPosition (const CPoint &camera, int screenWidth, int screenHeight, float stereoFactor=0.f) override |
|
void | SetStereoMode (RENDER_STEREO_MODE mode, RENDER_STEREO_VIEW view) override |
|
bool | SupportsStereo (RENDER_STEREO_MODE mode) const override |
|
void | Project (float &x, float &y, float &z) override |
|
bool | SupportsNPOT (bool dxt) const override |
|
void | OnDXDeviceLost () override |
|
void | OnDXDeviceRestored () override |
|
CGUIShaderDX * | GetGUIShader () const |
|
bool | IsFormatSupport (DXGI_FORMAT format, unsigned int usage) const |
|
CRect | GetBackBufferRect () |
|
CD3DTexture & | GetBackBuffer () |
|
void | FlushGPU () const |
|
void | RequestDecodingTime () |
|
void | ReleaseDecodingTime () |
|
void | SetAlphaBlendEnable (bool enable) |
|
bool | IsExtSupported (const char *extension) const override |
|
bool | ResetRenderSystem (int width, int height) override |
|
| CRenderSystemBase () |
|
virtual | ~CRenderSystemBase () |
|
virtual void | InvalidateColorBuffer () |
|
virtual void | SetDepthCulling (DEPTH_CULLING culling) |
|
virtual std::string | GetShaderPath (const std::string &filename) |
|
void | GetRenderVersion (unsigned int &major, unsigned int &minor) const |
|
const std::string & | GetRenderVendor () const |
|
const std::string & | GetRenderRenderer () const |
|
const std::string & | GetRenderVersionString () const |
|
unsigned int | GetMaxTextureSize () const |
|
unsigned int | GetMinDXTPitch () const |
|