mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +00:00
Robert Bragg
3369c5138b
[material] avoid flushing the journal when just changing the color
Whenever we modify a material we call _cogl_material_pre_change_notify which checks to see if the material is referenced by the journal and if so flushes if before we modify the material. Since the journal logs material colors directly into a vertex array (to avoid us repeatedly calling glColor) then we know we never need to flush the journal when material colors change.
…
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%