How to program OpenGL 3 on OS X with a GeForce 9400

I have a MacBook Pro with a GeForce 9400 graphics card. Wikipedia said that this card supports OpenGL 3.

But the header and library shipped with OS X 10.6 seem to be only OpenGL 2 (I checked the files in /usr/X11/include/).

I need to program OpenGL 3. Can I do this with my current hardware and OS? What do I need to install and install?

+5
source share
5 answers

Unfortunately, I do not think you can still, as described here .

I believe that Lion will upgrade OpenGL to 3.2 for OS X, though (unfortunately, it still doesn't fit the more useful 3.3).

NB: Mac, OpenGL Windows , , .

: OpenGL . (. ), , OpenGL 3+ , , OpenGL 3.3 OS X. , .

+2

OpenGL OSX Mac: http://developer.apple.com/graphicsimaging/opengl/capabilities/

. "Core" 10.7 +

OpenGL 3.2 GLSL 1.5 10.7.2 .

+1

OpenGL 3, . Mac OS X 10.7 (Lion) OpenGL 3, , .

, ​​ Windows Linux. , , OpenGL 3 .

0

( : Windows OpenGL wgl glX. , GLX)

OpenGL 3 . GLX_ARB_create_context.

, , OSX, , glXGetProcAddress . ( ? ?)

0

Windows OpenGL . Windows 7 OpenGL 1.4, , , .

On OSX, I expect you to be able to do the same. The easiest way to do this is to open the Wrangler Extension OpenGL library: http://www.opengl.org/sdk/libs/GLEW/

0
source

All Articles