mutter/examples
Neil Roberts 32a0f88b04 cogland: Correctly handle commits without attaching a new buffer
Previously if a client sent a commit message without attaching a new
buffer then it would end up detaching the existing buffer because
surface->pending.buffer would be NULL. This patch makes it explicitly
track when an attach is sent for a commit and so that it can avoid
making any changes otherwise. This fixes cases where GTK apps would
send a damage event without a new buffer.

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit aa412b9c709120bd8d88a014010c448f3b9fcfb7)
2013-05-13 17:32:34 +01:00
..
android/hello examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-crate.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-gles2-context.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-gles2-gears.c Fix a warning about ‘sincos’ in examples/cogl-gles2-gears 2013-04-23 18:30:54 +01:00
cogl-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-info.c renderer: expose CoglOutputs 2013-01-30 19:57:22 +00:00
cogl-msaa.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-sdl2-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-sdl-hello.c examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-x11-foreign.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-x11-tfp.c Adds CoglError api 2013-01-22 17:47:39 +00:00
cogland.c cogland: Correctly handle commits without attaching a new buffer 2013-05-13 17:32:34 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
Makefile.am Add $(LIBM) to the LDADD for all of the examples and tests 2013-04-23 18:32:47 +01:00