mirror of
https://github.com/brl/mutter.git
synced 2025-03-24 12:13:52 +00:00

MaterialNodes are used for the sparse graph of material state and layer state. In the case of materials there is the idea of weak materials that don't take a reference on their parent and in that case we need to be careful not to unref our parent during _cogl_material_node_unparent_real. This adds a has_parent_reference member to the CoglMaterialNode struct so we now know when to skip the unref.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%