![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <VideoFilterShaderGL.h>
Public Member Functions | |
StretchFilterShader () | |
void | OnCompiledAndLinked () override |
bool | OnEnabled () override |
![]() | |
BaseVideoFilterShader () | |
~BaseVideoFilterShader () override | |
virtual bool | GetTextureFilter (GLint &filter) |
void | SetSourceTexture (GLint ytex) |
void | SetWidth (int w) |
void | SetHeight (int h) |
void | SetNonLinStretch (float stretch) |
void | SetAlpha (GLfloat alpha) |
GLint | GetVertexLoc () |
GLint | GetCoordLoc () |
void | SetMatrices (const GLfloat *p, const GLfloat *m) |
![]() | |
CGLSLShaderProgram () | |
CGLSLShaderProgram (const std::string &vert, const std::string &frag) | |
~CGLSLShaderProgram () override | |
bool | Enable () override |
void | Disable () override |
bool | CompileAndLink () override |
![]() | |
CShaderProgram ()=default | |
virtual | ~CShaderProgram () |
bool | OK () const |
CVertexShader * | VertexShader () |
CPixelShader * | PixelShader () |
virtual void | OnDisabled () |
virtual GLuint | ProgramHandle () |
Additional Inherited Members | |
![]() | |
void | Free () |
![]() | |
int | m_width |
int | m_height |
float | m_stepX |
float | m_stepY |
float | m_stretch |
GLfloat | m_alpha |
GLint | m_sourceTexUnit = 0 |
const GLfloat * | m_proj = nullptr |
const GLfloat * | m_model = nullptr |
GLint | m_hSourceTex = 0 |
GLint | m_hStepXY = 0 |
GLint | m_hStretch = -1 |
GLint | m_hAlpha = -1 |
GLint | m_hVertex = -1 |
GLint | m_hCoord = -1 |
GLint | m_hProj = -1 |
GLint | m_hModel = -1 |
![]() | |
GLint | m_lastProgram |
bool | m_validated = false |
![]() | |
CVertexShader * | m_pVP = nullptr |
CPixelShader * | m_pFP = nullptr |
GLuint | m_shaderProgram = 0 |
bool | m_ok = false |
StretchFilterShader::StretchFilterShader | ( | ) |
|
overridevirtual |
Reimplemented from Shaders::CShaderProgram.
|
overridevirtual |
Reimplemented from Shaders::CShaderProgram.