#include "libmythbase/mythconfig.h"
#include <QString>
Go to the source code of this file.
◆ BicubicShader
| const QString BicubicShader |
|
static |
◆ DebandFragmentShader
| const QString DebandFragmentShader |
|
static |
◆ DefaultVertexShader
| const QString DefaultVertexShader |
|
static |
Initial value:=
"attribute highp vec2 a_position;\n"
"attribute highp vec2 a_texcoord0;\n"
"varying highp vec2 v_texcoord0;\n"
"uniform highp mat4 u_projection;\n"
"void main()\n"
"{\n"
" gl_Position = u_projection * vec4(a_position, 0.0, 1.0);\n"
" v_texcoord0 = a_texcoord0;\n"
"}\n"
Definition at line 8 of file mythopenglvideoshaders.h.
Referenced by MythOpenGLVideo::CreateVideoShader().
◆ GLSL300VertexShader
| const QString GLSL300VertexShader |
|
static |
Initial value:=
"in highp vec2 a_position;\n"
"in highp vec2 a_texcoord0;\n"
"out highp vec2 v_texcoord0;\n"
"uniform highp mat4 u_projection;\n"
"void main()\n"
"{\n"
" gl_Position = u_projection * vec4(a_position, 0.0, 1.0);\n"
" v_texcoord0 = a_texcoord0;\n"
"}\n"
Definition at line 300 of file mythopenglvideoshaders.h.
Referenced by MythOpenGLVideo::CreateVideoShader().
◆ GLSL300YUVFragmentExtensions
| const QString GLSL300YUVFragmentExtensions |
|
static |
◆ GLSL300YUVFragmentShader
| const QString GLSL300YUVFragmentShader |
|
static |
◆ RGBFragmentShader
| const QString RGBFragmentShader |
|
static |
Initial value:=
"uniform sampler2D s_texture0;\n"
"varying highp vec2 v_texcoord0;\n"
"void main(void)\n"
"{\n"
" highp vec4 color = texture2D(s_texture0, v_texcoord0);\n"
" gl_FragColor = vec4(color.rgb, 1.0);\n"
"}\n"
Definition at line 19 of file mythopenglvideoshaders.h.
Referenced by MythOpenGLVideo::CreateVideoShader().
◆ YUVFragmentExtensions
| const QString YUVFragmentExtensions |
|
static |
Initial value:=
"#define LINEHEIGHT m_frameData.x\n"
"#define COLUMN m_frameData.y\n"
"#define MAXHEIGHT m_frameData.z\n"
"#define FIELDSIZE m_frameData.w\n"
"#ifdef MYTHTV_RECTS\n"
"#extension GL_ARB_texture_rectangle : enable\n"
"#define texture2D texture2DRect\n"
"#define sampler2D sampler2DRect\n"
"#endif\n"
"#ifdef MYTHTV_EXTOES\n"
"#extension GL_OES_EGL_image_external : require\n"
"#define sampler2D samplerExternalOES\n"
"#endif\n"
Definition at line 43 of file mythopenglvideoshaders.h.
Referenced by MythOpenGLVideo::CreateVideoShader().
◆ YUVFragmentShader
| const QString YUVFragmentShader |
|
static |