mirror of
https://github.com/brl/mutter.git
synced 2025-03-25 12:43:52 +00:00

The function _cogl_get_max_texture_units is called quite often while rendering and it returns a constant value so we might as well cache the result. Calling glGetInteger on Mesa can be expensive because it flushes a lot of state.
Description
Languages
C
98.9%
Meson
0.7%
Python
0.3%