[gst-devel] GST GL plugins for embedded devices

Julien Isorce julien.isorce at gmail.com
Thu Sep 30 20:27:35 CEST 2010


Let's continue our discussion on  bug #631019

2010/9/30 Antoni Silvestre Padrós <antoni.silvestre at gmail.com>

> Hi, thanks a lot for your help! I posted the bug. Also I've made a
> temporary patch for myself, however I'm pretty sure disabling those parts of
> the code will make at least the plugins glfilterblur and glfiltersobel
> unusable, that's no problem for me as I don't need them right now, but I
> guess when you ask me to submit a patch you were not referring to upload
> something like that.
>
> I've tried to not disable those functions and change them to use openGL ES
> 2 code but my openGL is a bit rusty and I actually have no idea about openGL
> ES. I've looked for many examples or guides on the net in order to fix it
> but all of them were openGL ES 1.0 based and they didn't work...
>
> Also there's a lot of code in the tests folder that has non openGL ES 2
> instructions so in the end I completely disabled the compilation of that
> folder.
>
> Toni
>
>
> On Thu, Sep 30, 2010 at 15:00, Julien Isorce <julien.isorce at gmail.com>wrote:
>
>>
>> ok this a bug. This part of the code is not protected by the
>> var OPENGL_ES2
>>
>> The problem was introduced in this commit:
>>
>> http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=6184670652af5f378eec42fae84971b0754855cd
>>
>>
>> <http://cgit.freedesktop.org/gstreamer/gst-plugins-gl/commit/?id=6184670652af5f378eec42fae84971b0754855cd>Could
>> you please open a bug:
>> https://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer
>>
>> Then I'll try to make a patch but I have not ES env setup right now, so
>> you will have to wait a little bit.
>>
>> But you can start the patch, you just have to put
>>
>> #ifdef OPENGL_ES2
>> ...
>> #endif
>>
>> around some of the functions that use regular opengl (in gstglfilter.c)
>>
>> If you have a patch then please attach it to the bug you open before, but
>> after reading this:
>> http://www.gstreamer.net/wiki/SubmittingPatches
>>
>> Sincerely
>> Julien
>>
>>
>> 2010/9/30 Antoni Silvestre Padrós <antoni.silvestre at gmail.com>
>>
>>> Here is the compilation log
>>>
>>> Thanks,
>>> Toni
>>>
>>>
>>> On Thu, Sep 30, 2010 at 12:47, Julien Isorce <julien.isorce at gmail.com>wrote:
>>>
>>>>
>>>>
>>>> 2010/9/30 Antoni Silvestre Padrós <antoni.silvestre at gmail.com>
>>>>
>>>> Hi, thanks a lot for your answer, here I'm attaching the log.
>>>>>
>>>>> Toni
>>>>>
>>>>> On Wed, Sep 29, 2010 at 22:59, Julien Isorce <julien.isorce at gmail.com>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> 2010/9/29 Antoni Silvestre Padrós <antoni.silvestre at gmail.com>
>>>>>>
>>>>>> Hello, can the gst-plugins-gl be compiled for embedded devices that
>>>>>>> only have egl and opengl es?
>>>>>>
>>>>>>
>>>>>> yes
>>>>>>
>>>>>> When I run the configure script it looks like everything's fine
>>>>>>> however when I compile it I see that the code has non-compatible opengl es
>>>>>>> directives like GL_QUADS.
>>>>>>>
>>>>>>
>>>>>> This is not normal. I mean if ES is detected then it only compiles the
>>>>>> code that is ES - compatible.
>>>>>> Could you send us the log when running configure script and then the
>>>>>> exact compile error.
>>>>>>
>>>>>
>>>> configure is ok.
>>>>
>>>> Compile error log now ?
>>>>
>>>>
>>>>>
>>>>>> Maybe I should pass something to the configure script or is it that it
>>>>>>> really needs to have regular openGL?
>>>>>>>
>>>>>>
>>>>>> no
>>>>>>
>>>>>> Sincerely
>>>>>> Julien
>>>>>>
>>>>>>
>>>>>>> Thanks,
>>>>>>> Toni Silvestre
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Start uncovering the many advantages of virtual appliances
>>>>>> and start using them to simplify application deployment and
>>>>>> accelerate your shift to cloud computing.
>>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>>> _______________________________________________
>>>>>> gstreamer-devel mailing list
>>>>>> gstreamer-devel at lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Start uncovering the many advantages of virtual appliances
>>>>> and start using them to simplify application deployment and
>>>>> accelerate your shift to cloud computing.
>>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>>> _______________________________________________
>>>>> gstreamer-devel mailing list
>>>>> gstreamer-devel at lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> 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/20100930/44c0b8fa/attachment.htm>


More information about the gstreamer-devel mailing list