mutter/cogl-gst
Robert Bragg 9f8ab5d809 cogl-gst: allocate textures synchronously
This makes sure video textures being uploaded via
video_texture_new_from_data are allocated before the function returns.
This function create a CoglBitmap to wrap the data from gstreamer and by
allowing cogl to allocate the texture lazily it's possible that the data
being pointed to by the bitmap won't remain valid until we actually come
to allocate the texture.

Note: we don't simply use cogl_texture_2d_[sliced_]new_from_data() here
because we need to be able to call cogl_texture_set_premultiplied()
before allocating the texture.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
2014-03-20 17:34:04 +00:00
..
cogl-gst-1.0.pc.in Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00
cogl-gst-2.0-experimental.pc.in fix experimental pc files dep on cogl-1.0 2014-02-20 18:14:43 +00:00
cogl-gst-plugin.c This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-gst-video-sink.c cogl-gst: allocate textures synchronously 2014-03-20 17:34:04 +00:00
cogl-gst-video-sink.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-gst.h This re-licenses Cogl 1.18 under the MIT license 2014-02-22 02:02:53 +00:00
cogl-gst.pc.in cogl-gst: pedantic typo fix in pkg-config description 2013-06-21 18:59:49 +01:00
Makefile.am Consistently name cogl-gst pkg-config files 2014-01-09 16:03:17 +00:00