Write old opengl or new OpenGL?

Started by
13 comments, last by FGFS 10 years, 6 months ago

#Bregma - actually Mesa doesn't support full OpenGL 4 features yet, they are work in progress.They allow OpenGL 3.1 level feature set in release 9.2, although I know that even some OpenGL 4.x level extension are implemented.

The problem is, Ubuntu is using old version in their packages.

My current blog on programming, linux and stuff - http://gameprogrammerdiary.blogspot.com

Advertisement

Do you mean that the code is portable no mather the version you are using? Can I compile one code and choose the target OpelGL specification?

Thanks for the replies!


The problem is, Ubuntu is using old version in their packages.

We ship Mesa 9.2, released August 27, 2013, in Ubuntu "Saucy Salamander". That doesn't seem all that old to me, considering it's the latest version released. Of course, you might be using an older release of Ubuntu, which consists of older packages.

But I stand corrected, Mesa supports only OpenGL 3.1 (and OpenGL|ES 3).

Stephen M. Webb
Professional Free Software Developer

My laptop has an Intel GMA 965 which on FreeBSD glxinfo reports version 2.0 and on OpenBSD it reports 2.1 (I guess OpenBSD is ahead of FreeBSD for graphics drivers for some reason) :/

Regardless I find using glew with 2.1 pretty ideal. There are not really any major restrictions to be encountered smile.png
An interesting test to sanity check my OpenGL code is using Emscripten and outputting to a web browser which only supports OpenGL ES 2.0 and is pretty strict.

However, I am really curious about the OpenGL SC 1.3 standard (http://www.khronos.org/openglsc). Is this possible on consumer hardware? In which case we can no longer call OpenGL 1.3 "legacy" ;)
http://tinyurl.com/shewonyay - Thanks so much for those who voted on my GF's Competition Cosplay Entry for Cosplayzine. She won! I owe you all beers :)

Mutiny - Open-source C++ Unity re-implementation.
Defile of Eden 2 - FreeBSD and OpenBSD binaries of our latest game.

My Asus/Nvidia GTX 770 on Ubuntu 13.04 64bit says to use OpenGL 4.3.

Hence use that? Not sure if it's possible to use those headers though. I also

think that any mobile devices don't support OpenGL 3 or even 4. Probably

targeting 2.2 would make sense while keeping an eye on opengles?

This topic is closed to new replies.

Advertisement