mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 09:59:03 +00:00
Neil Roberts
9139f21e09
cogl-atlas-texture: Remove textures from the atlas when mipmapping is required
Mipmaps don't work very well in the current atlas because there is not enough padding between the textures. If ensure_mipmaps is called it will now create a new texture and migrate the atlased texture to it. It will use the same blit mechanism as when migrating so it will try to use an FBO for a fast blit. However if this is not possible it will end up downloading the data for the entire atlas which is not ideal.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%