11 #include "guilib/Shader.h" 18 CGLESShader(
const char* shader,
const std::string& prefix);
19 CGLESShader(
const char* vshader,
const char* fshader,
const std::string& prefix);
20 void OnCompiledAndLinked()
override;
21 bool OnEnabled()
override;
24 GLint GetPosLoc() {
return m_hPos; }
25 GLint GetColLoc() {
return m_hCol; }
26 GLint GetCord0Loc() {
return m_hCord0; }
27 GLint GetCord1Loc() {
return m_hCord1; }
28 GLint GetUniColLoc() {
return m_hUniCol; }
29 GLint GetCoord0MatrixLoc() {
return m_hCoord0Matrix; }
30 GLint GetFieldLoc() {
return m_hField; }
31 GLint GetStepLoc() {
return m_hStep; }
32 GLint GetContrastLoc() {
return m_hContrast; }
33 GLint GetBrightnessLoc() {
return m_hBrightness; }
34 GLint GetModelLoc() {
return m_hModel; }
35 bool HardwareClipIsPossible() {
return m_clipPossible; }
36 GLfloat GetClipXFactor() {
return m_clipXFactor; }
37 GLfloat GetClipXOffset() {
return m_clipXOffset; }
38 GLfloat GetClipYFactor() {
return m_clipYFactor; }
39 GLfloat GetClipYOffset() {
return m_clipYOffset; }
51 GLint m_hCoord0Matrix = 0;
54 GLint m_hContrast = 0;
55 GLint m_hBrightness = 0;
57 const GLfloat *m_proj;
58 const GLfloat *m_model;
61 GLfloat m_clipXFactor;
62 GLfloat m_clipXOffset;
63 GLfloat m_clipYFactor;
64 GLfloat m_clipYOffset;
Definition: GLESShader.h:15