#include <RenderSystemGL.h>
|
| CRenderSystemGL () |
|
| ~CRenderSystemGL () override |
|
bool | InitRenderSystem () override |
|
bool | DestroyRenderSystem () override |
|
bool | ResetRenderSystem (int width, int height) override |
|
bool | BeginRender () override |
|
bool | EndRender () override |
|
void | PresentRender (bool rendered, bool videoLayer) override |
|
void | InvalidateColorBuffer () override |
|
bool | ClearBuffers (KODI::UTILS::COLOR::Color color) override |
|
bool | IsExtSupported (const char *extension) const override |
|
void | SetVSync (bool vsync) |
|
void | ResetVSync () |
|
void | SetViewPort (const CRect &viewPort) override |
|
void | GetViewPort (CRect &viewPort) override |
|
bool | ScissorsCanEffectClipping () override |
|
CRect | ClipRectToScissorRect (const CRect &rect) override |
|
void | SetScissors (const CRect &rect) override |
|
void | ResetScissors () override |
|
void | SetDepthCulling (DEPTH_CULLING culling) override |
|
void | CaptureStateBlock () override |
|
void | ApplyStateBlock () override |
|
void | SetCameraPosition (const CPoint &camera, int screenWidth, int screenHeight, float stereoFactor=0.0f) override |
|
void | SetStereoMode (RENDER_STEREO_MODE mode, RENDER_STEREO_VIEW view) override |
|
bool | SupportsStereo (RENDER_STEREO_MODE mode) const override |
|
bool | SupportsNPOT (bool dxt) const override |
|
void | Project (float &x, float &y, float &z) override |
|
std::string | GetShaderPath (const std::string &filename) override |
|
void | GetGLVersion (int &major, int &minor) |
|
void | GetGLSLVersion (int &major, int &minor) |
|
void | ResetGLErrors () |
|
void | EnableShader (ShaderMethodGL method) |
|
void | DisableShader () |
|
GLint | ShaderGetPos () |
|
GLint | ShaderGetCol () |
|
GLint | ShaderGetCoord0 () |
|
GLint | ShaderGetCoord1 () |
|
GLint | ShaderGetDepth () |
|
GLint | ShaderGetUniCol () |
|
GLint | ShaderGetModel () |
|
GLint | ShaderGetMatrix () |
|
GLint | ShaderGetClip () |
|
GLint | ShaderGetCoordStep () |
|
| CRenderSystemBase () |
|
virtual | ~CRenderSystemBase () |
|
virtual void | RestoreViewPort () |
|
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) |
|
◆ CRenderSystemGL()
CRenderSystemGL::CRenderSystemGL |
( |
| ) |
|
◆ ~CRenderSystemGL()
CRenderSystemGL::~CRenderSystemGL |
( |
| ) |
|
|
overridedefault |
◆ ApplyStateBlock()
void CRenderSystemGL::ApplyStateBlock |
( |
| ) |
|
|
overridevirtual |
◆ BeginRender()
bool CRenderSystemGL::BeginRender |
( |
| ) |
|
|
overridevirtual |
◆ CalculateMaxTexturesize()
void CRenderSystemGL::CalculateMaxTexturesize |
( |
| ) |
|
|
protected |
◆ CaptureStateBlock()
void CRenderSystemGL::CaptureStateBlock |
( |
| ) |
|
|
overridevirtual |
◆ ClearBuffers()
◆ ClipRectToScissorRect()
CRect CRenderSystemGL::ClipRectToScissorRect |
( |
const CRect & | rect | ) |
|
|
overridevirtual |
◆ DestroyRenderSystem()
bool CRenderSystemGL::DestroyRenderSystem |
( |
| ) |
|
|
overridevirtual |
◆ DisableShader()
void CRenderSystemGL::DisableShader |
( |
| ) |
|
◆ EnableShader()
◆ EndRender()
bool CRenderSystemGL::EndRender |
( |
| ) |
|
|
overridevirtual |
◆ GetGLSLVersion()
void CRenderSystemGL::GetGLSLVersion |
( |
int & | major, |
|
|
int & | minor ) |
◆ GetGLVersion()
void CRenderSystemGL::GetGLVersion |
( |
int & | major, |
|
|
int & | minor ) |
◆ GetShaderPath()
std::string CRenderSystemGL::GetShaderPath |
( |
const std::string & | filename | ) |
|
|
overridevirtual |
◆ GetViewPort()
void CRenderSystemGL::GetViewPort |
( |
CRect & | viewPort | ) |
|
|
overridevirtual |
◆ InitialiseShaders()
void CRenderSystemGL::InitialiseShaders |
( |
| ) |
|
|
protected |
◆ InitRenderSystem()
bool CRenderSystemGL::InitRenderSystem |
( |
| ) |
|
|
overridevirtual |
◆ InvalidateColorBuffer()
void CRenderSystemGL::InvalidateColorBuffer |
( |
| ) |
|
|
overridevirtual |
◆ IsExtSupported()
bool CRenderSystemGL::IsExtSupported |
( |
const char * | extension | ) |
const |
|
overridevirtual |
◆ PresentRender()
void CRenderSystemGL::PresentRender |
( |
bool | rendered, |
|
|
bool | videoLayer ) |
|
overridevirtual |
◆ PresentRenderImpl()
virtual void CRenderSystemGL::PresentRenderImpl |
( |
bool | rendered | ) |
|
|
protectedpure virtual |
◆ Project()
void CRenderSystemGL::Project |
( |
float & | x, |
|
|
float & | y, |
|
|
float & | z ) |
|
overridevirtual |
Project (x,y,z) 3d scene coordinates to (x,y) 2d screen coordinates
Reimplemented from CRenderSystemBase.
◆ ReleaseShaders()
void CRenderSystemGL::ReleaseShaders |
( |
| ) |
|
|
protected |
◆ ResetGLErrors()
void CRenderSystemGL::ResetGLErrors |
( |
| ) |
|
◆ ResetRenderSystem()
bool CRenderSystemGL::ResetRenderSystem |
( |
int | width, |
|
|
int | height ) |
|
overridevirtual |
◆ ResetScissors()
void CRenderSystemGL::ResetScissors |
( |
| ) |
|
|
overridevirtual |
◆ ResetVSync()
void CRenderSystemGL::ResetVSync |
( |
| ) |
|
|
inline |
◆ ScissorsCanEffectClipping()
bool CRenderSystemGL::ScissorsCanEffectClipping |
( |
| ) |
|
|
overridevirtual |
◆ SetCameraPosition()
void CRenderSystemGL::SetCameraPosition |
( |
const CPoint & | camera, |
|
|
int | screenWidth, |
|
|
int | screenHeight, |
|
|
float | stereoFactor = 0.0f ) |
|
overridevirtual |
◆ SetDepthCulling()
◆ SetScissors()
void CRenderSystemGL::SetScissors |
( |
const CRect & | rect | ) |
|
|
overridevirtual |
◆ SetStereoMode()
◆ SetViewPort()
void CRenderSystemGL::SetViewPort |
( |
const CRect & | viewPort | ) |
|
|
overridevirtual |
◆ SetVSync()
void CRenderSystemGL::SetVSync |
( |
bool | vsync | ) |
|
◆ SetVSyncImpl()
virtual void CRenderSystemGL::SetVSyncImpl |
( |
bool | enable | ) |
|
|
protectedpure virtual |
◆ ShaderGetClip()
GLint CRenderSystemGL::ShaderGetClip |
( |
| ) |
|
◆ ShaderGetCol()
GLint CRenderSystemGL::ShaderGetCol |
( |
| ) |
|
◆ ShaderGetCoord0()
GLint CRenderSystemGL::ShaderGetCoord0 |
( |
| ) |
|
◆ ShaderGetCoord1()
GLint CRenderSystemGL::ShaderGetCoord1 |
( |
| ) |
|
◆ ShaderGetCoordStep()
GLint CRenderSystemGL::ShaderGetCoordStep |
( |
| ) |
|
◆ ShaderGetDepth()
GLint CRenderSystemGL::ShaderGetDepth |
( |
| ) |
|
◆ ShaderGetMatrix()
GLint CRenderSystemGL::ShaderGetMatrix |
( |
| ) |
|
◆ ShaderGetModel()
GLint CRenderSystemGL::ShaderGetModel |
( |
| ) |
|
◆ ShaderGetPos()
GLint CRenderSystemGL::ShaderGetPos |
( |
| ) |
|
◆ ShaderGetUniCol()
GLint CRenderSystemGL::ShaderGetUniCol |
( |
| ) |
|
◆ SupportsNPOT()
bool CRenderSystemGL::SupportsNPOT |
( |
bool | dxt | ) |
const |
|
overridevirtual |
◆ SupportsStereo()
◆ m_bVsyncInit
bool CRenderSystemGL::m_bVsyncInit = false |
|
protected |
◆ m_glslMajor
int CRenderSystemGL::m_glslMajor = 0 |
|
protected |
◆ m_glslMinor
int CRenderSystemGL::m_glslMinor = 0 |
|
protected |
◆ m_height
int CRenderSystemGL::m_height |
|
protected |
◆ m_method
◆ m_pShader
◆ m_RenderExtensions
std::string CRenderSystemGL::m_RenderExtensions |
|
protected |
◆ m_vertexArray
GLuint CRenderSystemGL::m_vertexArray = GL_NONE |
|
protected |
◆ m_viewPort
GLint CRenderSystemGL::m_viewPort[4] |
|
protected |
◆ m_width
int CRenderSystemGL::m_width |
|
protected |
The documentation for this class was generated from the following files: