summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated webstart files to JOGL 1.1.1Kenneth Russel2005-07-123-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@101 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 168: Add support for transparency in GLJPanel Kenneth Russel2005-06-302-12/+62
| | | | | | | | | | | Obey setOpaque() when selecting buffered image type. User must still request alpha bits in the GLCapabilities. Not supported on all back-end renderers; for example, Microsoft GDI renderer does not implement alpha bits when rendering to DIB sections. Added examples of use in JGears and JRefract demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@96 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Upgraded webstart jars to 1.1 release. Kenneth Russel2005-06-243-0/+0
| | | | | | | Added jogl-1-1.jnlp extension JNLP file for authors to reference. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@94 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed problem with fullscreen display mode selection on Linux with JDKKenneth Russel2005-06-161-2/+3
| | | | | | | 1.6 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@92 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added comment about -Dsun.java2d.noddraw=true to fullscreen demosKenneth Russel2005-06-063-3/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@91 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added full-screen demos and supporting ScreenResSelector classKenneth Russel2005-06-064-0/+1566
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@90 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated jogl and jogl-demos home pages to point at new forumsKenneth Russel2005-06-061-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@89 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Got rid of useless copy of texture data pointed out by tomas on Kenneth Russel2005-06-052-31/+28
| | | | | | | javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@88 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Removed all spec elements from JNLP tags on advice of tusaki on Kenneth Russel2005-05-2814-28/+14
| | | | | | | javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@87 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in HDR demo with Java Web StartKenneth Russel2005-05-271-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@86 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Test fix for HDR demo via Java Web StartKenneth Russel2005-05-271-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@85 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added Solaris/x86 to platforms on jogl-demos pageKenneth Russel2005-05-271-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@84 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Upgraded webstart binaries to 1.1 b12; updated HTML and JavaDoc; added Kenneth Russel2005-05-276-0/+96
| | | | | | | HDR demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@83 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Javadoc fixesKenneth Russel2005-05-2717-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@82 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in floating-point pbuffer support on Linux and made HDR demoKenneth Russel2005-05-271-0/+3
| | | | | | | better-behaved on Linux git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@81 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added Java/JOGL port of NVidia HDR demo.Kenneth Russel2005-05-2726-1/+12107
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@80 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Enabled sync-to-vertical-refresh for ProceduralTexturePhysics demoKenneth Russel2005-05-241-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@79 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added constructor taking InputStreamKenneth Russel2005-05-231-1/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@78 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added PrintExt demo to print all GL extensionsKenneth Russel2005-05-191-0/+69
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@77 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added demos.util.FileUtils to help with loading vertex and fragment Kenneth Russel2005-05-191-0/+68
| | | | | | | programs git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@76 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Handle -Djogl.cg=1 property in jogl-demos' build.xml as wellKenneth Russel2005-05-161-2/+10
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@75 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added CgGL.cgCreateProgramFromStream and updated JOGL Cg demos to use Kenneth Russel2005-05-133-8/+31
| | | | | | | it so they can be run with Java Web Start. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@74 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Upgraded Java Web Start files to 1.1 b11 and version string to 1.1 b12Kenneth Russel2005-05-113-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@73 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed race condition in GLJPanel implementation and improved behaviorKenneth Russel2005-05-101-9/+13
| | | | | | | of JRefract demo on Linux git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@72 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 151: starting up the Animator before the GLJPanel has been shown ↵Kenneth Russel2005-05-0710-47/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | result in an error The root cause of this error was the fact that WindowsPbufferGLContext.destroyImpl() uses WGL extensions to clean up resources associated with the pbuffer. Because these extensions are in the public WGL interface, they are wrapped by the DebugGL. However, an OpenGL context is not current at the time these routines are called, and it is illegal to call glGetError() at those points. The DebugGL pipeline was implicitly calling glGetError() after each of those calls, leading to the failure. This bug unmasked a couple of others. The code in the DebugGL needed a recursion count to make sure that glGetError() didn't get called in an infinite loop. Also, as a side effect of the fix for Issue 160, calling getGL() on the GLJPanel outside of GLEventListener.init() was causing a NullPointerException to be thrown. The GLJPanel has been fixed to return null in this case, and the specification of GLDrawable.getGL() has been improved. In order to make the behavior between the GLCanvas and GLJPanel similar, the GL object is now reset in the GLDrawable each time the underlying OpenGL context is recreated. This allows end users to set up e.g. the DebugGL unconditionally in their GLEventListener.init() method. The JOGL demos have been changed to reflect this. The test case in the bug report will be updated with code similar to the originally submitted test case (i.e., the Animator is started early) but which now works. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@71 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added gl.setSwapInterval(0) callKenneth Russel2005-05-051-7/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@70 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixes for gleem Translate1, Translate2, and HandleBox JNLP filesKenneth Russel2005-05-031-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@69 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixes for gleem Translate1, Translate2, and HandleBox JNLP filesKenneth Russel2005-05-033-6/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@68 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JNLP files for gleem Translate1, Translate2, and HandleBox testsKenneth Russel2005-05-033-0/+66
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@67 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 160: Resource leaks in GLJPanel Kenneth Russel2005-05-021-16/+428
| | | | | | | | | | | | | | Added addNotify and removeNotify to GLJPanel which clean up the associated OpenGL contexts and other resources. Extended JRefract demo to stress GLJPanel creation and destruction. New code appears to be correct. Can see resource leaks when the bunny is loaded over and over, but believe these are probably due to allocation of large NIO buffers that are not getting finalized promptly. Stressing the Gears demo with both the pbuffer and software rendering paths shows that the OpenGL resources are being reclaimed properly. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@66 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added call to GL.setSwapInterval(1) to make demo animate smoothly on Kenneth Russel2005-04-241-0/+2
| | | | | | | all platforms git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@65 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 146: GLUT teapot Kenneth Russel2005-04-091-4/+1
| | | | | | | | | | Applied patch from user tedmunds to provide both an old-style GLUT teapot as well as one which fixes some problems with the teapot's geometry and orientation. Updated HWShadowmapsSimple demo to use glutSolidTeapot as originally intended. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@64 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in demos pointed out by chrisDUPUIS on javagaming.org forums Kenneth Russel2005-02-284-5/+30
| | | | | | | | | where we were creating multiple DebugGLs in particular in the TestContextDestruction demo, which was the cause of the slowdown in that demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@63 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated JOGL and jogl-demos webstart jars to 1.1 b10Kenneth Russel2005-02-283-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@62 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed problem in event-driven InfiniteShadowVolumes demo where Kenneth Russel2005-02-271-0/+6
| | | | | | | animation wasn't occurring git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@61 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Changed Gears and JGears demo to recommended style (to not cache the Kenneth Russel2005-02-242-17/+18
| | | | | | | GL object) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@60 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added needed repaint() call after key events in demos where Animator Kenneth Russel2005-02-242-0/+2
| | | | | | | isn't being used any more git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@59 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Removed unnecessary Animator from interactive HWShadowmapsSimple and Kenneth Russel2005-02-232-31/+2
| | | | | | | InfiniteShadowVolumes demos git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@58 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Took out debugging code from VertexProgRefract demoKenneth Russel2005-02-221-16/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@57 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated Java Web Start jars to 1.1 b09Kenneth Russel2005-02-153-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@56 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed problem in demos introduced in 1.1 b08 where windowClosing Kenneth Russel2005-02-1410-24/+93
| | | | | | | events were not properly waiting for the Animator to stop. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@55 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JRefractSingleThreaded JNLP file with Kenneth Russel2005-02-091-0/+25
| | | | | | | JOGL_SINGLE_THREADED_WORKAROUND specified git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@54 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JCanyon thumbnailKenneth Russel2005-02-081-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@53 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added link to Grand Canyon demoKenneth Russel2005-02-081-0/+64
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@52 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Changed certain http:// links to https://Kenneth Russel2005-02-081-6/+6
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@51 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated JOGL demos' jar files to 1.1 b08Kenneth Russel2005-02-073-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@50 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Cleaned up navbar and color schemeKenneth Russel2005-02-071-42/+37
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@49 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JRefract demo to jogl-demos web pageKenneth Russel2005-02-074-1/+106
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@48 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added slight variation of VertexProgRefract demo which embeds the demo Kenneth Russel2005-02-041-0/+781
| | | | | | | inside a JInternalFrame using the new hardware-accelerated GLJPanel. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@46 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Upgraded JOGL and JOGL demo webstart jars to 1.1 b07.Kenneth Russel2004-11-203-0/+0
| | | | | | | Upgraded version number to 1.1 b08. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@45 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4