Go to file
Neil Roberts 74cd43e01c [cogl-gles2-wrapper] Convert texture unit settings to be a static sized array
Previously the texture unit settings were stored in growable GArrays
and every time a new texture unit was encountered it would expand the
arrays. However the array wasn't copied when stored in a
CoglGles2WrapperSettings struct so all settings had the same
array. This meant that it wouldn't detect that a different program is
needed if a texture unit is disabled or enabled.

The texture unit settings arrays are all now a fixed size and the
enabledness of each unit is stored in a bit mask. Therefore the
settings can just be copied around by assignment as before.

This puts a limit on the number of texture units accessible by Cogl
but I think it is worth it to make the code simpler and more
efficient. The material API already poses a limit on the number of
texture units it can use.
2009-02-20 15:59:13 +00:00
common [cogl] Provide GTypes for COGL types 2009-02-19 12:02:42 +00:00
doc/reference/cogl [docs] Rename cogl-docs from sgml to xml 2009-02-20 12:02:31 +00:00
gl Initialize a variable to avoid warnings 2009-02-18 18:45:58 +00:00
gles [cogl-gles2-wrapper] Convert texture unit settings to be a static sized array 2009-02-20 15:59:13 +00:00
cogl-color.h [docs] Various gtk-doc updates for Cogl 2009-02-09 14:33:14 +00:00
cogl-deprecated.h 2008-11-12 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-12 13:57:58 +00:00
cogl-fixed.h [Automatic fixed-to-float.sh change] Applies a number fixed to float patches 2009-01-20 16:20:54 +00:00
cogl-material.h [cogl] Add cogl_is_material to cogl-material.h 2009-02-19 11:55:54 +00:00
cogl-matrix.h [docs] Various gtk-doc updates for Cogl 2009-02-09 14:33:14 +00:00
cogl-offscreen.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:57:41 +00:00
cogl-path.h Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
cogl-shader.h 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:21:02 +00:00
cogl-texture.h Fully integrates CoglMaterial throughout the rest of Cogl 2009-01-27 14:26:39 +00:00
cogl-types.h [cogl] Provide GTypes for COGL types 2009-02-19 12:02:42 +00:00
cogl-vertex-buffer.h [docs] Various gtk-doc updates for Cogl 2009-02-09 14:33:14 +00:00
cogl.h.in [Cogl] Renames cogl_paint_init to cogl_clear and adds a cogl_disable_fog function 2009-02-18 16:00:52 +00:00
Makefile.am [build] Add cogl.h to the built sources list 2009-02-12 12:42:58 +00:00
TODO Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00