Posted by
Sven Gothel on
Jul 20, 2011; 7:43pm
URL: https://forum.jogamp.org/OpenGL-3-2-in-OS-X-10-7-tp3186330p3186447.html
On Wednesday, July 20, 2011 08:57:58 PM JStoecker [via jogamp] wrote:
>
> I heard that OS X 10.7 (Lion) supports OpenGL 3.2, and I've written a small
> C++ program that creates an OpenGL 3.2 context to verify this. However, I
> cannot use a GL3 profile with JOGL; no matter which profile I select I still
> get OpenGL 2.1 / shader language 1.20.
>
> I haven't looked at the JOGL code itself, but I'm wondering if this is a
> quick fix I could make myself or if this is already something in the works?
>
Oh .. finally :)
Maybe you show how you did it ?
On X11/EGL/Win32 we have a new way of creating a GL context,
maybe you can adapt this to OSX as well ?
Right now, we just ignore the GL version at context creation
and say it's a GL2 thingy - and gather the version by the GL_VERSION string.
(This is the old method).
New method is to iterate through all GL versions, trying to create a context.
This is done once at startup for the default device, or any other device once,
when it's being used the 1st time.
+++
Questions regarding upgrading OSX to Lion (especially for our build node[s]).
- Will the SDK still be able to produce fat binaries for 32/64 bit mode ?
- Compatibility issues ?
- If things go wrong, can I row back to the prev. OSX installation ?
Thank you.
> Thanks
>
> _______________________________________________
> If you reply to this email, your message will be added to the discussion below:
>
http://forum.jogamp.org/OpenGL-3-2-in-OS-X-10-7-tp3186330p3186330.html> To start a new topic under jogl, email
[hidden email]
> To unsubscribe from jogl, visit
health & wealth
mailto:[hidden email] ;
http://jausoft.comland : +49 (471) 4707742 ; cell: +49 (151) 28145941
Timezone CET: PST+9, EST+6, UTC+1