mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
9f8ab5d809
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> |
||
---|---|---|
.. | ||
cogl-gst-1.0.pc.in | ||
cogl-gst-2.0-experimental.pc.in | ||
cogl-gst-plugin.c | ||
cogl-gst-video-sink.c | ||
cogl-gst-video-sink.h | ||
cogl-gst.h | ||
cogl-gst.pc.in | ||
Makefile.am |