mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
1e72ba4932
Previously each node in the rectangle map tree would store the total remaining space in all of its children to use as an optimization when adding nodes. With this it could skip an entire branch of the tree if it knew there could never be enough space for the new node in the branch. This modifies that slightly to instead store the largest single gap. This allows it to skip a branch earlier because often there would be a lot of small gaps which would add up to enough a space for the new rectangle, but the space can't be used unless it is in a single node. The rectangle map still needs to keep track of the total remaining space for the whole map for the debugging output so this has been added back in to the CoglRectangleMap struct. There is a separate debugging function to verify this value. |
||
---|---|---|
cogl | ||
doc | ||
pango | ||
Makefile.am |