OpenGL version? extensions?

79 views
Skip to first unread message

Eivind Rovik

unread,
Jan 4, 2013, 2:35:29 AM1/4/13
to go...@googlegroups.com

What version of OpenGL do you actually target?  and what about support for extensions?

I looked at the source and I couldn't really pin point what version of OpenGL go-gl/gl was for.

André Moraes

unread,
Jan 4, 2013, 5:17:33 AM1/4/13
to go...@googlegroups.com
I can use go-gl with OpenGL 2.1 capable GPU's


--
André Moraes
http://amoraes.info

Marcel Hauf

unread,
Jan 4, 2013, 4:40:38 PM1/4/13
to go...@googlegroups.com
I would like to know this, too.

https://github.com/chsc/gogl has most versions covered.

What would be the advantage of using this OpenGL wrapper instead chsc/gogl ?

André Moraes

unread,
Jan 5, 2013, 9:43:13 AM1/5/13
to go...@googlegroups.com
go-gl hold more than just OpenGL wrappers.

You have API's that are Go oriented instead of simply wrapping C
functions. Also by making everything unified, one could implement a
math library that (without the need for type conversions) be able to
send vertex information directly to glh calls.

Eivind Rovik

unread,
Jan 5, 2013, 9:53:58 AM1/5/13
to go...@googlegroups.com

Yes, I quite see the point of having a more Go oriented API. I've tested the chsc/gl and it quickly becomes tedious with all the pointer casting and lack of compiler checks for the gl parameter sanity. Also I have some strange glError in my program which I wanted to test with go-go/gl to see if that's the same problem. I'm using Windows so it's not straight forward to get go-gl/gl to work there because of the glew dependency.

Anyways the question remains, what OpenGL version is the target for go-gl/gl ?

André Moraes

unread,
Jan 5, 2013, 12:27:41 PM1/5/13
to Eivind Rovik, Jim Teeuwen, Piotr Praszmo, go...@googlegroups.com
> of compiler checks for the gl parameter sanity. Also I have some strange
> glError in my program which I wanted to test with go-go/gl to see if that's
> the same problem. I'm using Windows so it's not straight forward to get
> go-gl/gl to work there because of the glew dependency.

I installed using mingw and compiling glew from source without any
problems (on windows and ubuntu). But my main development machine is
Ubuntu, so you could have found some corner-case.

>
> Anyways the question remains, what OpenGL version is the target for go-gl/gl
> ?
I think jimteeuwen and banthar could answer that.

Piotr Praszmo

unread,
Jan 19, 2013, 3:08:04 PM1/19/13
to go...@googlegroups.com
> What version of OpenGL do you actually target?  and what about support for extensions?

We are using GLEW headers. Ideally go-gl should support everything defined there.

In reality, everybody adds the functions they need. So, there is a little bit of everything.
Reply all
Reply to author
Forward
0 new messages