xbmc
Classes | Public Member Functions | Static Public Member Functions | List of all members
DX::DeviceResources Class Reference

Public Member Functions

void Release ()
 
void ValidateDevice ()
 
void HandleDeviceLost (bool removed)
 
bool Begin ()
 
void Present ()
 
winrt::Windows::Foundation::Size GetOutputSize () const
 
winrt::Windows::Foundation::Size GetLogicalSize () const
 
void SetLogicalSize (float width, float height)
 
float GetDpi () const
 
void SetDpi (float dpi)
 
bool HasValidDevice () const
 
ID3D11Device1 * GetD3DDevice () const
 
ID3D11DeviceContext1 * GetD3DContext () const
 
ID3D11DeviceContext1 * GetImmediateContext () const
 
IDXGISwapChain1 * GetSwapChain () const
 
IDXGIFactory2 * GetIDXGIFactory2 () const
 
IDXGIAdapter1 * GetAdapter () const
 
ID3D11DepthStencilView * GetDSV () const
 
D3D_FEATURE_LEVEL GetDeviceFeatureLevel () const
 
CD3DTextureGetBackBuffer ()
 
void GetOutput (IDXGIOutput **ppOutput) const
 
void GetAdapterDesc (DXGI_ADAPTER_DESC *desc) const
 
void GetDisplayMode (DXGI_MODE_DESC *mode) const
 
D3D11_VIEWPORT GetScreenViewport () const
 
void SetViewPort (D3D11_VIEWPORT &viewPort) const
 
void ReleaseBackBuffer ()
 
void CreateBackBuffer ()
 
void ResizeBuffers ()
 
bool SetFullScreen (bool fullscreen, RESOLUTION_INFO &res)
 
void ApplyDisplaySettings ()
 
HDR_STATUS ToggleHDR ()
 
void SetHdrMetaData (DXGI_HDR_METADATA_HDR10 &hdr10) const
 
void SetHdrColorSpace (const DXGI_COLOR_SPACE_TYPE colorSpace)
 
bool IsHDROutput () const
 
bool IsTransferPQ () const
 
void Register (ID3DResource *resource)
 
void Unregister (ID3DResource *resource)
 
void FinishCommandList (bool bExecute=true) const
 
void ClearDepthStencil () const
 
void ClearRenderTarget (ID3D11RenderTargetView *pRTView, float color[4]) const
 
void RegisterDeviceNotify (IDeviceNotify *deviceNotify)
 
bool IsStereoAvailable () const
 
bool IsStereoEnabled () const
 
void SetStereoIdx (byte idx)
 
void SetMonitor (HMONITOR monitor)
 
HMONITOR GetMonitor () const
 
bool IsNV12SharedTexturesSupported () const
 
bool IsDXVA2SharedDecoderSurfaces () const
 
DEBUG_INFO_RENDER GetDebugInfo () const
 

Static Public Member Functions

static std::shared_ptr< DX::DeviceResourcesGet ()
 

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