mirror of
https://github.com/brl/mutter.git
synced 2025-02-17 05:44:08 +00:00
![Robert Bragg](/assets/img/avatar_default.png)
When we add support for weak materials it's expected that Clutter will want to attach them as private data to other materials and it needs a mechanism to determine when a weak material should be re-created because its parent has changed somehow. This adds the concept of a material age (internal only currently) which increments whenever a material is modified. Clutter can then save the age of the material which its weak materials are derived from and later determine when the weak material may be invalid.