Neil Roberts
b0df99fbad
[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
..
2009-02-20 15:59:13 +00:00
2009-01-16 22:13:44 +00:00
2009-02-16 12:46:36 +00:00
2008-10-30 17:04:34 +00:00
2009-02-16 12:46:36 +00:00
2009-02-20 14:39:51 +00:00
2008-10-30 17:04:34 +00:00
2009-01-28 17:20:15 +00:00
2008-10-30 17:04:34 +00:00
2009-02-16 12:46:37 +00:00
2009-02-19 17:22:21 +00:00
2009-02-20 12:09:07 +00:00
2009-02-02 12:07:28 +00:00
2009-02-20 12:09:07 +00:00
2009-01-20 18:47:50 +00:00
2009-01-08 13:18:00 +00:00
2009-01-08 13:18:00 +00:00
2009-02-20 12:09:07 +00:00
2009-01-16 14:37:42 +00:00
2009-02-20 12:09:07 +00:00
2008-12-23 15:03:11 +00:00
2009-01-23 13:08:46 +00:00
2008-10-30 17:04:34 +00:00
2009-01-24 14:32:10 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:42:49 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2008-12-05 13:13:37 +00:00
2009-02-18 18:30:58 +00:00
2008-10-30 17:04:34 +00:00
2009-01-23 18:41:40 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2009-01-20 16:42:49 +00:00
2009-01-20 16:20:54 +00:00
2008-12-05 13:13:37 +00:00
2009-02-20 12:09:07 +00:00
2009-01-14 15:03:30 +00:00
2008-12-19 17:48:30 +00:00
2009-01-09 14:26:35 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2009-01-27 14:24:31 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2008-11-18 09:50:03 +00:00
2009-01-28 16:24:02 +00:00
2007-12-25 11:41:10 +00:00
2007-08-20 20:16:15 +00:00
2009-02-20 12:09:07 +00:00
2009-02-14 11:38:16 +00:00
2008-06-06 13:44:22 +00:00
2008-10-30 17:04:34 +00:00
2009-01-20 16:20:54 +00:00
2009-01-20 16:20:55 +00:00
2008-05-09 16:27:06 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2008-03-09 19:07:17 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2009-01-08 11:15:09 +00:00
2008-04-23 13:58:58 +00:00
2008-06-10 06:37:46 +00:00
2008-08-05 10:54:40 +00:00
2009-02-14 11:31:00 +00:00
2009-02-14 11:31:00 +00:00
2009-02-20 12:09:07 +00:00
2009-01-27 14:43:44 +00:00
2009-01-20 16:42:49 +00:00
2009-01-20 23:40:25 +00:00
2009-01-20 23:40:25 +00:00
2008-01-09 14:18:53 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2008-12-21 21:52:50 +00:00
2009-02-14 11:38:16 +00:00
2009-01-28 17:20:15 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2008-08-04 16:21:27 +00:00
2008-08-04 16:21:27 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2007-11-14 11:32:24 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2009-02-20 11:47:14 +00:00
2008-11-18 15:08:40 +00:00
2008-11-18 15:08:40 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2008-04-04 15:02:11 +00:00
2008-10-30 17:04:34 +00:00
2009-02-20 12:09:07 +00:00
2009-01-23 15:16:21 +00:00
2009-02-20 12:09:07 +00:00
2009-02-05 19:54:48 +00:00
2009-02-19 15:44:16 +00:00
2009-02-19 15:00:23 +00:00
2009-02-20 12:09:07 +00:00
2008-10-30 17:04:34 +00:00
2008-09-23 13:25:31 +00:00
2008-10-30 17:04:34 +00:00
2009-01-27 14:43:44 +00:00
2009-01-22 12:11:25 +00:00
2009-01-21 17:35:47 +00:00
2008-02-12 17:17:52 +00:00
2008-10-30 17:04:34 +00:00
2008-03-31 17:15:02 +00:00
2009-01-27 15:18:45 +00:00
2009-02-20 14:39:51 +00:00