mutter/cogl
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
..
driver Adds support for a mirrored repeat wrap mode 2011-11-01 12:03:02 +00:00
tesselator
winsys wayland: Port to current Wayland 2011-11-03 13:57:01 +00:00
cogl2-clip-state.c
cogl2-clip-state.h
cogl2-experimental.h 2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS 2011-09-09 15:06:31 +01:00
cogl2-path.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl2-path.h
cogl-1.0.pc.in Give cogl-pango it's own pkg-config file 2011-05-06 12:12:08 +01:00
cogl-2.0-experimental.pc.in 2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS 2011-09-09 15:06:31 +01:00
cogl-atlas-texture-private.h cogl-atlas-texture: Add a callback for when any atlas reorganizes 2011-05-05 17:32:28 +01:00
cogl-atlas-texture.c texture: Make CoglSubTexture experimental public api 2011-11-01 12:03:03 +00:00
cogl-atlas.c Move the cogl texture driver functions to a vtable 2011-07-08 15:35:51 +01:00
cogl-atlas.h
cogl-attribute-buffer-private.h Rename CoglVertexArray to CoglAttributeBuffer 2011-05-16 14:31:31 +01:00
cogl-attribute-buffer.c make COGL_FEATURE_VBOS a private feature 2011-11-01 12:03:01 +00:00
cogl-attribute-buffer.h Rename CoglVertexArray to CoglAttributeBuffer 2011-05-16 14:31:31 +01:00
cogl-attribute-private.h attributes: avoid g_strdup in cogl_attribute_new 2011-09-21 15:39:46 +01:00
cogl-attribute.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-attribute.h Don't pass around NULL terminated CoglAttribute arrays 2011-05-16 14:32:37 +01:00
cogl-bitmap-fallback.c
cogl-bitmap-pixbuf.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-bitmap-private.h Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-bitmap.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-bitmap.h Export API for uploading a tex subregion from a CoglBuffer 2011-07-25 22:45:24 +01:00
cogl-bitmask.c
cogl-bitmask.h
cogl-blend-string.c blend-strings: Make braces around blend factor optional 2011-09-05 17:54:46 +01:00
cogl-blend-string.h
cogl-blit.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-blit.h
cogl-buffer-private.h buffer: make the COGL_BUFFER casting macro public 2011-08-12 15:28:43 +01:00
cogl-buffer.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-buffer.h buffer: make the COGL_BUFFER casting macro public 2011-08-12 15:28:43 +01:00
cogl-clip-stack.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-clip-stack.h clip: Adds cogl_clip_push_primitive API 2011-11-01 12:02:59 +00:00
cogl-clip-state-private.h framebuffer: don't reference default fb in _clear apis 2011-08-12 15:28:43 +01:00
cogl-clip-state.c clip: make cogl_clip_ensure a NOP 2011-11-03 13:57:06 +00:00
cogl-clip-state.h
cogl-clutter-xlib.h Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-clutter.c Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-clutter.h Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-color-private.h
cogl-color.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-color.h
cogl-config-private.h cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-config.c cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-context-private.h features: Support more than 32 features! 2011-11-01 12:03:01 +00:00
cogl-context.c Don't take a reference to the last used onscreen framebuffer 2011-11-14 18:40:28 +00:00
cogl-context.h context: Add an accessor to get display associated with the context 2011-09-05 17:54:46 +01:00
cogl-debug-options.h Mark the debug options for translation 2011-10-14 13:56:51 +01:00
cogl-debug.c Mark the debug options for translation 2011-10-14 13:56:51 +01:00
cogl-debug.h cogl: Add support for reading a cogl.conf config file 2011-08-12 15:28:42 +01:00
cogl-defines.h.in Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-deprecated.h
cogl-depth-state-private.h Adds missing cogl-depth-state-private.h 2011-05-16 18:45:51 +01:00
cogl-depth-state.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-depth-state.h features: Support more than 32 features! 2011-11-01 12:03:01 +00:00
cogl-display-private.h egl-gdl: struct gdl_plane never was a valid type 2011-07-29 11:50:15 +01:00
cogl-display.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-display.h Fix typo in cogl/cogl-display.h 2011-09-06 11:19:20 +01:00
cogl-enum-types.c.in
cogl-enum-types.h.in
cogl-euler.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-euler.h Add compile time checks for size of public structs 2011-05-16 14:12:49 +01:00
cogl-ext-functions.h offscreen: Adds support for offscreen multisampling 2011-10-28 19:10:16 +01:00
cogl-feature-private.c Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-feature-private.h Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-fixed.c Fix testing of undefined macro constants to check for definedness instead 2011-07-27 18:46:36 +01:00
cogl-fixed.h
cogl-flags.h
cogl-framebuffer-private.h framebuffer: adds cogl_framebuffer_get_samples_per_pixel 2011-11-01 12:03:03 +00:00
cogl-framebuffer.c Don't take a reference to the last used onscreen framebuffer 2011-11-14 18:40:28 +00:00
cogl-framebuffer.h framebuffer: adds cogl_framebuffer_get_samples_per_pixel 2011-11-01 12:03:03 +00:00
cogl-glx-display-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-glx-renderer-private.h Don't use the 'NULL' GModule to resolve GL symbols 2011-07-27 16:10:02 +01:00
cogl-gtype-private.h
cogl-handle.h
cogl-index-buffer-private.h Rename CoglIndexArray to CoglIndexBuffer 2011-05-16 14:31:31 +01:00
cogl-index-buffer.c make COGL_FEATURE_VBOS a private feature 2011-11-01 12:03:01 +00:00
cogl-index-buffer.h Rename CoglIndexArray to CoglIndexBuffer 2011-05-16 14:31:31 +01:00
cogl-indices-private.h Rename CoglIndexArray to CoglIndexBuffer 2011-05-16 14:31:31 +01:00
cogl-indices.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-indices.h doc: Adds some documentation for CoglIndices 2011-11-01 12:03:03 +00:00
cogl-internal.h make COGL_FEATURE_VBOS a private feature 2011-11-01 12:03:01 +00:00
cogl-journal-private.h Add a strong CoglTexture type to replace CoglHandle 2011-09-21 15:27:03 +01:00
cogl-journal.c make COGL_FEATURE_VBOS a private feature 2011-11-01 12:03:01 +00:00
cogl-material-compat.c Remove G_CONST_RETURN 2011-06-09 16:21:15 +01:00
cogl-material-compat.h Remove G_CONST_RETURN 2011-06-09 16:21:15 +01:00
cogl-matrix-private.h matrix-mesa: move to _cogl_matrix namespace 2011-07-04 15:31:50 +01:00
cogl-matrix-stack.c Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-matrix-stack.h
cogl-matrix.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-matrix.h matrix: Add cogl_matrix_look_at 2011-08-12 15:28:44 +01:00
cogl-meta-texture.c meta-texture: Support CLAMP_TO_EDGE 2011-11-01 12:03:03 +00:00
cogl-meta-texture.h meta-texture: Support CLAMP_TO_EDGE 2011-11-01 12:03:03 +00:00
cogl-node-private.h pipeline: Split more code out from cogl-pipeline.c 2011-09-21 17:03:10 +01:00
cogl-node.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-object-private.h cogl-debug: add instrumentation to track the number of objects 2011-06-14 12:14:02 +01:00
cogl-object.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-object.h cogl-debug: add instrumentation to track the number of objects 2011-06-14 12:14:02 +01:00
cogl-offscreen.h Add a strong CoglTexture type to replace CoglHandle 2011-09-21 15:27:03 +01:00
cogl-onscreen-private.h framebuffer: split out CoglOnscreen code 2011-11-01 12:03:02 +00:00
cogl-onscreen-template-private.h framebuffer: split out CoglOnscreen code 2011-11-01 12:03:02 +00:00
cogl-onscreen-template.c onscreen: Support multisample based onscreen rendering 2011-10-28 19:10:16 +01:00
cogl-onscreen-template.h onscreen: Support multisample based onscreen rendering 2011-10-28 19:10:16 +01:00
cogl-onscreen.c Don't take a reference to the last used onscreen framebuffer 2011-11-14 18:40:28 +00:00
cogl-onscreen.h framebuffer: split out CoglOnscreen code 2011-11-01 12:03:02 +00:00
cogl-pango.h deprecate #include <cogl/cogl-pango.h> 2011-05-16 13:28:17 +01:00
cogl-path-private.h clip-stack: Move path flushing code to cogl-clip-stack.c 2011-11-01 12:02:59 +00:00
cogl-path.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-path.h
cogl-pipeline-cache.c cogl-pipeline/cogl-pango: Added forgotten includes 2011-09-26 15:53:30 +01:00
cogl-pipeline-cache.h cogl-pipeline: Use the pipeline cache for the GLSL backends 2011-07-13 12:30:07 +01:00
cogl-pipeline-debug.c pipeline: Split more code out from cogl-pipeline.c 2011-09-21 17:03:10 +01:00
cogl-pipeline-fragend-arbfp-private.h fragend-arbfp: Move the pipeline cache to a separate file 2011-07-13 12:30:07 +01:00
cogl-pipeline-fragend-arbfp.c features: Support more than 32 features! 2011-11-01 12:03:01 +00:00
cogl-pipeline-fragend-fixed-private.h
cogl-pipeline-fragend-fixed.c cogl-pipeline/cogl-pango: Added forgotten includes 2011-09-26 15:53:30 +01:00
cogl-pipeline-fragend-glsl-private.h
cogl-pipeline-fragend-glsl.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-pipeline-layer-private.h Adds support for a mirrored repeat wrap mode 2011-11-01 12:03:02 +00:00
cogl-pipeline-layer-state-private.h pipeline: Split more code out from cogl-pipeline.c 2011-09-21 17:03:10 +01:00
cogl-pipeline-layer-state.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-pipeline-layer-state.h Adds support for a mirrored repeat wrap mode 2011-11-01 12:03:02 +00:00
cogl-pipeline-layer.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-pipeline-opengl-private.h
cogl-pipeline-opengl.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-pipeline-private.h pipeline: Make the backface culling experimental public 2011-11-14 18:40:27 +00:00
cogl-pipeline-progend-glsl-private.h
cogl-pipeline-progend-glsl.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-pipeline-state-private.h pipeline: Make the backface culling experimental public 2011-11-14 18:40:27 +00:00
cogl-pipeline-state.c pipeline: Make the backface culling experimental public 2011-11-14 18:40:27 +00:00
cogl-pipeline-state.h pipeline: Make the backface culling experimental public 2011-11-14 18:40:27 +00:00
cogl-pipeline-vertend-fixed-private.h
cogl-pipeline-vertend-fixed.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-pipeline-vertend-glsl-private.h
cogl-pipeline-vertend-glsl.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-pipeline.c pipeline: Make the backface culling experimental public 2011-11-14 18:40:27 +00:00
cogl-pipeline.h pipeline: Split more code out from cogl-pipeline.c 2011-09-21 17:03:10 +01:00
cogl-pixel-buffer-private.h Rename CoglPixelArray to CoglPixelBuffer 2011-05-16 14:31:31 +01:00
cogl-pixel-buffer.c make COGL_FEATURE_PBOS a private feature 2011-11-01 12:03:01 +00:00
cogl-pixel-buffer.h Rename CoglPixelArray to CoglPixelBuffer 2011-05-16 14:31:31 +01:00
cogl-point-in-poly-private.h
cogl-point-in-poly.c
cogl-primitive-private.h primitive: Adds _cogl_primitive_draw api taking flags 2011-11-01 12:02:59 +00:00
cogl-primitive.c primitive: Add n_indices arg to _set_indices function 2011-11-01 12:03:03 +00:00
cogl-primitive.h primitive: Add n_indices arg to _set_indices function 2011-11-01 12:03:03 +00:00
cogl-primitives-private.h
cogl-primitives.c rectangles: rely on meta-texture api for clamping 2011-11-01 12:03:03 +00:00
cogl-primitives.h
cogl-private.h Add internal _cogl_push_source to optionally disable legacy state 2011-09-19 16:40:06 +01:00
cogl-profile.c Mark the debug options for translation 2011-10-14 13:56:51 +01:00
cogl-profile.h
cogl-program-private.h
cogl-program.c cogl-program: Don't ignore the transpose property of matrix uniforms 2011-11-03 15:50:02 +00:00
cogl-quaternion-private.h math: Adds an experimental quaternion API 2011-05-16 14:11:47 +01:00
cogl-quaternion.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-quaternion.h doc: fix the name of the cogl_quaternion_equal args 2011-05-16 17:08:30 +01:00
cogl-queue.h cogl-queue: Make suitable for use in Cogl source code 2011-07-01 17:52:55 +01:00
cogl-rectangle-map.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-rectangle-map.h
cogl-renderer-private.h Fix testing of undefined macro constants to check for definedness instead 2011-07-27 18:46:36 +01:00
cogl-renderer.c cogl-renderer.c: Fix includes 2011-11-14 18:37:57 +00:00
cogl-renderer.h renderer: Add cogl_renderer_get_n_fragment_texture_units() 2011-09-05 17:54:46 +01:00
cogl-shader-boilerplate.h Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-shader-private.h Dynamically load the GL or GLES library 2011-07-11 12:57:38 +01:00
cogl-shader.c Use the same number for n_tex_coord_attribs in all linked shaders 2011-11-02 13:50:28 +00:00
cogl-shader.h cogl-shader: Update the gtk-doc 2011-10-21 12:24:01 +01:00
cogl-spans.c spans: avoid normalize with normalize_factor of 1 2011-11-01 12:03:03 +00:00
cogl-spans.h Adds support for a mirrored repeat wrap mode 2011-11-01 12:03:02 +00:00
cogl-sub-texture-private.h texture: Make CoglSubTexture experimental public api 2011-11-01 12:03:03 +00:00
cogl-sub-texture.c texture: Make CoglSubTexture experimental public api 2011-11-01 12:03:03 +00:00
cogl-sub-texture.h texture: Make CoglSubTexture experimental public api 2011-11-01 12:03:03 +00:00
cogl-swap-chain-private.h
cogl-swap-chain.c
cogl-swap-chain.h
cogl-texture-2d-private.h Add _cogl_egl_texture_2d_new_from_image API 2011-06-01 20:44:42 +01:00
cogl-texture-2d-sliced-private.h texture-2d-sliced: make CoglTexture2DSliced public 2011-11-01 12:02:59 +00:00
cogl-texture-2d-sliced.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-texture-2d-sliced.h texture-2d-sliced: make CoglTexture2DSliced public 2011-11-01 12:02:59 +00:00
cogl-texture-2d.c Skip clip flush in _texture_2d_copy_from_framebuffer 2011-11-03 13:57:06 +00:00
cogl-texture-2d.h features: Support more than 32 features! 2011-11-01 12:03:01 +00:00
cogl-texture-3d-private.h
cogl-texture-3d.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-texture-3d.h
cogl-texture-driver.h Move the cogl texture driver functions to a vtable 2011-07-08 15:35:51 +01:00
cogl-texture-private.h meta-texture: This publicly exposes CoglMetaTexture 2011-11-01 12:03:01 +00:00
cogl-texture-rectangle-private.h texture: Make CoglTextureRectangle experimentally public 2011-11-01 12:03:02 +00:00
cogl-texture-rectangle.c texture: Make CoglTextureRectangle experimentally public 2011-11-01 12:03:02 +00:00
cogl-texture-rectangle.h texture: Make CoglTextureRectangle experimentally public 2011-11-01 12:03:02 +00:00
cogl-texture.c texture: Make CoglSubTexture experimental public api 2011-11-01 12:03:03 +00:00
cogl-texture.h doc: deprecate cogl_texture_get_rowstride() 2011-11-02 13:34:14 +00:00
cogl-types.h pipeline: Make the backface culling experimental public 2011-11-14 18:40:27 +00:00
cogl-util.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-util.h cogl-utils: Include cogl-defines.h 2011-11-14 18:40:27 +00:00
cogl-vector.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl-vector.h
cogl-vertex-buffer-private.h Rename CoglVertexArray to CoglAttributeBuffer 2011-05-16 14:31:31 +01:00
cogl-vertex-buffer.c primitive: Add n_indices arg to _set_indices function 2011-11-01 12:03:03 +00:00
cogl-vertex-buffer.h
cogl-wayland-renderer.h Updates wayland symbol names to be consistent 2011-06-30 14:34:46 +01:00
cogl-win32-renderer.c replace public native_event APIs with typesafe APIs 2011-06-30 14:33:13 +01:00
cogl-win32-renderer.h renderer: split win32 api out into separate header 2011-06-30 14:34:46 +01:00
cogl-x11-renderer-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib-display-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib-private.h replace _xlib_add_filter use with _cogl_renderer API 2011-06-01 20:44:42 +01:00
cogl-xlib-renderer-private.h work towards consistent platform file/symbol naming 2011-06-30 14:34:33 +01:00
cogl-xlib-renderer.c Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-xlib-renderer.h Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-xlib.c Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl-xlib.h Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
cogl.c Start to reduce dependence on glib 2011-11-01 12:03:02 +00:00
cogl.h Remove inclusion of Xlib headers in Cogl headers 2011-11-01 15:55:53 +00:00
Makefile.am build: add missing header to fix make dist 2011-11-02 07:34:26 -04:00
stb_image.c stb_image: use glib sized types 2011-08-12 15:28:42 +01:00