summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* scripts: Don't hardcode /usr/bin/pythonDamien Lespiau2011-03-251-1/+1
| | | | | | But use /usr/bin/env python in the shebang. This obviously allows the script to work in environments where python is not installed in /usr/bin say, on Windows where it's somewhere in the system outside of the msys fs.
* [videosink] Guard the assembly shaders with NULLDamien Lespiau2009-05-051-1/+2
| | | | | | | | The assembly shader arrays are supposed to be NULL-terminated arrays of pointers. My system was very kind and never crashed but this can't be expected in the wild where evil segfaults reign. Yes, this is embarassing.
* [videosink] Add a I420 to RGBA fragment programDamien Lespiau2009-04-282-0/+127
Things are a bit convoluted: * we want to keep GLSL shaders (eg OpenGL ES 2.0 does not have the GL_ARB_fragment_program extension) * we want to default to assembly fragment programs as they will support as broader range of hardware Now, those fragment programs are written in Cg, compiled with the Cg compiler and its arbfp1 profile and then turned into a header file thanks to a small python script. Sounds fun isn't it? As people may not want to install the Cg compiler, let's commit the actual fragment program. The configure script will detect if you have cgc and add targets to build the pso file accordingly.