mirror of
https://github.com/brl/mutter.git
synced 2025-02-22 16:04:09 +00:00

Instead of assigning a new colour to each quad of a batch, the rectangle debugging code now assigns a new colour to each batch so that it can be used to visually see what is being batched. The colour is stored in a global variable that is reset during cogl_clear. This improves the chances that the same colour will be used for a batch in the next frames to avoid flickering.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%