Robert Bragg cc4e144dd7 check the wayland buffer format when creating texture
The implementation of cogl_wayland_texture_2d_new_from_buffer now uses
eglQueryWaylandBuffer to query the format of the buffer before trying to
create a texture from the buffer.  This makes sure we don't try and
create a texture from YUV buffers for instance that may actually require
multiple textures. We now also report an error when we don't understand
the buffer type or format.

Reviewed-by: Neil Roberts <neil@linux.intel.com>

(cherry picked from commit 79252d4e419e2462c5bc89ea4614b40bddc932c5)
2013-05-29 19:30:44 +01:00
..
2013-05-28 21:36:03 +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-04-24 22:23:50 +01:00
2013-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +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-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +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-05-28 21:36:03 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 19:57:22 +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:17 +00:00
2013-01-22 17:48:17 +00:00
2013-04-24 22:23:50 +01:00
2013-05-29 19:30:44 +01:00
2013-05-28 21:36:03 +01:00
2013-05-28 21:36:03 +01:00