kodi
Public Member Functions | Protected Attributes | List of all members
CRenderSystemBase Class Referenceabstract
Inheritance diagram for CRenderSystemBase:
Inheritance graph
[legend]
Collaboration diagram for CRenderSystemBase:
Collaboration graph
[legend]

Public Member Functions

virtual bool InitRenderSystem ()=0
 
virtual bool DestroyRenderSystem ()=0
 
virtual bool ResetRenderSystem (int width, int height)=0
 
virtual bool BeginRender ()=0
 
virtual bool EndRender ()=0
 
virtual void PresentRender (bool rendered, bool videoLayer)=0
 
virtual bool ClearBuffers (UTILS::COLOR::Color color)=0
 
virtual bool IsExtSupported (const char *extension) const =0
 
virtual void SetViewPort (const CRect &viewPort)=0
 
virtual void GetViewPort (CRect &viewPort)=0
 
virtual void RestoreViewPort ()
 
virtual bool ScissorsCanEffectClipping ()
 
virtual CRect ClipRectToScissorRect (const CRect &rect)
 
virtual void SetScissors (const CRect &rect)=0
 
virtual void ResetScissors ()=0
 
virtual void CaptureStateBlock ()=0
 
virtual void ApplyStateBlock ()=0
 
virtual void SetCameraPosition (const CPoint &camera, int screenWidth, int screenHeight, float stereoFactor=0.f)=0
 
virtual void SetStereoMode (RENDER_STEREO_MODE mode, RENDER_STEREO_VIEW view)
 
virtual void Project (float &x, float &y, float &z)
 Project (x,y,z) 3d scene coordinates to (x,y) 2d screen coordinates.
 
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
 
virtual bool SupportsNPOT (bool dxt) const
 
virtual bool SupportsStereo (RENDER_STEREO_MODE mode) const
 
unsigned int GetMaxTextureSize () const
 
unsigned int GetMinDXTPitch () const
 
virtual void ShowSplash (const std::string &message)
 

Protected Attributes

bool m_bRenderCreated
 
bool m_bVSync
 
unsigned int m_maxTextureSize
 
unsigned int m_minDXTPitch
 
std::string m_RenderRenderer
 
std::string m_RenderVendor
 
std::string m_RenderVersion
 
int m_RenderVersionMinor
 
int m_RenderVersionMajor
 
RENDER_STEREO_VIEW m_stereoView = RENDER_STEREO_VIEW_OFF
 
RENDER_STEREO_MODE m_stereoMode = RENDER_STEREO_MODE_OFF
 
bool m_limitedColorRange = false
 
bool m_transferPQ {false}
 
std::unique_ptr< CGUIImagem_splashImage
 
std::unique_ptr< CGUITextLayoutm_splashMessageLayout
 

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