summaryrefslogtreecommitdiffstats
path: root/java-dbg-swing.sh
diff options
context:
space:
mode:
authorXerxes Rånby <[email protected]>2012-08-22 13:34:16 +0200
committerXerxes Rånby <[email protected]>2012-08-22 13:34:16 +0200
commitccb06ad604c0dd33cb8dd361413aef671af42c15 (patch)
tree3614de073da443c2cf5fa6ec5d7011f127c84658 /java-dbg-swing.sh
parent9c637746e8061781d6002bb279193619857cda85 (diff)
es2/RawGL2ES2demo: Remove AWT dependency to allow running on a Raspberry Pi; Make syntax BeanShell compatible.
- Raspberry Pi: Removed dependency of com.jogamp.newt.awt.NewtCanvasAWT to allow running on -Djava.awt.headlessi=true systems, we can do this by using NEWT directly to open a window. You can run this demo on a Raspberry Pi using the JogAmp JOGL auto-build aggregate from 20 Aug 2012 and later: wget http://jogamp.org/deployment/archive/master/gluegen_577-joal_347-jogl_790-jocl_653/archive/jogamp-all-platforms.7z 7z x jogamp-all-platforms.7z cd jogamp-all-platforms wget https://raw.github.com/xranby/jogl-demos/master/src/demos/es2/RawGL2ES2demo.java javac -cp jar/jogl-all.jar:jar/gluegen-rt.jar RawGL2ES2demo.java java -Dnativewindow.ws.name=jogamp.newt.driver.bcm.vc.iv -cp jar/jogl-all.jar:jar/gluegen-rt.jar:. RawGL2ES2demo - Beanshell: removed final in function arguments and changed float array declaration to become BeanShell compatible. You can run this demo interpreted using Beanshell: wget http://www.beanshell.org/bsh-2.0b4.jar java -cp jar/jogl-all.jar:jar/gluegen-rt.jar:bsh-2.0b4.jar:. bsh.Interpreter RawGL2ES2demo.java - Vertex and Fragment shaders: remove #version lines to make the shaders compile on more drivers.
Diffstat (limited to 'java-dbg-swing.sh')
0 files changed, 0 insertions, 0 deletions