summaryrefslogtreecommitdiffstats
path: root/src/demos/es2/RawGL2ES2demo.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix RawGL2ES2demo: Issue glDeleteBuffers(..) at dispose(..) not display(..); ↵Sven Gothel2014-04-111-25/+25
| | | | | | Whistespace cleanup. Using a 'marked for deletion' buffer is not supported on all GL specifications, if at all (?).
* Fix bug 821: RawGL2ES2demo: Explicit add #version 130 for GL3 core & release ↵Xerxes Rånby2013-09-021-26/+57
| | | | | | VBO using glDeleteBuffers. Signed-off-by: Xerxes Rånby <[email protected]>
* Fix bug 821: RawGL2ES2demo: Use VBO buffers and update shaders to stay ↵Xerxes Rånby2013-08-301-5/+59
| | | | | | GL3/ES3 core profile compatible. Signed-off-by: Xerxes Rånby <[email protected]>
* RawGL2ES2demo: Fixed compile/launch in document due to package demos.es2;'Sven Gothel2013-01-191-1/+4
|
* RawGL2ES2demo: Fixed launch in document due to package demos.es2;'Sven Gothel2013-01-191-1/+1
|
* RawGL2ES2demo: Fix Animator usage; Added missing 'package demos.es2;'Sven Gothel2013-01-191-1/+3
|
* Improve frame rendering smoothness in src/demos/es2/RawGL2ES2demo.javaXerxes Rånby2012-09-201-4/+7
| | | | | | | by using Animator instead of FPSAnimator. Calculate the time deltas for the theta movement using milliseconds passed between two frames. Signed-off-by: Xerxes Rånby <[email protected]>
* Fix ecj warnings in src/demos/es2/RawGL2ES2demo.javaXerxes Rånby2012-09-201-21/+0
| | | | | | Removed unused imports, unused c field and the unused printMatrix function. Signed-off-by: Xerxes Rånby <[email protected]>
* Use NIO Direct buffers to pass data to glVertexAttribPointer in ↵Xerxes Rånby2012-09-201-2/+19
| | | | | | | | | | | | | | | RawGL2ES2demo.java https://github.com/sgothel/jogl/commit/3f5aac3536956e245d0e151e4915e7dd67a08b7e Fixed two logical flaws regarding: - GL spec: Pointer functions required passed memory pointers to persist - JNI: Primitive arrays may change their native memory location (swap), even if they were not GC'ed. The demo code is now updated to stay compatible with this change. Signed-off-by Xerxes Rånby <[email protected]>
* es2/RawGL2ES2demo: Remove AWT dependency to allow running on a Raspberry Pi; ↵Xerxes Rånby2012-08-221-46/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* RawGL2ES2demo: make shaders Mesa X11 GL compatible.Xerxes Rånby2012-03-231-6/+21
|
* RawGL2ES2demo: Mention JOGL probing of system installed libGL and libEGL.Xerxes Rånby2012-03-231-3/+17
|
* JOGL2 OpenGL ES 2 demo to expose and learn what the RAW OpenGL ES 2 API ↵Xerxes Rånby2012-03-231-0/+426
looks like.