mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
Robert Bragg
8d80a88e14
cogl-program: Adds use_uniform_xyz methods
Instead of exposing an API that provides an OpenGL state machine style where you first have to bind the program to the context using cogl_program_use() followed by updating uniforms using cogl_program_uniform_xyz we now have uniform setter methods that take an explicit CoglHandle for the program. This deprecates cogl_program_use and all the cogl_program_uniform variants and provides the following replacements: cogl_program_set_uniform_1i cogl_program_set_uniform_1f cogl_program_set_uniform_int cogl_program_set_uniform_float cogl_program_set_uniform_matrix
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%