Re: Supported OpenGL Version.

91 views
Skip to first unread message

Adam Bark

unread,
Jul 4, 2012, 6:16:48 PM7/4/12
to pyglet...@googlegroups.com, Matthew Sitton
On 04/07/12 19:25, Matthew Sitton wrote:
if you cant regenerate it, thats fine we will just fall back to making our own ctypes openGL wrapper.

On Wednesday, July 4, 2012 1:45:40 AM UTC-5, Matthew Sitton wrote:
I was wondering what is the highest version of openGl supported was.

This says that you regenerate the openGl code often:
http://www.pyglet.org/doc/programming_guide/the_opengl_interface.html

looking at the code repository, it seems the last time it was regenerated was Sep 7, 2010?

So that would be openGL 4.1 at max(in the code repository last released version even older than that).

I would like to be able to use openGl 4.2.

So can it be regenerated again for the 1.2 release that seems to be coming up soon so that OpenGL 4.2 is supported?

I don't have a video card that will run openGL 4.2, if you do you could regenerate it and submit it to the mailing list or the issue tracker.

Tristam MacDonald

unread,
Jul 4, 2012, 8:23:22 PM7/4/12
to pyglet...@googlegroups.com
Why would you need to have a GL 4.2 video card? The generator works (at least in theory) from the specification, not the installed OpenGL headers.

--
Tristam MacDonald

Matthew Sitton

unread,
Jul 7, 2012, 12:29:56 AM7/7/12
to pyglet...@googlegroups.com
i just tried to regenerated it but failed, i run a example trying to use the generated gl folder and it crashes.

But yeah you dont need a graphics card that supports it
It downloads everything it needs off of the internet from what i see.

Andreas Schiefer

unread,
Jul 7, 2012, 5:36:10 AM7/7/12
to pyglet...@googlegroups.com
I've just regenerated the OpenGL wrappers and pushed them to the repository.
A guick look at the generated gl modules indicates that at least some
of the new OpenGL 4.2 functions like glTexStorage* or
glDrawTransformFeedbackInstanced are available now. However, it seems
that for some reason some constants like GL_COMPRESSED_RGBA_BPTC_UNORM
are only available with the _ARB suffix, but that shouldn't be a big
problem.

Please report back if the updated wrappers work for you.
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pyglet-users/-/TywUAmucOhcJ.
>
> To post to this group, send email to pyglet...@googlegroups.com.
> To unsubscribe from this group, send email to
> pyglet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pyglet-users?hl=en.
Reply all
Reply to author
Forward
0 new messages