mutter/examples
Neil Roberts 1ad0e81b7b wayland-server: Update because wl_shm_buffer is no longer a wl_buffer
The Wayland server API has changed so that wl_shm_buffer is no longer
a type of wl_buffer and it instead must be retrieved directly from the
resource.

cogl_wayland_texture_2d_new_from_buffer now takes a resource pointer
instead of directly taking a wl_buffer and it will do different things
depending on whether it can get a wl_shm_buffer out of the resource
instead of trying to query the buffer type.

Cogland has also been updated so that it tracks a resource for buffers
of surfaces instead of directly tracking a wl_buffer. This are pointed
to by a new CoglandBuffer struct which can be referenced by a
CoglandBufferReference. The WL_BUFFER_RELEASE event will be posted
when the last reference to the buffer is removed instead of directly
whenever a new buffer is attached. This is similar to how Weston
works.

https://bugzilla.gnome.org/show_bug.cgi?id=702999

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

(cherry picked from commit 9b35e1651ad0e46ed489893b60563e2c25457701)

Conflicts:
	examples/cogland.c
2013-07-01 13:48:22 +01:00
..
android/hello examples: Fix the first colour in the triangle_vertices 2013-04-22 13:01:45 +01:00
cogl-basic-video-player.c cogl-gst: expose aspect ratio apis 2013-06-21 19:06:59 +01:00
cogl-crate.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-emscripten-hello.c emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +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 Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +01:00
cogl-info.c Add support for per-vertex point sizes 2013-06-07 16:53:29 +01:00
cogl-msaa.c Move event polling into CoglRenderer 2013-04-30 16:39:31 +01:00
cogl-sdl2-hello.c Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +01:00
cogl-sdl-hello.c Update some of the examples to use the dirty callback 2013-05-30 13:43:00 +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 wayland-server: Update because wl_shm_buffer is no longer a wl_buffer 2013-07-01 13:48:22 +01:00
crate.jpg Adds another example that draws a 3D crate 2011-06-30 14:33:11 +01:00
emscripten-example-js-library.js emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
emscripten-example-js.h emscripten-hello: improve mainloop integration 2013-05-29 19:30:44 +01:00
Makefile.am Include CoglGst 2013-06-21 18:57:24 +01:00