AnsweredAssumed Answered

How to use shaders for i.MX6 Vivante GPU with gstreamer

Question asked by Jose Diaz de Grenu de Pedro on Apr 18, 2016
Latest reply on Apr 19, 2016 by Bio_TICFSL


Hi, I have two source code files for vertex and fragment shader. How can I compile them for the BSP v3.14 so I can use it with the glshader element of gstreamer 1.0?

I have tried to use the glshader element directly with the source code, that does not work: the glshader has a property 'location' to specify the locatino of the GLSL file, but I have one vertex shader and one fragment shader. Do I need to combine them somehow into a single file first?

I have also tried to compile them using the vCompiler from the Vivanto SDK. That worked fine and generated a .gcPGM file. Can I use that with gstreamer? How?

Outcomes