Neil Roberts
b9b41723c1
cogl-pipeline: Use BSD lists for the list of pipeline children
...
Instead of having a separate GList for the children we can use the
linked list code from FreeBSD and store the list node directly in the
struct. That way we can avoid having a separate slice allocation for
the list node. It also means that we effectively have a pointer to the
list node given a pointer to the pipeline node. That means we can
unparent a pipeline without having to walk the entire list of
children. With this change there is no need to have the optimisation
to fast track a pipeline that only has one child which simplifies the
code somewhat.
With this patch we are removing a pointer and a gboolean from the
CoglPipeline struct and adding two pointers. On 32-bit architectures
this should end up exactly the same size because a gboolean is the
same size as a pointer. On 64-bit architectures I think it should end
up 4 bytes smaller because it also ends up removing two cases where a
pointer follows a gboolean which presumably would mean the compiler
would have to insert 4 bytes of padding to keep the pointer aligned to
8 bytes.
https://bugzilla.gnome.org/show_bug.cgi?id=652514
2011-07-01 17:58:59 +01:00
..
2011-07-01 14:30:59 +01:00
2011-06-30 15:00:58 +01:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-05-16 14:32:37 +01:00
2011-05-06 12:12:08 +01:00
2011-06-14 17:09:55 +01:00
2011-05-05 17:32:28 +01:00
2011-05-05 17:32:28 +01:00
2011-06-01 20:44:41 +01:00
2011-03-14 18:18:15 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:32:37 +01:00
2011-06-30 14:33:13 +01:00
2011-05-16 14:32:37 +01:00
2011-02-15 12:40:11 +00:00
2011-05-05 17:32:29 +01:00
2011-01-10 16:54:58 +00:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:28:29 +00:00
2011-04-20 18:20:10 +01:00
2011-04-11 15:18:12 +01:00
2011-06-01 20:44:41 +01:00
2011-02-15 12:10:54 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-06-30 14:33:12 +01:00
2011-04-11 17:54:36 +01:00
2011-01-21 16:18:10 +00:00
2011-03-10 13:05:43 +00:00
2011-04-11 15:28:53 +01:00
2011-03-10 13:05:43 +00:00
2011-06-01 20:44:41 +01:00
2011-04-11 17:54:36 +01:00
2010-12-07 16:00:32 +00:00
2011-06-01 20:44:42 +01:00
2011-06-30 14:33:11 +01:00
2011-05-17 15:24:55 +01:00
2011-05-05 17:32:31 +01:00
2011-06-30 14:33:11 +01:00
2011-06-30 14:33:11 +01:00
2011-06-01 20:44:42 +01:00
2011-05-16 18:45:51 +01:00
2011-06-14 14:40:27 +01:00
2011-06-14 17:09:55 +01:00
2011-06-01 20:44:42 +01:00
2011-06-30 14:33:11 +01:00
2011-06-01 20:44:42 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 14:12:49 +01:00
2011-06-01 20:44:41 +01:00
2011-06-01 20:44:41 +01:00
2010-11-25 18:18:51 +00:00
2011-04-20 18:20:10 +01:00
2011-06-30 14:33:11 +01:00
2011-06-30 14:33:11 +01:00
2011-06-30 14:33:11 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2010-12-07 12:16:50 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 14:41:59 +01:00
2011-06-30 14:33:11 +01:00
2011-06-09 16:21:15 +01:00
2011-06-09 16:21:15 +01:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:11:47 +01:00
2011-01-24 15:45:45 +00:00
2011-04-11 15:28:53 +01:00
2010-12-13 17:29:13 +00:00
2011-05-16 14:11:47 +01:00
2011-06-09 16:21:15 +01:00
2011-06-14 12:14:02 +01:00
2011-06-14 12:14:02 +01:00
2011-06-14 12:14:02 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-04-11 17:54:35 +01:00
2011-05-16 13:28:17 +01:00
2011-05-16 14:31:31 +01:00
2011-04-11 15:18:12 +01:00
2010-12-22 09:52:35 +00:00
2010-12-13 17:22:57 +00:00
2011-06-08 18:03:58 +01:00
2010-12-13 17:22:57 +00:00
2011-05-27 11:59:17 +01:00
2010-12-13 17:22:57 +00:00
2011-06-08 18:03:58 +01:00
2010-12-13 17:22:57 +00:00
2011-05-27 11:59:17 +01:00
2011-07-01 17:58:59 +01:00
2011-01-21 16:24:14 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2010-12-13 17:28:28 +00:00
2011-04-11 15:18:12 +01:00
2011-07-01 17:58:59 +01:00
2011-05-16 18:36:44 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-05-16 14:31:31 +01:00
2011-03-07 13:26:19 +00:00
2011-03-07 13:26:19 +00:00
2011-05-16 14:31:31 +01:00
2011-05-16 18:34:22 +01:00
2011-05-16 14:32:37 +01:00
2011-05-16 14:32:37 +01:00
2011-06-30 14:33:11 +01:00
2011-01-24 15:45:45 +00:00
2010-12-13 17:22:57 +00:00
2011-04-11 15:18:12 +01:00
2011-05-16 14:11:47 +01:00
2011-05-16 14:12:42 +01:00
2011-05-16 17:08:30 +01:00
2011-07-01 17:52:55 +01:00
2011-05-17 15:24:54 +01:00
2011-06-30 14:33:13 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:46 +01:00
2011-03-08 13:21:24 +00:00
2010-12-03 15:27:17 +00:00
2011-04-11 15:18:12 +01:00
2011-04-11 15:18:12 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-05-05 14:46:02 +01:00
2011-06-01 20:44:42 +01:00
2011-06-01 20:44:41 +01:00
2011-06-01 20:44:42 +01:00
2011-06-14 17:09:55 +01:00
2011-04-11 15:18:12 +01:00
2011-01-21 16:18:10 +00:00
2011-04-11 15:18:12 +01:00
2011-06-30 14:33:11 +01:00
2011-06-01 20:44:42 +01:00
2011-06-30 14:33:13 +01:00
2011-04-11 17:54:36 +01:00
2011-01-10 16:55:00 +00:00
2011-05-16 14:31:31 +01:00
2011-06-13 17:48:23 +01:00
2011-02-09 19:12:12 +00:00
2011-06-30 14:34:46 +01:00
2011-06-30 14:33:13 +01:00
2011-06-30 14:34:46 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2011-06-01 20:44:42 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2011-06-30 14:34:33 +01:00
2011-04-20 18:17:06 +01:00
2011-06-30 14:33:11 +01:00
2011-06-30 14:34:46 +01:00
2011-07-01 17:52:55 +01:00