mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
cogl: Adds {push,pop,get}_source functions
This exposes the idea of a stack of source materials instead of just having a single current material. This allows the writing of orthogonal code that can change the current source material and restore it to its previous state. It also allows the implementation of new composite primitives that may want to validate the current source material and possibly make override changes in a derived material.
This commit is contained in:
@ -61,6 +61,9 @@ cogl_set_source_color
|
||||
cogl_set_source_color4ub
|
||||
cogl_set_source_color4f
|
||||
cogl_set_source_texture
|
||||
cogl_get_source
|
||||
cogl_push_source
|
||||
cogl_pop_source
|
||||
|
||||
<SUBSECTION>
|
||||
CoglReadPixelsFlags
|
||||
|
Reference in New Issue
Block a user