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
..
2013-07-01 13:36:56 +01:00
2013-05-29 19:30:44 +01:00
2013-02-20 14:55:44 +00:00
2013-07-01 13:47:48 +01:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:47:39 +00:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:48:18 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-06-13 13:45:46 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-06-07 16:53:29 +01:00
2013-06-07 16:53:29 +01:00
2013-06-07 16:53:29 +01:00
2013-06-14 11:28:41 +01:00
2013-01-22 18:00:11 +00:00
2013-01-22 18:00:11 +00:00
2013-04-04 13:37:51 +01:00
2013-01-22 17:48:08 +00:00
2013-03-06 16:44:52 +00:00
2013-01-22 17:48:16 +00:00
2013-06-06 21:45:11 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-03-06 16:46:03 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:48:03 +00:00
2013-04-24 22:23:50 +01:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:47:24 +00:00
2013-06-13 13:45:47 +01:00
2013-07-01 13:36:56 +01:00
2013-06-07 16:53:29 +01:00
2012-08-06 14:27:40 +01:00
2013-05-29 19:30:44 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:15 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:18 +00:00
2012-08-06 18:51:32 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:08 +00:00
2013-06-27 14:29:51 +01:00
2013-05-29 11:58:48 +01:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:17 +00:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-05-28 21:36:03 +01:00
2013-06-14 12:18:04 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-05-30 13:42:11 +01:00
2013-05-30 13:42:56 +01:00
2013-01-22 17:48:18 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-01-08 14:56:25 +01:00
2013-01-22 17:48:13 +00:00
2013-04-30 16:39:31 +01:00
2013-04-30 16:39:31 +01:00
2013-06-07 16:53:29 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-04-30 16:39:31 +01:00
2013-04-30 16:39:31 +01:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:04 +00:00
2013-05-29 19:30:44 +01:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:13 +00:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:47:39 +00:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:15 +00:00
2013-01-18 17:28:25 +00:00
2013-05-16 15:28:00 +01:00
2013-01-22 17:48:05 +00:00
2013-06-13 13:45:47 +01:00
2013-01-22 20:11:25 +00:00
2013-01-22 17:48:16 +00:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-02-22 16:36:38 +01:00
2013-04-24 22:23:50 +01:00
2013-06-13 13:45:47 +01:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:05 +00:00
2013-06-13 13:45:47 +01:00
2013-05-30 13:42:56 +01:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:16 +00:00
2013-06-21 14:18:37 +01:00
2013-01-22 17:48:16 +00:00
2013-06-06 21:49:14 +01:00
2013-04-04 13:38:43 +01:00
2013-04-04 13:38:41 +01:00
2013-04-04 13:38:43 +01:00
2013-06-06 21:27:09 +01:00
2013-01-22 17:48:16 +00:00
2013-06-13 13:45:47 +01:00
2013-06-21 14:18:37 +01:00
2013-06-13 13:45:46 +01:00
2013-06-13 13:45:46 +01:00
2013-06-21 14:18:37 +01:00
2013-06-21 14:18:37 +01:00
2013-06-21 14:18:37 +01:00
2013-06-21 14:18:40 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-07-01 13:47:48 +01:00
2013-07-01 13:47:48 +01:00
2013-04-30 16:39:31 +01:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:05 +00:00
2012-09-03 15:51:44 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-06-07 16:53:29 +01:00
2013-05-29 19:30:44 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:14 +00:00
2013-01-22 17:48:05 +00:00
2013-06-13 13:45:47 +01:00
2013-06-13 13:45:47 +01:00
2013-01-30 19:57:22 +00:00
2012-08-06 14:27:41 +01:00
2013-01-22 17:48:17 +00:00
2013-06-13 13:45:47 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-04-24 22:23:50 +01:00
2013-06-07 16:53:29 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-07-01 13:48:22 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-25 18:21:09 +00:00
2013-01-22 17:48:15 +00:00
2013-02-13 18:47:16 +00:00
2013-04-24 22:23:50 +01:00
2013-01-30 20:09:49 +00:00
2012-08-14 18:55:42 +01:00
2013-01-22 17:48:11 +00:00
2013-01-22 17:48:16 +00:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:48:17 +00:00
2013-04-24 22:23:50 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:13 +00:00
2013-07-01 13:48:22 +01:00
2013-05-30 13:41:44 +01:00
2013-05-30 13:41:44 +01:00
2013-01-30 20:09:49 +00:00
2013-04-30 16:39:31 +01:00
2013-05-28 21:36:03 +01:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:17 +00:00
2013-04-24 22:23:50 +01:00
2013-06-06 21:27:09 +01:00
2013-05-28 21:36:03 +01:00
2012-08-06 14:27:42 +01:00
2013-05-28 21:36:03 +01:00
2013-06-13 13:45:47 +01:00
2013-01-18 17:28:25 +00:00