User avatar
PeterO
Posts: 5623
Joined: Sun Jul 22, 2012 4:14 pm

OpenGLES 3.X

Fri Jan 03, 2020 10:11 am

I thought V3D supported openGLES 3.2, but glxinfo in reporting 3.0

Code: Select all

glxinfo | grep Mesa
client glx vendor string: Mesa Project and SGI
OpenGL version string: 2.1 Mesa 19.2.0-rc1
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 19.2.0-rc1
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

Daniel Gessel
Posts: 119
Joined: Sun Dec 03, 2017 1:47 am
Location: Boston area, MA, US
Contact: Website Twitter

Re: OpenGLES 3.X

Fri Jan 03, 2020 10:34 am

The videocore VI HW is capable of ES 3.2 but the driver currently only supports ES 3.0.

See https://www.raspberrypi.org/blog/vc4-an ... an-update/.

User avatar
PeterO
Posts: 5623
Joined: Sun Jul 22, 2012 4:14 pm

Re: OpenGLES 3.X

Fri Jan 03, 2020 10:44 am

I read that, but I was also looking at a screen grab that someone posted that showed a MESA "19.X" version with "3.2" as the supported GLES version.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

User avatar
Paeryn
Posts: 2836
Joined: Wed Nov 23, 2011 1:10 am
Location: Sheffield, England

Re: OpenGLES 3.X

Fri Jan 03, 2020 11:02 am

It's likely still in development then. You could always try overriding the version strings with environment variables and see whether code relying on 3.1 or 3.2 features works (anything not implemented will likely fail or do nothing, these are really meant for driver developers).

Code: Select all

MESA_GLES_VERSION_OVERRIDE=3.2 MESA_GLSL_VERSION_OVERRIDE=320 ./your_program
She who travels light — forgot something.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8115
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: OpenGLES 3.X

Fri Jan 03, 2020 9:59 pm

To advertise conformance to a particular GL/GLES version, you have to pass the conformance tests. Mesa will be set to reflect that.
Broadcom have internal drivers for the hardware that supposedly pass GLES3.2, but we do not have access or distribute those.
Certification for GLES 3.1 is in progress.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Daniel Gessel
Posts: 119
Joined: Sun Dec 03, 2017 1:47 am
Location: Boston area, MA, US
Contact: Website Twitter

Re: OpenGLES 3.X

Fri Jan 03, 2020 10:07 pm

6by9 wrote:
Fri Jan 03, 2020 9:59 pm
Certification for GLES 3.1 is in progress.
Whoop! Good news and good luck with the certification!

User avatar
PeterO
Posts: 5623
Joined: Sun Jul 22, 2012 4:14 pm

Re: OpenGLES 3.X

Sat Jan 04, 2020 10:43 am

6by9 wrote:
Fri Jan 03, 2020 9:59 pm
To advertise conformance to a particular GL/GLES version, you have to pass the conformance tests. Mesa will be set to reflect that.
Broadcom have internal drivers for the hardware that supposedly pass GLES3.2, but we do not have access or distribute those.
Certification for GLES 3.1 is in progress.
Thanks.
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8115
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: OpenGLES 3.X

Tue Jan 14, 2020 11:46 am

I suspect there will be a blog post at some point about it, but https://www.khronos.org/conformance/ado ... ission_882
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
PeterO
Posts: 5623
Joined: Sun Jul 22, 2012 4:14 pm

Re: OpenGLES 3.X

Tue Jan 14, 2020 12:28 pm

6by9 wrote:
Tue Jan 14, 2020 11:46 am
I suspect there will be a blog post at some point about it, but https://www.khronos.org/conformance/ado ... ission_882
Good News Everyone :-) (Futurama quote:-)
Will you be continuing to achive 3.2 ? If so I'll wait for 3.2 before looking to see if it offers anything new I can use in my code. (I'm currently still updating from 2.0 to 3.0).
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 8115
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: OpenGLES 3.X

Tue Jan 14, 2020 12:51 pm

PeterO wrote:
Tue Jan 14, 2020 12:28 pm
Good News Everyone :-) (Futurama quote:-)
Will you be continuing to achive 3.2 ? If so I'll wait for 3.2 before looking to see if it offers anything new I can use in my code. (I'm currently still updating from 2.0 to 3.0).
I don't believe 3.2 is currently a priority, but I'd need to dig out the history of what is missing/needed to get to 3.2.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Graphics programming”