[gst-devel] opengl plugin

Julien Isorce julien.isorce at gmail.com
Thu Mar 4 15:19:24 CET 2010


Hi,

This is possible. (you will need the head of git/gst-gl)
You have to share the contexts together.

Take a look at the 3 examples:

gst-plugins-gl/tests/examples/qt/qglwtextureshare/
gst-plugins-gl/tests/examples/clutter/cluttershare.c
gst-plugins-gl/tests/examples/sdlshare.c

Julien


2010/3/4 Babineau, Denis <Denis.Babineau at gtech.com>

>  Hi, I’m using the opengl plugin to upload video to a texture but I’m
> having problems rendering it from my application’s main thread. I have an
> existing opengl application to which I want to add a video to texture a 3d
> elements but the plugin seems to render to its own context in its own
> thread. I want to be able to render the texture from my own main thread. How
> would I go about doing that with this plugin, is it possible? I tried
> playing with the callbacks in the glimagesink element but since the
> callbacks are called from a gstreamer thread, I cannot use the texture in my
> thread’s context.
>
>
>
> Thanks
>
> Denis
>
> CONFIDENTIALITY NOTICE: The contents of this email are confidential
> and for the exclusive use of the intended recipient. If you receive this
> email in error, please delete it from your system immediately and
> notify us either by email, telephone or fax. You should not copy,
> forward, or otherwise disclose the content of the email.
>
>
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100304/9e049f15/attachment.htm>


More information about the gstreamer-devel mailing list