lb
Posts: 263
Joined: Sat Jan 28, 2012 8:07 pm

OpenGL ES 3.0

Fri Apr 05, 2013 12:23 pm

Quick question, is there any chance for OpenGL ES 3.0 support on the Pi? Dom? :)

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5372
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenGL ES 3.0

Fri Apr 05, 2013 1:00 pm

There is no openGL ES 3.0 driver for any existing VideoCore platform, so I think the answer is no.

Yam
Posts: 68
Joined: Wed May 16, 2012 12:14 pm

Re: OpenGL ES 3.0

Fri Apr 05, 2013 6:42 pm

the way open GL works any new function not in the hardware would have to be emulated by the processor.

As good as the raspberry pi is this would result in performance not worth the effort of writing the emulation.

March of progress I'm afraid but I imagine there will be a raspberry pi 2 at some point with an updated graphics chip.

There is so much to play with in ES 1.0 alone I really wouldn't worry about it.

lb
Posts: 263
Joined: Sat Jan 28, 2012 8:07 pm

Re: OpenGL ES 3.0

Tue Apr 16, 2013 11:56 pm

That's usually right, but the unusual architecture of the VideoCore GPU is quite flexible, probably enough for at least a partial implementation of GLES3.

That said, I would already love to have some of the more common GLES2 extension, e.g. GL_OES_element_index_uint. The lack of this extension is bad if you have lots of geometry to render.

strangeloop
Posts: 1
Joined: Thu Jul 31, 2014 2:11 pm

Re: OpenGL ES 3.0

Thu Jul 31, 2014 2:13 pm

PowerVR does have a opengl es 3.0 emulator for Linux that should work on raspberry pi.

mimi123
Posts: 583
Joined: Thu Aug 22, 2013 3:32 pm

Re: OpenGL ES 3.0

Sat Aug 02, 2014 11:39 am

There is a strong chance that there will be a GLES3 driver ( Eric Anholt). He will also add desktop GL support.

crossmodder
Posts: 11
Joined: Wed Mar 11, 2015 9:36 am

Re: OpenGL ES 3.0

Tue Apr 14, 2015 3:26 pm

Hi guys i would really like to try this on the pi2 but it requires ogles3.0:

https://www.youtube.com/watch?v=484umZ0UrI0

Will the pi2 have ogles3.0 suppprt? I heard that anholt is working on a full ogl driver so does that imply that ogles3 will also be supported since ogles is a subset of ogl?

Thnx

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5372
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenGL ES 3.0

Tue Apr 14, 2015 5:19 pm

crossmodder wrote: Will the pi2 have ogles3.0 suppprt? I heard that anholt is working on a full ogl driver so does that imply that ogles3 will also be supported since ogles is a subset of ogl?
I think yes in theory, but there may be features not easily supported by the VideoCore hardware. I believe these should still work, but will fall back to software methods, so may or may not be usable.

User avatar
eriktheitalian
Posts: 358
Joined: Thu Feb 19, 2015 1:03 pm

Re: OpenGL ES 3.0

Tue Apr 14, 2015 6:23 pm

mimi123 wrote:There is a strong chance that there will be a GLES3 driver ( Eric Anholt). He will also add desktop GL support.
When driver done. We can build Anhold statue. I'm serious.
I cant using enough English language. My writings can be wrong grammer.$
"in micro$oft we not trust"

crossmodder
Posts: 11
Joined: Wed Mar 11, 2015 9:36 am

Re: OpenGL ES 3.0

Wed Apr 15, 2015 3:54 am

So just out of curiosity the functions that would need to be emulated would they be able to take advantage of armv7's features? E.g NEON SIMD etc

riklaunim
Posts: 265
Joined: Tue Apr 22, 2014 7:34 pm

Re: OpenGL ES 3.0

Wed Apr 15, 2015 6:01 am

crossmodder wrote:So just out of curiosity the functions that would need to be emulated would they be able to take advantage of armv7's features? E.g NEON SIMD etc
No matter what instructions or features CPU has - emulating GPU will be slower than if the GPU had native support.

crossmodder
Posts: 11
Joined: Wed Mar 11, 2015 9:36 am

Re: OpenGL ES 3.0

Wed Apr 15, 2015 8:31 am

No matter what instructions or features CPU has - emulating GPU will be slower than if the GPU had native support.
Isnt OpenGL more of an "instruction set" rather than a specific hardware implementation? So a OGL3.0 gpu isnt actually being emulated...?

Correct me if I'm wrong but, from what Ive been told, the VC4's 3D engine (the QPU) is essentially one really big SIMD machine so maybe the NEON co-processor(which itself is one big general purpose 128 bit SIMD machine) wouldnt be too far off as a stopgap platform for instructions that couldnt be implemented onto the VC4 directly ...?

User avatar
eriktheitalian
Posts: 358
Joined: Thu Feb 19, 2015 1:03 pm

Re: OpenGL ES 3.0

Wed Apr 15, 2015 8:40 am

We have not any opengles support in x11 window. Or i'm not know opengles supported software working in x11 window.

Lots of linux source software ( we know them from x86 linux ) optimized for opengl 2.0. Not opengles, not opengl 3.0.
I cant using enough English language. My writings can be wrong grammer.$
"in micro$oft we not trust"

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 24162
Joined: Sat Jul 30, 2011 7:41 pm

Re: OpenGL ES 3.0

Wed Apr 15, 2015 8:49 am

crossmodder wrote:
No matter what instructions or features CPU has - emulating GPU will be slower than if the GPU had native support.
Isnt OpenGL more of an "instruction set" rather than a specific hardware implementation? So a OGL3.0 gpu isnt actually being emulated...?

Correct me if I'm wrong but, from what Ive been told, the VC4's 3D engine (the QPU) is essentially one really big SIMD machine so maybe the NEON co-processor(which itself is one big general purpose 128 bit SIMD machine) wouldnt be too far off as a stopgap platform for instructions that couldnt be implemented onto the VC4 directly ...?
There are 12 QPU's on the GPU and 2 SIMD vector units. Generally the QPU's do the 3D heavy lifting whilst the vector units are used as general purpose cores to control everything. Check out Eric Anholts latest talk for more details.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
“I think it’s wrong that only one company makes the game Monopoly.” – Steven Wright

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5372
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: OpenGL ES 3.0

Wed Apr 15, 2015 3:53 pm

Eric's talk is here if you are interested.

Return to “Graphics programming”