Neil Roberts 7a372bc001 cogl: Cache the value for GL_MAX_TEXTURE_UNITS
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.
2010-02-12 14:38:53 +00:00
..
2010-02-01 10:40:34 +00:00
2010-01-20 00:38:07 +00:00
2010-02-04 21:10:02 +00:00
2010-02-03 14:38:13 +00:00
2010-02-01 10:40:34 +00:00
2010-02-01 10:40:34 +00:00
2010-02-07 18:25:19 +00:00
2010-02-07 18:25:19 +00:00