GST GL plugins for embedded devices

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

GST GL plugins for embedded devices

Antoni Silvestre Padrós
Hello, can the gst-plugins-gl be compiled for embedded devices that only have egl and opengl es?
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.
Maybe I should pass something to the configure script or is it that it really needs to have regular openGL?

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Julien Isorce
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>
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.

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Antoni Silvestre Padrós
Hi, thanks a lot for your answer, here I'm attaching the log.

Toni

On Wed, Sep 29, 2010 at 22:59, Julien Isorce <[hidden email]> wrote:
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>

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.

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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

config.log (180K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Julien Isorce


2010/9/30 Antoni Silvestre Padrós <[hidden email]>
Hi, thanks a lot for your answer, here I'm attaching the log.

Toni

On Wed, Sep 29, 2010 at 22:59, Julien Isorce <[hidden email]> wrote:
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>

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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Antoni Silvestre Padrós
Here is the compilation log

Thanks,
Toni

On Thu, Sep 30, 2010 at 12:47, Julien Isorce <[hidden email]> wrote:


2010/9/30 Antoni Silvestre Padrós <[hidden email]>

Hi, thanks a lot for your answer, here I'm attaching the log.

Toni

On Wed, Sep 29, 2010 at 22:59, Julien Isorce <[hidden email]> wrote:
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>

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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

comp_log (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Julien Isorce

ok this a bug. This part of the code is not protected by the var OPENGL_ES2

The problem was introduced in this commit:


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:

Sincerely
Julien


2010/9/30 Antoni Silvestre Padrós <[hidden email]>
Here is the compilation log

Thanks,
Toni


On Thu, Sep 30, 2010 at 12:47, Julien Isorce <[hidden email]> wrote:


2010/9/30 Antoni Silvestre Padrós <[hidden email]>

Hi, thanks a lot for your answer, here I'm attaching the log.

Toni

On Wed, Sep 29, 2010 at 22:59, Julien Isorce <[hidden email]> wrote:
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>

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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Antoni Silvestre Padrós
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 <[hidden email]> 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:


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:

Sincerely
Julien


2010/9/30 Antoni Silvestre Padrós <[hidden email]>
Here is the compilation log

Thanks,
Toni


On Thu, Sep 30, 2010 at 12:47, Julien Isorce <[hidden email]> wrote:


2010/9/30 Antoni Silvestre Padrós <[hidden email]>

Hi, thanks a lot for your answer, here I'm attaching the log.

Toni

On Wed, Sep 29, 2010 at 22:59, Julien Isorce <[hidden email]> wrote:
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>

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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: GST GL plugins for embedded devices

Julien Isorce
Let's continue our discussion on  bug #631019

2010/9/30 Antoni Silvestre Padrós <[hidden email]>
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 <[hidden email]> 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:


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:

Sincerely
Julien


2010/9/30 Antoni Silvestre Padrós <[hidden email]>
Here is the compilation log

Thanks,
Toni


On Thu, Sep 30, 2010 at 12:47, Julien Isorce <[hidden email]> wrote:


2010/9/30 Antoni Silvestre Padrós <[hidden email]>

Hi, thanks a lot for your answer, here I'm attaching the log.

Toni

On Wed, Sep 29, 2010 at 22:59, Julien Isorce <[hidden email]> wrote:
Hi,

2010/9/29 Antoni Silvestre Padrós <[hidden email]>

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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel