mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 01:50:42 -05:00
8d80a88e14
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 |
||
---|---|---|
.. | ||
reference/cogl | ||
CODING_STYLE |