summaryrefslogtreecommitdiffstats
path: root/src/demos/es2
Commit message (Collapse)AuthorAgeFilesLines
* Changes in respect to JOGL2 revision 1929Sven Gothel2009-06-111-7/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@342 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Move setVisible to main thread - still MacOSX buggy with multiple threadsSven Gothel2009-06-031-2/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@340 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* GLInfo and RedSquare demos: Use main thread for only one GL instanceSven Gothel2009-06-031-9/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@339 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixes against JOGL2 revision 1922 - Multi GL Profiles, plus setenv scriptsSven Gothel2009-06-038-35/+57
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@338 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* GLInfo gives some usefull info, fix with GL3 changesSven Gothel2009-05-293-9/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@336 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Newt: updated newt demos to implement new methods in Mouse and WindowListenersDmitri Trembovetski2009-05-264-0/+8
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@335 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Missed movement of FBObject class from javax.media.opengl.util toKenneth Russel2009-03-196-6/+0
| | | | | | | | com.sun.opengl.util. Fixed remaining references to javax.media.opengl.util package. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@325 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Moved remaining portions of fixed function emulation out of core JOGLKenneth Russel2009-03-196-12/+11
| | | | | | | | | | | | | | | | | | public and implementation packages and into com.sun.opengl.util.glsl.fixed.* and other subpackages of com.sun.opengl.util. Renamed javax.media.opengl.sub.GLObject to javax.media.opengl.GLBase. Moved interfaces in javax.media.opengl.sub.fixed to javax.media.opengl.fixedfunc and changed naming convention. Moved all classes in javax.media.opengl.util to com.sun.opengl.util. Moved com.sun.opengl.impl.packrect to com.sun.opengl.util.packrect. Renamed InternalBufferUtils to InternalBufferUtil to match naming convention and copied in needed routines for GLU and other classes. Fixed build breakage when specifying rootrel.build property; reintroduced build-temp directory. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@324 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated demos after refactoring of OpenGL capability bits back into ↵Kenneth Russel2009-03-195-15/+13
| | | | | | GLCapabilities git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@323 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* sync with JOGL changesSven Gothel2009-03-168-52/+25
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@322 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* NEWT window closing:Sven Gothel2009-03-145-9/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY and WindowListener.windowDestroyNotify() method. - Removed windowClosed() method for JNI hook - Added windowDestroyNotify() windowDestroyed(), where windowDestroyNotify() shall be called by the native implementation _before_ the window gets shutdown. The Window.java then sends a WindowEvent.EVENT_WINDOW_DESTROY_NOTIFY event, and either Window.java or it's owner GLWindow.java issues the destroy() procedure. - Added GLEventListener.dispose(GLAutoDrawable), to allow user application to release GL ressources. Issued by GLWindow (-> see windowDestroyNotify()) - X11 impl intercepts WM_DELETE_WINDOW, using Atom, MacosX impl already uses the _before_ method (VERIFY), and Windows impl uses the WM_CLOSE event (VERIFY). JOGL2 dispose/destroy .. - Added GLEventListener.dispose() to GLCanvas and GLJpanel - GL* toString() rearrangement, assumes it is issued by GLContext(), which indeed is the core information node. - Added proper destroy() methods and calls, to achieve a proper resource release at destruction. Instrumentizing almost all classes with a destroy() method, so no release function lookup is necessary. - misc changes .. JOGL2 Demos - Fixed in regards to the above changes git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@321 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Adapt to JOGL nwi package changesSven Gothel2009-03-135-5/+10
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@320 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* - Fixed rootrel.build usage, this works properly through gluegen, jogl-demos ↵Sven Gothel2009-03-055-51/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and this build. You can say -Drootrel.build=build-x86_64 for example. - Fixed jogl-demos in regard to this changeset - Gluegen - Fixed gluegen BuildComposablePipeline's 'getGL*' methods. Now they return 'this', otherwise the pipeline would be broken/removed. - Add BuildComposablePipeline CustomPipeline, which allows customized class composition with an interface (to be wrapped), prolog class and the downstream class. - Add GlueGen (incl. ant task) 'outputRootDir' to be able to set a top output root dir via ant / commandline. - GL fixed function - Package 'javax.media.opengl.sub.fixed.*' defines some fixed function interfaces. This allows partitioning of custom implementation. - Using gluegen's new CustomPipeline to compose a GLFixedFuncIf implementation, using a GL downstream and a GLFixedFuncHookIf prolog. The latter implements the fixed functionality. Example is the GLFixedFuncImpl. gl.getContext().setGL( new GLFixedFuncImpl(gl, new FixedFuncHook(gl.getGL2ES2())) ) ; or gl.getContext().setGL( new GLFixedFuncImpl(gl, gl.getGL2ES1()) ) ; - The example GLFixedFuncHookIf impl FixedFuncPipeline/ can be instantiated with custom shader code. - ES2 and all other interfaces only contain the original functionality, besides minor convenient data access methods. - Fix: GL2ES2 createCompileShader() and createLoadShader() is moved to ShaderCode util class. - Updated PMVMatrix - Add: GLAutoDrawable.setContext() .. and all it's implementations Necessary to set a new GLContext. - Add: GLContext getAttachedObject(int) and putAttachedObject(int, Object), to allow the user to attach application specific and TLS sensitive objects to the GLContext. - git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@316 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Moved javax.media.opengl.glsl.* and javax.media.opengl.sdk.* classesKenneth Russel2009-01-037-7/+8
| | | | | | | | | into com.sun.opengl.util.* hierarchy in preparation for refactoring of fixed function emulation into utility classes. Updated dependencies and demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@313 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* OMX cleanupSven Gothel2008-12-012-21/+32
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@302 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Add MovieCubeSven Gothel2008-11-293-10/+607
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@301 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Adding OpenMAX ES2 demoSven Gothel2008-11-276-0/+353
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@300 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Reflect JOGL2 NEWT changesSven Gothel2008-11-262-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@298 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Incooperate cleaned up pathSven Gothel2008-11-212-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@297 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Perftst: Texture (GL2 ok, ES2 ok)Sven Gothel2008-09-021-2/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@286 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Perftst: Texture (GL2 ok, ES2 nok)Sven Gothel2008-09-025-32/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@285 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* PerfTextLoad (wip)Sven Gothel2008-08-304-85/+132
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@283 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Angeles VBO interleave test, 1 VBO per object; PerfTest Texture; misc changesSven Gothel2008-08-294-12/+277
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@282 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* ES2.PerfTst: Uni - fixSven Gothel2008-08-211-1/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@281 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* ES2.PerfTst: VBO-1-obj - skip enable/disableSven Gothel2008-08-211-3/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@280 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* ES2.PerfTst: Fix avg fpsSven Gothel2008-08-212-12/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@279 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fix ES2 PerfTst for APXSven Gothel2008-08-214-9/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@278 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* ES2 performance test: 1st draftSven Gothel2008-08-2112-7/+740
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@277 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Proper ES2 demo with precompiled shader (adding script)Sven Gothel2008-08-121-0/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@273 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Proper ES2 demo with precompiled shaderSven Gothel2008-08-127-479/+106
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@272 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Ragdoll: drop gnu/trove; All: Enabling perf loggingSven Gothel2008-08-121-5/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@270 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* ES 2:Sven Gothel2008-07-251-0/+311
| | | | | | | | | | | | | | | | | | Working: demo.es2.RedSquare (gl2/es2 shader+PMVMatrix) +++ ES2 Fixed Function: Working on all profiles: demo.es1.RedSquare demo.es1.cube.Cube demo.es1.cubefbo.Main (buggy .. invisible - texture shader problem !) javabullet.demos.genericjoint.GenericJointDemo (buggy .. invisible !) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/branches/JOGL_2_SANDBOX@264 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Moved ES1 and ES2 demos into new packages in preparation for Kenneth Russel2008-05-292-0/+336
conversion to platform-independent APIs git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@229 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4