[vlc-devel] [PATCH 1/2] opengl: add documentation for the shader programs
Steve Lhomme
robux4 at videolabs.io
Tue Nov 15 10:54:34 CET 2016
---
modules/video_output/opengl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 16c6592..3eba473 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -655,11 +655,13 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt,
free(infolog);
}
+ /* YUV/XYZ & Vertex shaders */
vgl->program[0] = vgl->CreateProgram();
vgl->AttachShader(vgl->program[0], vgl->shader[0]);
vgl->AttachShader(vgl->program[0], vgl->shader[2]);
vgl->LinkProgram(vgl->program[0]);
+ /* RGA & Vertex shaders */
vgl->program[1] = vgl->CreateProgram();
vgl->AttachShader(vgl->program[1], vgl->shader[1]);
vgl->AttachShader(vgl->program[1], vgl->shader[2]);
--
2.10.1
More information about the vlc-devel
mailing list