1
0
Fork 0
mutter-performance-source/gles
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
..
cogl-context.c Another Cogl gl vs gles normalizaion pass 2009-01-28 17:20:16 +00:00
cogl-context.h Updates GLES1 support for CoglMaterial 2009-01-27 14:26:50 +00:00
cogl-defines.h.in Fix building GLES 2 after the material branch merge 2009-02-02 21:57:41 +00:00
cogl-fbo.c Normalizes gl vs gles code in preperation for synching material changes 2009-01-27 14:26:50 +00:00
cogl-fbo.h Bug 1074 - FBOs on GLES 2008-10-29 14:52:48 +00:00
cogl-fixed-fragment-shader.glsl [multi-texturing] This adds a new cogl_multi_texture API for GL,GLES1 + GLES2 2008-12-22 16:35:51 +00:00
cogl-fixed-vertex-shader.glsl [multi-texturing] This adds a new cogl_multi_texture API for GL,GLES1 + GLES2 2008-12-22 16:35:51 +00:00
cogl-gles2-wrapper.c [cogl-gles2-wrapper] Convert texture unit settings to be a static sized array 2009-02-20 15:59:13 +00:00
cogl-gles2-wrapper.h [cogl-gles2-wrapper] Convert texture unit settings to be a static sized array 2009-02-20 15:59:13 +00:00
cogl-internal.h Updates GLES1 support for CoglMaterial 2009-01-27 14:26:50 +00:00
cogl-primitives.c Changes cogl_rectangle to take x1, y1, x2, y2 args not x1, y1, width, height 2009-01-28 17:20:15 +00:00
cogl-program.c 2008-11-18 Emmanuele Bassi <ebassi@linux.intel.com> 2008-11-18 15:21:02 +00:00
cogl-program.h * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00
cogl-shader-private.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:25:00 +00:00
cogl-shader.c 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:25:00 +00:00
cogl-texture-private.h Updates GLES1 support for CoglMaterial 2009-01-27 14:26:50 +00:00
cogl-texture.c Call glActiveTexture and glClientActiveTexture through cogl_get_proc_address 2009-02-16 12:46:36 +00:00
cogl-util.c Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl-util.h Merged clutter-ivan branch into trunk. 2008-04-25 13:37:36 +00:00
cogl.c [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 Merge branch 'cogl-material' 2009-01-27 15:19:34 +00:00
stringify.sh * clutter/cogl/gles/cogl-gles2-wrapper.h: 2008-06-24 16:21:40 +00:00