mirror of
https://github.com/brl/mutter.git
synced 2025-02-09 10:04:08 +00:00
![Robert Bragg](/assets/img/avatar_default.png)
This makes CoglProgram/Shader automatically detect when the user has given an ARBfp program by checking for "!!ARBfp1.0" at the beginning of the user's source. ARBfp local parameters can be set with cogl_program_uniform_float assuming you pass a @size of 4 (all ARBfp program.local parameters are vectors of 4 floats). This doesn't expose ARBfp environment parameters or double precision local parameters.