summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added pbuffer support as stated requirement for Kenneth Russel2004-11-172-2/+2
| | | | | | | ProceduralTexturePhysics demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@43 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated documentation and web page for JOGL demos now that they have Kenneth Russel2004-11-175-36/+28
| | | | | | | been to ARB-standard extensions. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@42 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Ported ProceduralTexturePhysics demo to ARB_vertex_program and Kenneth Russel2004-11-172-695/+526
| | | | | | | | | | | | ARB_fragment_program from NV_vertex_program, NV_register_combiners and NV_texture_shader for compatibility with all vendors' graphics cards. Tested resulting demo on both NVidia and ATI cards. Framerate on Quadro FX Go700 is close to original version after optimization of a few of the fragment programs. Results are visually similar to (though probably not identical to) the original version. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@41 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Ported VertexProgRefract demo to ARB_fragment_program from NV_register_combinersKenneth Russel2004-11-081-5/+75
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@40 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated JOGL and JOGL demo webstart files to 1.1 b06Kenneth Russel2004-11-013-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@39 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated Java Web Start jars to 1.1 b05Kenneth Russel2004-08-043-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@38 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in gleem's Plane constructor pointed out by Aron Bierbaum Kenneth Russel2004-07-231-2/+2
| | | | | | | <[email protected]> git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@37 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated Java Web Start binaries for JOGL 1.1 beta 04Kenneth Russel2004-07-163-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@36 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 85: Weekly builds / sourceKenneth Russel2004-07-161-0/+8
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@35 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* update note on ProceduralTexturePhysics demo to reflect support for pbuffers ↵Gerard Ziemski2004-06-201-2/+2
| | | | | | on Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@34 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* update note on HWShadowmapsSimple demo to reflect support for pbuffers on ↵Gerard Ziemski2004-06-201-2/+1
| | | | | | Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@33 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* This putback attempts to address the following issues: Kenneth Russel2004-06-191-0/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue 59: GLContext Leak Issue 67: Java/Jogl app hangs some systems, not others, during reshape. Issue 69: Error on window resize Issue 89: Losing Backbuffer when Resizing/Moving a window The primary change is to support handing off of the display() implementation to the AWT event queue thread via a new class called SingleThreadedWorkaround in the impl package. This was done to cause the AWT's reshape code to execute on the same thread as all other OpenGL rendering without changing the threading model (e.g., Animator and the ability to manually call display()) visible to the end user. This set of changes appears to work around the problems seen on ATI cards with random corruption when resizing animating windows due to multithreading bugs in the drivers. More testing by a larger community will confirm this fix. Currently the workaround is enabled by default on ATI cards. A secondary but related change is to properly destroy the OpenGL context when a heavyweight component is removed from its container. In order to implement the above workaround, it was necessary to override addNotify and removeNotify to properly track whether GLCanvases were realized; at that point it was a fairly small step to properly delete and recreate OpenGL contexts. The previous heuristics which attempted to determine when a heavyweight had been realized have been removed. A new demo, TestContextDestruction, exercises the new functionality. It does still appear to exhibit resource leaks, however; removing and re-adding the GLCanvas from its parent multiple times causes the system to eventually slow down significantly. More work is needed in this area. However, the demo does now execute as opposed to throwing an exception which was the previous behavior. The current code has been tested on Windows on NVidia hardware with all existing demos with the workaround both enabled and disabled, and on ATI hardware with the existing compatible demos with the workaround enabled. The new abstract method in GLContext, destroyImpl(), has been implemented but not yet tested on X11 and Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@32 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated binaries for 1.1b03Kenneth Russel2004-04-293-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@31 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated precompiled binaries and some documentation for 1.1 b01Kenneth Russel2004-04-224-5/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@30 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Initial support for multisample / full-scene antialiasing (FSAA); Kenneth Russel2004-04-131-0/+181
| | | | | | | currently on Windows, X11 and other ports to follow git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@29 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated JOGL and JOGL-Demos web start binaries and made minor doc changesKenneth Russel2004-04-123-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@28 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Implemented a per-thread GLContext stack, which gives a thread Kenneth Russel2003-11-043-98/+92
| | | | | | | | | | | | | | | knowledge of the OpenGL contexts it has made current and allows a GLDrawable to make its context current recursively as well as allowing a GLEventListener to call another GLDrawable's display() method from within its display(). This mechanism can be used fairly easily to expose swapBuffers in the public API, as has been requested. Updated the demos which had to explicitly call display() on more than one drawable to use the Animator class and to call GLDrawable.display() from within their GLEventListeners' display() methods. Updated documentation. Fixed bugs in gleem's CameraParameters class. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@27 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated binaries with ARB_vertex_buffer_object support, latest Mac OSKenneth Russel2003-09-065-0/+89
| | | | | | | X support, GLU tesselator API, etc. Added VertexBufferObject demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@26 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added contribution from user GKW on community.java.net forums to fixKenneth Russel2003-09-051-0/+308
| | | | | | | | | pixel format selection for GLJPanel on Win32 by using ChoosePixelFormat rather than DefaultGLCapabilitiesChooser. Modified dist targets to include Cg native libraries. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@25 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* GLU tesselator port by Pepijn Van Eeckhoudt and Nathan Parker Burg.Kenneth Russel2003-08-211-0/+242
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@24 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added SGI .rgb image reader. Fixed typos in javadoc.Kenneth Russel2003-08-151-0/+334
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@23 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Made glBufferDataARB and glBufferSubDataARB non-NIOOnly. Added support Kenneth Russel2003-08-081-15/+50
| | | | | | | | to VertexBufferObject demo for storing element indices in element array buffer, though this didn't end up improving performance. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@22 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in toggling of VBOKenneth Russel2003-08-081-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@21 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Changed glMapBufferARB's implementation to return the same ByteBufferKenneth Russel2003-08-071-0/+724
| | | | | | | | | | | | | | | | | if the address and capacity of the underlying buffer object haven't changed. This saves applications the cost of re-slicing the returned buffer each frame and avoids allocation of one or more finalizable objects per frame. Moved GlueGen's checking of whether a passed buffer is direct up into Java from C to be able to handle buffers that wrap the NULL pointer (needed for the "buffer offsets" used by ARB_vertex_buffer_object). Ported the VertexArrayRange demo to VertexBufferObject. Currently slower than VertexArrayRange but needs to be updated to triangulate the geometry more efficiently (currently the triangle strips are only 48 vertices long) and to move the indices into fast RAM. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@20 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Converted all JNLP files to use https after java.net cutover to https onlyKenneth Russel2003-08-047-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@19 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Attempted fix to jogl and Gears JNLP files after java.net transition to httpsKenneth Russel2003-08-042-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@18 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added temporary Gears JNLP fileKenneth Russel2003-07-192-1/+24
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@17 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JNLP files for demos to jogl-demos home page. Added more linksKenneth Russel2003-07-189-6/+691
| | | | | | | and information to JOGL home page. Revised demo documentation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@16 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Worked around 4764639/4892246Kenneth Russel2003-07-173-2/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@15 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JNLP files for HWShadowmapsSimple, InfiniteShadowVolumes,Kenneth Russel2003-07-166-0/+143
| | | | | | | | ProceduralTexturePhysics, VertexArrayRange, VertexProgRefract, and VertexProgWarp demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@14 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added Java Web Start binaries for JOGL and the JOGL demos.Kenneth Russel2003-07-163-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@13 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in Animator where it would hang upon stopping if exceptionKenneth Russel2003-07-156-75/+112
| | | | | | | | | was thrown during init(). Fixed build.xml files to get javac to produce source file and line number information. Fixed demos to pop up a dialog box if an extension they need is unsupported. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@12 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Switched jogl-demos to use Ant instead of GNU make.Kenneth Russel2003-07-143-158/+100
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@11 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added sharing of display lists and textures among OpenGL contextsKenneth Russel2003-07-082-0/+272
| | | | | | | | | through new methods in GLDrawableFactory; GLContext has not been exposed in the public API. Tested with new simple TestContextSharing demonstration on Windows, Linux and Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@10 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added pbuffer support to JOGL on X11; HWShadowmapsSimple andKenneth Russel2003-07-032-2/+2
| | | | | | | | | | | | | | | | | | ProceduralTexturePhysics demos are now working on Linux with the appropriate hardware. Moved core GLX routines out of the public GLX interface; this allowed XVisualInfo (and the new GLXFBConfig) to be removed from the public API. Added support to GlueGen for returning arrays of pointers as arrays of StructAccessors in Java and for choosing the typedef name for a pointer-to-struct if the struct itself does not have a typedef name. Added support to GLEmitter to emit ProcAddressTables under arbitrary names and to support arbitrary mechanisms for fetching those tables. Made GLU (on all platforms) and GLX (on X11) be dynamically linked. Refactored ProcAddressTable filling to be mostly shared code. Tested changes on Linux, Mac OS X and Windows. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@9 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Checked in experimental Cg support and a couple of small demos. ByKenneth Russel2003-06-265-0/+826
| | | | | | | | | | | default it is not built and javadoc is not generated for it. The demos are not compiled by the jogl-demos project makefile since there are issues to be thought through with operations like cgCreateProgramFromFile and their interaction with launching over the web via Java Web Start. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@8 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Initial Mac OS X port of Jogl by Gerard Ziemski and Kenneth Russell,Kenneth Russel2003-06-261-4/+2
| | | | | | | | | | subsuming the previous prototype implementation (no GLCanvas support) done by Marc Downie. Added user's guide (HTML format) under doc/userguide/index.html. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@7 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated demo requirements and supported platforms after portingKenneth Russel2003-06-261-5/+7
| | | | | | | | vtxprog_warp and vtxprog_refract from NV_vertex_program to ARB_vertex_program. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@6 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Ported vertexProgWarp from NV_vertex_program to ARB_vertex_program soKenneth Russel2003-06-261-233/+266
| | | | | | | it will work on any vendor's hardware as well as on Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@5 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Ported vertexProgRefract from NV_vertex_program to ARB_vertex_programKenneth Russel2003-06-261-89/+122
| | | | | | | | so it will work on NVidia hardware on Mac OS X. Added small workaround for driver bug on OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@4 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Split up net.java.games.util; moved GLUT and BufferUtils intoKenneth Russel2003-06-2594-0/+64366
| | | | | | | | | | | | net.java.games.jogl.util, and moved demo-specific utility classes into jogl-demos project under demos.util. Added nearly all JavaOne demos into jogl-demos project; rewrote where necessary to use ClassLoader.getResourceAsStream() instead of flat files, put into packages and added to Makefile. Added gleem to jogl-demos project. Added jogl.jar build rule. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@3 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Commit by Helm::Ccvstigrisc2003-06-231-0/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@2 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* New repository initialized by cvs2svn.First Last2003-06-230-0/+0
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@1 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4