#include <RenderSystemDX.h>
 | 
|   | CRenderSystemDX () | 
|   | 
| virtual  | ~CRenderSystemDX () | 
|   | 
| bool  | InitRenderSystem () override | 
|   | 
| bool  | DestroyRenderSystem () 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 | 
|   | 
| virtual void  | ShowSplash (const std::string &message) | 
|   | 
◆ CRenderSystemDX()
      
        
          | CRenderSystemDX::CRenderSystemDX  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ~CRenderSystemDX()
  
  
      
        
          | CRenderSystemDX::~CRenderSystemDX  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
 
◆ ApplyStateBlock()
  
  
      
        
          | void CRenderSystemDX::ApplyStateBlock  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ BeginRender()
  
  
      
        
          | bool CRenderSystemDX::BeginRender  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ CaptureStateBlock()
  
  
      
        
          | void CRenderSystemDX::CaptureStateBlock  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ CheckDeviceCaps()
  
  
      
        
          | void CRenderSystemDX::CheckDeviceCaps  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ CheckInterlacedStereoView()
  
  
      
        
          | void CRenderSystemDX::CheckInterlacedStereoView  | 
          ( | 
          void |            | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ ClearBuffers()
◆ ClipRectToScissorRect()
  
  
      
        
          | CRect CRenderSystemDX::ClipRectToScissorRect  | 
          ( | 
          const CRect & |           rect | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ CreateStates()
  
  
      
        
          | bool CRenderSystemDX::CreateStates  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ DestroyRenderSystem()
  
  
      
        
          | bool CRenderSystemDX::DestroyRenderSystem  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ EndRender()
  
  
      
        
          | bool CRenderSystemDX::EndRender  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ FlushGPU()
      
        
          | void CRenderSystemDX::FlushGPU  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ GetBackBuffer()
◆ GetBackBufferRect()
      
        
          | CRect CRenderSystemDX::GetBackBufferRect  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ GetGUIShader()
◆ GetViewPort()
  
  
      
        
          | void CRenderSystemDX::GetViewPort  | 
          ( | 
          CRect & |           viewPort | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ InitGUIShader()
  
  
      
        
          | bool CRenderSystemDX::InitGUIShader  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ InitRenderSystem()
  
  
      
        
          | bool CRenderSystemDX::InitRenderSystem  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ IsExtSupported()
  
  
      
        
          | bool CRenderSystemDX::IsExtSupported  | 
          ( | 
          const char * |           extension | ) | 
           const | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
◆ IsFormatSupport()
      
        
          | bool CRenderSystemDX::IsFormatSupport  | 
          ( | 
          DXGI_FORMAT |           format,  | 
        
        
           | 
           | 
          unsigned int |           usage ) const | 
        
      
 
 
◆ OnDXDeviceLost()
  
  
      
        
          | void CRenderSystemDX::OnDXDeviceLost  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ OnDXDeviceRestored()
  
  
      
        
          | void CRenderSystemDX::OnDXDeviceRestored  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
override   | 
  
 
 
◆ OnResize()
  
  
      
        
          | void CRenderSystemDX::OnResize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ PresentRender()
  
  
      
        
          | void CRenderSystemDX::PresentRender  | 
          ( | 
          bool |           rendered,  | 
         
        
           | 
           | 
          bool |           videoLayer ) | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ PresentRenderImpl()
  
  
      
        
          | virtual void CRenderSystemDX::PresentRenderImpl  | 
          ( | 
          bool |           rendered | ) | 
           | 
         
       
   | 
  
protectedpure virtual   | 
  
 
 
◆ Project()
  
  
      
        
          | void CRenderSystemDX::Project  | 
          ( | 
          float & |           x,  | 
         
        
           | 
           | 
          float & |           y,  | 
         
        
           | 
           | 
          float & |           z ) | 
         
       
   | 
  
overridevirtual   | 
  
 
Project (x,y,z) 3d scene coordinates to (x,y) 2d screen coordinates 
Reimplemented from CRenderSystemBase.
 
 
◆ ReleaseDecodingTime()
      
        
          | void CRenderSystemDX::ReleaseDecodingTime  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ RequestDecodingTime()
      
        
          | void CRenderSystemDX::RequestDecodingTime  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ ResetRenderSystem()
  
  
      
        
          | bool CRenderSystemDX::ResetRenderSystem  | 
          ( | 
          int |           width,  | 
         
        
           | 
           | 
          int |           height ) | 
         
       
   | 
  
inlineoverridevirtual   | 
  
 
 
◆ ResetScissors()
  
  
      
        
          | void CRenderSystemDX::ResetScissors  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ RestoreViewPort()
  
  
      
        
          | void CRenderSystemDX::RestoreViewPort  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ ScissorsCanEffectClipping()
  
  
      
        
          | bool CRenderSystemDX::ScissorsCanEffectClipping  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ SetAlphaBlendEnable()
      
        
          | void CRenderSystemDX::SetAlphaBlendEnable  | 
          ( | 
          bool |           enable | ) | 
           | 
        
      
 
 
◆ SetCameraPosition()
  
  
      
        
          | void CRenderSystemDX::SetCameraPosition  | 
          ( | 
          const CPoint & |           camera,  | 
         
        
           | 
           | 
          int |           screenWidth,  | 
         
        
           | 
           | 
          int |           screenHeight,  | 
         
        
           | 
           | 
          float |           stereoFactor = 0.f ) | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ SetScissors()
  
  
      
        
          | void CRenderSystemDX::SetScissors  | 
          ( | 
          const CRect & |           rect | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ SetStereoMode()
◆ SetViewPort()
  
  
      
        
          | void CRenderSystemDX::SetViewPort  | 
          ( | 
          const CRect & |           viewPort | ) | 
           | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ SupportsNPOT()
  
  
      
        
          | bool CRenderSystemDX::SupportsNPOT  | 
          ( | 
          bool |           dxt | ) | 
           const | 
         
       
   | 
  
overridevirtual   | 
  
 
 
◆ SupportsStereo()
◆ m_BlendDisableState
  
  
      
        
          | Microsoft::WRL::ComPtr<ID3D11BlendState> CRenderSystemDX::m_BlendDisableState | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_BlendEnabled
  
  
      
        
          | bool CRenderSystemDX::m_BlendEnabled { false } | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_BlendEnableState
  
  
      
        
          | Microsoft::WRL::ComPtr<ID3D11BlendState> CRenderSystemDX::m_BlendEnableState | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_decoderSection
  
  
      
        
          | CCriticalSection CRenderSystemDX::m_decoderSection | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_decodingEvent
◆ m_decodingTimer
◆ m_depthStencilState
  
  
      
        
          | Microsoft::WRL::ComPtr<ID3D11DepthStencilState> CRenderSystemDX::m_depthStencilState | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_deviceResources
◆ m_inScene
  
  
      
        
          | bool CRenderSystemDX::m_inScene { false } | 
         
       
   | 
  
protected   | 
  
 
True if we're in a BeginScene()/EndScene() block. 
 
 
◆ m_pGUIShader
◆ m_resourceSection
  
  
      
        
          | CCriticalSection CRenderSystemDX::m_resourceSection | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_rightEyeTex
◆ m_RSScissorDisable
  
  
      
        
          | Microsoft::WRL::ComPtr<ID3D11RasterizerState> CRenderSystemDX::m_RSScissorDisable | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_RSScissorEnable
  
  
      
        
          | Microsoft::WRL::ComPtr<ID3D11RasterizerState> CRenderSystemDX::m_RSScissorEnable | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_scissor
  
  
      
        
          | CRect CRenderSystemDX::m_scissor | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_ScissorsEnabled
  
  
      
        
          | bool CRenderSystemDX::m_ScissorsEnabled { false } | 
         
       
   | 
  
protected   | 
  
 
 
◆ m_viewPort
  
  
      
        
          | D3D11_VIEWPORT CRenderSystemDX::m_viewPort | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: