3

I'm trying to create an OpenGL context 3.2 on a Netbook running Ubuntu 13. Since the hardware isn't capable of hardware-supported Opengl 3.2, I'm wondering if the software rasterizer could provide such functionality. I'm aware that software mode can be utterly slow, but I just need to test and practice some simple examples.

I couldn't find any definitive information on the Internet that would say it's possible or not, and my knowledge on Mesa is very limited. So my question is, is it possible to create a software-based OpenGL 3.2 context with Mesa or not?

genpfault
  • 51,148
  • 11
  • 85
  • 139
Chuck
  • 1,110
  • 3
  • 15
  • 22

1 Answers1

3

Currently, it isn't. When using one of the software rasterizer backends (the old, deprecated swrast, or the more modern, gallium-based softpipe or llvmpipe drivers), only GL 2.1 will be advertised. The issue is that mesa's software rasterizers do not yet support multisampling, which is a requirement of GL 3.x. There might be also some other minor features missing which are required for GL 3.x.

However, you can still use most of the GL 3.2 features via the extension mechanism, without having a 3.2 context. This also means that you won't be able to get a core profile context, but this shouldn't be a problem either - nothing forces you to actually use the deprecated functionality.

derhass
  • 43,833
  • 2
  • 57
  • 78
  • Glxinfo shows Gallium for me. Howver, I might be able to cope with that, maybe I don't even use 3.2 functions without knowing it. Is there a comparison chart what shows the major differences in opengl and glsl? – Chuck Feb 20 '14 at 13:44
  • @Chuck: I'm not aware of any explicit "comparision chart". The changes between the GL version are documents in some appendix of the official spcifications. There is also the [History of OpenGL wiki page](http://www.opengl.org/wiki/History_of_OpenGL) which allows one to easily trace the features. – derhass Feb 20 '14 at 19:55