Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
0aaea4a93a
Previously when the atlas needs to be migrated it would start by trying with the same size as the existing atlas if there is enough space for the new texture. However even if the atlas is completely sorted there will always be some amount of waste so when the atlas needs to grow it would usually end up redundantly trying the same size when it is very unlikely to fit. This patch changes it so that there must be at least 6% waste available after the new texture is added otherwise it will start with the next atlas size. |
||
---|---|---|
cogl | ||
doc | ||
pango | ||
Makefile.am |