Re: GLContext version...
Posted by Sven Gothel on Jan 29, 2011; 9:58pm
URL: https://forum.jogamp.org/GLContext-version-tp2335528p2371224.html
On Friday, January 28, 2011 00:55:03 Matt [via jogamp] wrote:
>
> Sven,
>
> I am actually using SWT, so I have no GLAutoDrawable instance, I am using
> SWT's GLCanvas.
>
Now it's all clear.
The SWT/JOGL binding is using an external GL context
and I am afraid this one is GL2 only.
To actually benefit and control the GL profile and more
like GLCapabilities (multisampling, ..) we would need a proper native SWT binding
utilizing the SWT's bound native windowing handle.
Another approach would be to gather the external GLContext's profile
and maybe more GLCapability flags.
This would allow to use an external GL3 context,
if the 'external party' (here SWT) is capable of creating it.
I doubt the latter.
Now all makes sense, sorry for that.
But there will be no remedy until this is resolved.
~Sven