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

Public Member Functions

 CGLESShader (const char *shader, const std::string &prefix)
 
 CGLESShader (const char *vshader, const char *fshader, const std::string &prefix)
 
void OnCompiledAndLinked () override
 
bool OnEnabled () override
 
void Free ()
 
GLint GetPosLoc ()
 
GLint GetColLoc ()
 
GLint GetCord0Loc ()
 
GLint GetCord1Loc ()
 
GLint GetUniColLoc ()
 
GLint GetCoord0MatrixLoc ()
 
GLint GetFieldLoc ()
 
GLint GetStepLoc ()
 
GLint GetContrastLoc ()
 
GLint GetBrightnessLoc ()
 
GLint GetModelLoc ()
 
bool HardwareClipIsPossible ()
 
GLfloat GetClipXFactor ()
 
GLfloat GetClipXOffset ()
 
GLfloat GetClipYFactor ()
 
GLfloat GetClipYOffset ()
 
- Public Member Functions inherited from Shaders::CGLSLShaderProgram
 CGLSLShaderProgram (const std::string &vert, const std::string &frag)
 
bool Enable () override
 
void Disable () override
 
bool CompileAndLink () override
 
- Public Member Functions inherited from Shaders::CShaderProgram
bool OK () const
 
CVertexShaderVertexShader ()
 
CPixelShaderPixelShader ()
 
virtual void OnDisabled ()
 
virtual GLuint ProgramHandle ()
 

Protected Attributes

GLint m_hTex0 = 0
 
GLint m_hTex1 = 0
 
GLint m_hUniCol = 0
 
GLint m_hProj = 0
 
GLint m_hModel = 0
 
GLint m_hPos = 0
 
GLint m_hCol = 0
 
GLint m_hCord0 = 0
 
GLint m_hCord1 = 0
 
GLint m_hCoord0Matrix = 0
 
GLint m_hField = 0
 
GLint m_hStep = 0
 
GLint m_hContrast = 0
 
GLint m_hBrightness = 0
 
const GLfloat * m_proj
 
const GLfloat * m_model
 
bool m_clipPossible
 
GLfloat m_clipXFactor
 
GLfloat m_clipXOffset
 
GLfloat m_clipYFactor
 
GLfloat m_clipYOffset
 
GLfloat m_sdrPeak
 
- Protected Attributes inherited from Shaders::CGLSLShaderProgram
GLint m_lastProgram
 
bool m_validated = false
 
- Protected Attributes inherited from Shaders::CShaderProgram
CVertexShaderm_pVP = nullptr
 
CPixelShaderm_pFP = nullptr
 
GLuint m_shaderProgram = 0
 
bool m_ok = false
 

Additional Inherited Members

- Protected Member Functions inherited from Shaders::CGLSLShaderProgram
void Free ()
 

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