Jump to content
  • Advertisement
Sign in to follow this  
tuket

OpenGL Write old opengl or new OpenGL?

This topic is 2202 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

#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.

Edited by Vilem Otte

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites


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).

Share this post


Link to post
Share on other sites
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" ;)

Share this post


Link to post
Share on other sites

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?

Edited by FGFS

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!