Neil Roberts 39ca3e51df Don't take a reference to the last used onscreen framebuffer
Cogl keeps a pointer to the last used onscreen framebuffer from the
context to implement the deprecated cogl_set_draw_buffer function
which can take COGL_WINDOW_BUFFER as the target to use the last
onscreen buffer. Previously this would also take a reference to that
pointer. However that was causing a circular reference between the
framebuffer and the context which makes it impossible to clean up
resources properly when onscreen buffers are used. This patch instead
changes it to just store the pointer and then clear the pointer during
_cogl_onscreen_free as a kind of cheap weak reference.

Reviewed-by: Robert Bragg <robert@linux.intel.com>
2011-11-14 18:40:28 +00:00
..
2011-11-03 13:57:01 +00:00
2011-11-01 12:03:02 +00:00
2011-09-06 11:19:20 +01:00
2011-06-09 16:21:15 +01:00
2011-06-09 16:21:15 +01:00
2011-08-12 15:28:44 +01:00
2011-11-01 12:03:02 +00:00
2011-11-01 12:03:02 +00:00
2011-11-14 18:37:57 +00:00
2011-10-21 12:24:01 +01:00
2011-11-01 12:03:02 +00:00
2011-11-14 18:40:27 +00:00
2011-11-01 12:03:02 +00:00
2011-08-12 15:28:42 +01:00