How to get OpenGL 3 with Mesa 9

Hi,

I’m totally new to OpenGL programming although I know linux and C/C++ very well. So far I’ve only done very basic C/C++ OpenGL programs just to get a feel for OpenGL at roughly version 2. I have a question on OpenGL version and Mesa.

I’m running a Fedora 18 machine. glxinfo gives me this:
GLX version: 1.4
OpenGL version string: 2.1 Mesa 9.2.0
OpenGL shading language version string: 1.20

On Mesa’s website, it seems that Mesa 9 supported OpenGL 3. I know that Mesa can also support pure software rendering. So what should I do if I want to try out OpenGL 3.* features?

On Mesa’s website, it seems that Mesa 9 supported OpenGL 3.

Mesa itself supports GL3.1 if requested at context creation. Otherwise you default to GL 3.0. The problem is that you’re not going to fall back to pure Mesa rendering at all if you have an appropriate driver installed for your current GPU.

Can you post the output of “glxinfo | grep OpenGL” please?

[QUOTE=thokra;1252398]Mesa itself supports GL3.1 if requested at context creation. Otherwise you default to GL 3.0. The problem is that you’re not going to fall back to pure Mesa rendering at all if you have an appropriate driver installed for your current GPU.

Can you post the output of “glxinfo | grep OpenGL” please?[/QUOTE]

Here the output:

OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on SVGA3D; build: RELEASE;
OpenGL version string: 2.1 Mesa 9.2.0
OpenGL shading language version string: 1.20
OpenGL extensions:

I’m running a Fedora 18 virtual machine on Windows 7 using VMware Player 5.