Redsquare NEWT ES2 demo on OSX
Posted by
BrickFarmer on
Nov 30, 2010; 10:52pm
URL: https://forum.jogamp.org/Redsquare-NEWT-ES2-demo-on-OSX-tp1995777.html
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.
edit: i'm now on b237 btw