mutter/examples
Neil Roberts 9000f8330d cogland: Fix crash when frame callback is destroyed before emitted
If a frame callback is destroyed before it is invoked then the struct
would be freed but it would not be removed from the array of callbacks
so when cogland later tried to emit the callback it would crash. This
patch instead stores the callbacks in a GQueue with embedded list
nodes so that they can be removed from the list in the resource
destructor. That way it doesn't matter how the resource is destroyed,
it will still get removed from the list.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-12-14 16:41:16 +00:00
..
android/hello android: Update the hello example to the latest glib-android API change 2011-08-12 17:24:19 +01:00
cogl-crate.c examples: Query the size of the framebuffer 2011-11-14 18:59:52 +00:00
cogl-hello.c examples: Allow installing of examples 2011-10-14 11:55:28 +01:00
cogl-info.c tests: Adds a really simple cogl-info program 2011-11-01 12:03:02 +00:00
cogl-msaa.c examples: Adds a simple 4x msaa example 2011-10-28 19:10:16 +01:00
cogl-x11-foreign.c Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-x11-tfp.c Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogland.c cogland: Fix crash when frame callback is destroyed before emitted 2011-12-14 16:41:16 +00:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am tests: Adds a really simple cogl-info program 2011-11-01 12:03:02 +00:00