opengl: add documentation for the shader programs
authorSteve Lhomme <robux4@videolabs.io>
Tue, 15 Nov 2016 09:50:16 +0000 (10:50 +0100)
committerThomas Guillem <thomas@gllm.fr>
Wed, 16 Nov 2016 11:09:15 +0000 (12:09 +0100)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
modules/video_output/opengl.c

index e5f23ba..5cc64a6 100644 (file)
@@ -657,11 +657,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]);