Login  Register

Re: Redsquare NEWT ES2 demo on OSX

Posted by Sven Gothel on Dec 01, 2010; 8:14am
URL: https://forum.jogamp.org/Redsquare-NEWT-ES2-demo-on-OSX-tp1995777p1997663.html

On Tuesday, November 30, 2010 23:52:14 BrickFarmer [via jogamp] wrote:

>
> So I finally got the demo running after some fighting with maven and the shader sources...
>
> Under OSX I often get the following error on launch:
> RUN Thread[Thread-2,5,main] GLProfile[GL2ES2/GL2]
> Detected screen size 1680x1050
> createWindow0 - Parent is neither NSWindow nor NSView : 0x0
> *************** viewWillDraw: 0x0x1022063f8Invalid memory access of location 0x746e65765bcd rip=0x10109fd12
>
> But occasionally I get a couple of seconds of rendering before another 'Invalid memory access of location'
>
> when it is running, it's around 2000fps :) and great to see you have es2 on the desktop, that's going to make a lot of android developers happy!
>
> I also now tried the example posted by someone here with the 'NewtCanvasAWT' and internal frames.  So just to feedback, under OSX the NEWT window is at pos 0,0 rather than attached to the internal frame.  Any mouse activity in the newt bit also causes an invalid memory access error.

Yup, I know, NEWT support is unfinished on OSX due to other priorities.
Even though some heavy lifting (threading solution etc) is almost done.

~Sven