Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
16a09763ef
cogl_material_copy can be used to create a new CoglHandle referencing a copy of some given material. From now on we will advise that developers always aim to use this function instead of cogl_material_new() when creating a material that is in any way derived from another. By using cogl_material_copy, Cogl can maintain an ancestry for each material and keep track of "similar" materials. The plan is that Cogl will use this information to minimize the cost of GPU state transitions. |
||
---|---|---|
cogl | ||
doc/reference/cogl | ||
pango | ||
Makefile.am |