mirror of
https://github.com/brl/mutter.git
synced 2025-01-24 02:19:15 +00:00
Neil Roberts
b4240cba29
cogl-atlas: Use _cogl_texture_driver_size_supported
Previously when creating a new rectangle map it would try increasingly larger texture sizes until GL_MAX_TEXTURE_SIZE is reached. This is bad because it queries state which should really be owned by the texture driver. Also GL_MAX_TEXTURE_SIZE is often a conservative estimate so larger texture sizes can be used if the proxy texture is queried instead.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%