[gst-devel] OpenGL context: GTK X overlay v/s SDL v/s Clutter v/s Wx
filippo.argiolas at gmail.com
Thu Apr 22 07:58:13 CEST 2010
On Thu, Apr 22, 2010 at 4:34 AM, Alexandre Quessy <alexandre at quessy.net> wrote:
> 2010/4/21 Filippo Argiolas <filippo.argiolas at gmail.com>:
>> On Wed, Apr 21, 2010 at 6:20 PM, Alexandre Quessy <alexandre at quessy.net> wrote:
>>>> If I recall correctly those examples were never updated after gtk
>>>> moved to client-side-windows.
>>>> With that gtk+ changes you can never be sure that a gdkwindow is bound
>>>> to a X11 handle unless you call gdk_window_ensure_native().
>>>> That's most probably the reason for the errors you are getting, it
>>>> doesn't have anything to do with opengl.
>>> It seems like this is the reason to my problems. I would have saved a
>>> few weeks if they had been updated... Anyways, thanks for telling us!
>> I'm truly sorry if this caused you such problems. We, in gst-gl,
>> discussed about it for a while, there is also an open bug in bugzilla
>> with the reasons of the issues you were seeing and the proper way to
>> solve it. Somehow this went out of my radar and no one else bothered
>> to fix it.
> Ok, no worries. :)
>> Anyway it's not like gst-gl is actively maintained and constantly
>> updated, it's a bit more than an experiment and you shouldn't really
>> count on its code as the state of art way of implementing things.
>> GstXOverlay docs is the correct source of information to look at, it's
>> updated and contains detailed sample code to start from.
> Is it safe to choose it for new software development?
Well, I think it is, IMHO the code needs some big polishing but it
offers great potentials, it will surely stay around for a while or be
eventually replaced by a feature equivalent (using cairo-gl backend)
Just consider it "lazily" maintained, i.e. be prepared to work
yourself on any bug you may find instead of relying on the maintainers
Hope this helps,
More information about the gstreamer-devel