Login  Register

Re: Resize behavior of GLCanvas on OS X (10.7 and 10..8)

Posted by Sven Gothel on Jan 05, 2013; 1:33pm
URL: https://forum.jogamp.org/Resize-behavior-of-GLCanvas-on-OS-X-10-7-and-10-8-tp4027702p4027710.html

On 01/05/2013 02:27 PM, Sven Gothel wrote:
> On 01/05/2013 02:49 AM, tag [via jogamp] wrote:
>
>> Has anyone run into this or
>> know a workaround?
>
> Use NEWT, i.e. NewtCanvasAWT .. if you like.

Hi Tom,

on a second thought, considering your intended use I assume,
I recommend to use NEWT as your GLAutoDrawable (i.e. GLWindow).

This can be used w/ AWT via NewtCanvasAWT, if AWT/Swing is required
and an opaque heavyweight component is allowed.
The benefit of using NEWT would be to allow your application
on mobile devices as well if you can implement your renderer
using GL2ES2.
Of course, you can always query the actual GL context
and branch to a 'better' renderer implementation, i.e. using GL3 core.

But .. I guess I already mention this a while ago :)

>
> ~Sven
>
>



signature.asc (909 bytes) Download Attachment