aboutsummaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Added linker support for Cg on SolarisKenneth Russel2006-09-011-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@904 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored initialization of C compilers via cpptasks into Kenneth Russel2006-08-121-164/+40
| | | | | | | | | | | gluegen-cpptasks.xml. Now JOGL and JOAL subclass these compiler and linker definitions where necessary, resulting in much more code sharing between the build.xml files. JOAL should now be ready to compile on more platforms as well. Tested so far on Windows; will test builds on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@882 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Cg-related build breakage on all platforms after introduction ofKenneth Russel2006-08-031-1/+1
| | | | | | | com.sun.gluegen.runtime.NativeLibLoader class git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@873 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed isSolaris property detected by gluegen-cpptasks.xml to mean Kenneth Russel2006-08-011-2/+2
| | | | | | | | any of the 32- or 64-bit Solaris targets; added isSolaris32Bit property; revised dependent build.xml files git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@870 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bumped RI implementation version to 1.0.0 in anticipation of finalKenneth Russel2006-07-281-1/+1
| | | | | | | approval of spec git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@865 232f8b59-042b-4e1e-8c03-345bb8c30851
* Applied trick from user Kickaha on JOGL forum to potentially allow MacKenneth Russel2006-07-281-0/+15
| | | | | | | OS X universal binaries to be used on 10.3 as well; needs more testing git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@864 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-07-214-0/+40
| | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Sun is adding an alternative license term to the SGI Free B license which is permitted under that license. We are removing a couple of provisions from the SGI Free B license to make the license more liberal for our end users of JOGL. So these changes are just communication of that. There are no actual source code changes, just changes to the license file and the license text in each source code file. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@856 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added support for sharing of textures, etc. between GLPbuffers andKenneth Russel2006-07-214-1/+115
| | | | | | | | | | | | GLJPanels when the Java2D/JOGL bridge is active on Mac OS X. This required adding an alternate implementation for pbuffer drawables and contexts on OS X which uses CGL rather than the NextStep OpenGL APIs. Tested with advance Mustang bits on Mac OS X; Water and HWShadowmapsSimple demos (which use pbuffers) are now working within the JRefract harness when the Java2D/JOGL bridge is active. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@855 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-07-211-1/+22
| | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Officially adding Solaris AMD64 nightly builds. They should be uploaded nightly beginning with tonight's nightly build. What will now show up is a file called jogl-natives-solaris-amd64.jar We have not really tested this much but will test extensively soon. Modified Files: make/build.xml git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@854 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build problem on FreeBSD; fix confirmed by user cybasheep on JOGL forumKenneth Russel2006-07-191-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@849 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-06-131-1/+45
| | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Adding support for 64 bit Solaris on AMD64. Make sure the 64 bit JVM is in your path and it will build the 64 instead of the 32 target. We are still having problems with this variant running properly in many cases and I will file an issue. I will putback the accompanying code in gluegen shortly. Modified Files: make/build.xml git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@809 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bumped RI version number to 1.0.0 beta 5Kenneth Russel2006-05-311-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@793 232f8b59-042b-4e1e-8c03-345bb8c30851
* jogl/make/build.xmlgfxadmin2006-05-311-1/+25
| | | | | | | | | | | Add MacOSX fat (universal) to dist build. This should start being uploaded nightly with tomorrow's nightly build -- jogl-natives-macosx-universal.jar will be the filename. Travis git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@792 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed error message in Solaris/SPARCv9 part of dist targetKenneth Russel2006-05-291-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@788 232f8b59-042b-4e1e-8c03-345bb8c30851
* Preliminary fix forKenneth Russel2006-05-282-0/+7
| | | | | | | | | | | | Issue 216: Cannot create GLCanvas on non-default GraphicsDevice Made JOGL Xinerama-aware; now uses screen 0 rather than the screen reported from the AWT GraphicsDevice when Xinerama is enabled. So far only compiled and tested on non-Xinerama configuration on Linux; more testing needed on Xinerama setups and on Solaris. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@782 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-04-291-1/+21
| | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Add sparcv9 architecture (64 bit SPARC) to nightly dist build. Starting tonight, this will be available in the nightly build as jogl-natives-solaris-sparcv9.jar. Enjoy. Modified Files: make/build.xml ---------------------------------------------------------------------- git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@745 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-04-281-1/+21
| | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Add AMD64 native JOGL libraries to nightly build and nightly upload. A file called "jogl-natives-linux-amd64.jar" should appear on jogl page nightly from now on. I couldn't really test all the changes to our string of scripts without updating all the builds right now, so hopefully this will work OK, and if not, I'll fix in the morning. Modified Files: make/build.xml git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@743 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem in Java gluScaleImage implementation raised by user Kenneth Russel2006-04-271-8/+10
| | | | | | | | invictus on javagaming.org forums when destination buffer was a ByteBuffer git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@742 232f8b59-042b-4e1e-8c03-345bb8c30851
* Incorporated NativeTaglet sources from cylab into gluegen source tree Kenneth Russel2006-04-271-6/+6
| | | | | | | | after receiving contributor agreement. Updated jogl's javadoc rules to point to NativeTaglet in gluegen.jar. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@741 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-04-251-3/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Add 64 bit Sparcv9 Solaris build. A concomitant change will be putback into the gluegen tree shortly for properly detecting this case. The way that gluegen checks 32 or 64 bit-ness is which java binary is in your path, 32 bit sparc java or 64 bit sparcv9 java. In order to build the jogl 64 bit target, you need to have installed the 64 bit OpenGL sparcv9 libraries. This builds the JOGL binaries in the same place as the 32 bit JOGL .so library builds binaries, so you can build one or the other with a given source tree but not both. The jogl.jar generated by either the 32 or 64 bit target it identical, however. I have not added the 64 bit target to the dist build, that is coming soon. As well, it will be added to the nightly builds soon along with Linux AMD64 and Solaris AMD64. Modified Files: make/build.xml ---------------------------------------------------------------------- git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@736 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made cgGLSetParameterPointer NIODirectOnly because of its semanticsKenneth Russel2006-04-201-0/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@730 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated JOGLAppletLauncher with new native library names. Made pack200Kenneth Russel2006-04-191-1/+1
| | | | | | | application in build.xml verbose. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@726 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added "redist" target to build.xml to be able to use the nightly buildKenneth Russel2006-04-192-1/+30
| | | | | | | | and just update the manifest to promote an official build. Updated joglRIversion to beta 4. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@725 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 212: Incorporate patch to add URL links to GL javadoc Kenneth Russel2006-04-176-6/+198
| | | | | | | | | | | | | Incorporated patch from user cylab on javagaming.org forums to generate @native tags in GL javadoc which are postprocessed using a taglet: http://www.javagaming.org/forums/index.php?topic=12629.0 Modified supplied patch to restrict the @native designation to only the function name, and to understand OpenGL data type-related suffixes (i.e., glVertex -> glVertex3f). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@723 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-04-171-1/+1
| | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Change jogl-natives-solaris-sparc32.jar to jogl-natives-solaris-sparc.jar Modified Files: make/build.xml ---------------------------------------------------------------------- git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@722 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 215: Enhancement for NativeLibLoader Kenneth Russel2006-04-172-18/+3
| | | | | | | | Incorporated patch largely unmodified from user s_koehler. Cleaned up Cg library loading based on this work. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@720 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-04-141-27/+27
| | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Modify dist build target. New nomenclature for jogl-native*.jar files that distinguishes 32 and 64 bit targets. Starting tonight the nightly build uploads will use the new nomenclature: jogl-natives-solaris-sparc32.jar jogl-natives-solaris-i586.jar jogl-natives-linux-i586.jar jogl-natives-windows-i586.jar jogl-natives-macosx-ppc.jar We will soon be uploading 64 bit targets, too. Modified Files: make/build.xml git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@716 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added patch from user mabraham on javagaming.org forums for building Kenneth Russel2006-04-143-5/+14
| | | | | | | on Windows 64-bit git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@715 232f8b59-042b-4e1e-8c03-345bb8c30851
* Support for building on HP/UX from user metasim on JOGL forumKenneth Russel2006-04-132-4/+56
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@713 232f8b59-042b-4e1e-8c03-345bb8c30851
* Deleted whitespaceKenneth Russel2006-03-251-3/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@682 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem with dist target destroying version string in manifest Kenneth Russel2006-03-251-2/+9
| | | | | | | of assembled jogl.jar and typo in gluegen's license file name git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@680 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed initialization problem in dev javadoc pointed out by Justin Kenneth Russel2006-03-251-5/+5
| | | | | | | Couch causing packages like com.sun.opengl.impl.windows to be missed git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@679 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added position(0) call to returned Buffers from glMapBuffer and Kenneth Russel2006-03-141-0/+2
| | | | | | | glMapBufferARB on suggestion of John Burkey git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@663 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added NativeSignatureEmitterKenneth Russel2006-03-065-9/+66
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@649 232f8b59-042b-4e1e-8c03-345bb8c30851
* Optimized VBO/PBO checking routines in GLImpl. Now cache availability Kenneth Russel2006-02-241-20/+43
| | | | | | | of extensions in booleans rather than querying table each time. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@636 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed locking protocol for on-screen surfaces to only use the JAWT's Kenneth Russel2006-02-201-5/+5
| | | | | | | | | | | | | | | | | | | | | DrawingSurface locking primitives during the makeCurrent operation. While in theory the JAWT should be used for locking for the entire duration of the makeCurrent/release pair, in practice because OpenGL is orthogonal to the window system this is not really necessary, at least if higher-level locking primitives are used to make sure the window is not torn down out from under the library while OpenGL rendering is being performed. The OpenGL-related work done in GLCanvas.addNotify() and removeNotify() handles this. These changes enable simultaneous multi-head rendering on X11 systems with one OpenGL context per thread. Changed GLContext.destroy() to acquire the context's lock during the destroyImpl operation for correctness in the new protocol. Changed several Mac OS X native code entry points to not take an unnecessary NSView* argument. Tested with several demos on all platforms to stress creation and destruction of multiple kinds of OpenGL contexts. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@624 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added libjogl_drihack.so to dist native library jarsKenneth Russel2006-02-161-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@621 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-02-161-1/+1
| | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Bumping RI Implementation-Version string to 1.0.0-beta3 (to be released soon) Modified Files: make/joglRIversion git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@620 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problems with lack of hardware acceleration on LinuxKenneth Russel2006-02-161-11/+35
| | | | | | | | | | | distributions using DRI drivers. Hacked around limitations of the current DRI implementation by manually dlopen'ing libGL.so.1; avoids changing glue code generation for core OpenGL 1.1 routines which do not otherwise need to be called through function pointers on any platform. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@614 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-02-163-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: We are modifying the versioning for non-release builds. Now the timestamp is part of the implementation version string. For instance, "1.0.0-pre-20060215-17:03:32" is an implementation of the 1.0.0 version of the API built on Feb. 15, 2006, at 5:03:32 PM. This is how our daily build version strings will look. This is how the default build works. Our official beta builds which are known as "stable" builds will have a version string like: "1.0.0-beta3", etc. Our final version of 1.0.0 implementation will become the "release" build and the version string will be: 1.0.0 There are two easy ways to obtain the version string: 1) use the jogl.verbose properties flag (-Djogl.verbose) to see it at the command line 2) use the java.lang.Package API to query it programatically. See example in demos called demos/misc/VersionInfo We are removing the Version utility class because it was insufficient for a number of reasons. It should be removed with this putback. I am not 100% positive that this does not break the JOGLAppletLauncher class with the change that I have putback, but I can't test it here in my environment. And I am pretty sure it will still work, but we will test it. Modified Files: src/classes/com/sun/opengl/util/JOGLAppletLauncher.java make/joglversion make/build.xml make/joglRIversion ---------------------------------------------------------------------- git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@612 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added note on limitations of OpenGL context sharing to spec overviewKenneth Russel2006-02-151-0/+14
| | | | | | | | and pointed to it from GLDrawableFactory, GLDrawable, GLCanvas and GLJPanel git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@611 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added GlueGen sources, LICENSEs and READMEs to JOGL dist's jogl-src.zipKenneth Russel2006-02-131-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@606 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added checking of whether the correct GLContext is current to the Kenneth Russel2006-02-122-13/+26
| | | | | | | | | DebugGL pipeline. Fixed dependencies in JOGL and JOAL build.xml files so that generated code gets automatically rebuilt if GlueGen is updated. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@603 232f8b59-042b-4e1e-8c03-345bb8c30851
* Completion of initial work on FBO support in Java2D/JOGL bridge. Kenneth Russel2006-02-111-18/+17
| | | | | | | | | | | | | | | | | | | | | Discovered it was necessary to re-attach the color and depth renderbuffers to the FBO in JOGL's context, even though it shared textures and display lists with Java2D's context; this may be a driver problem and merits further investigation. Found it was also necessary to create a new depth renderbuffer; apparently could not use Java2D's. This is almost certainly a driver bug. At this point, with the forthcoming planned changes to Mustang, JOGL works when -Dsun.java2d.opengl.fbobject=true is specified. Problems remain with the HWShadowmapsSimple (extremely slow performance) and InfiniteShadowVolumes (throws exception because of inability to share textures and display lists between pbuffer's context with stencil buffer and Java2D's context) demos. Worked around earlier exceptions with InfiniteShadowvolumes demo by avoiding sharing textures and display lists with dummy GLContexts. Changed build to produce DebugGL and TraceGL earlier so they can be used in e.g. GLJPanel. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@599 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-02-112-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Change the implementation for querying version information when the property jogl.verbose is used. This now uses the java.lang.Package API to get information from the jogl.jar manifest instead of using com.sun.opengl.util.Version. com.sun.util.opengl.Version API will be going away soon. It is not rich enough to differentiate the specification version, the implementation version, the implementation vendor, etc. % java -Djava.library.path=/home/tbryson/temp/libs -Djogl.verbose demos.gears.Gears JOGL specification version 1.0 Public Review plus JOGL implementation version 1.0 Beta2 plus JOGL implementation vendor java.net JOGL community . . . I added "plus" in the version/spec information for the builds starting tonight so we will be able to differentiate between the official Beta 2 build and all subsequent builds, etc. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@598 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made loading of GLU library lazier, partially in the hope that thisKenneth Russel2006-02-104-4/+27
| | | | | | | | may address problems on certain Linux distributions where for some reason we're falling back to software rendering with Mesa git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@595 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2006-02-102-252/+272
| | | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: These are all documentation changes in preparation for the Proposed Final Draft submission. Carefully separated out references to the implementation from the specification. Did not delete any comments, just made sure that it was clear when it was the Reference Implementation being referred to. Add note to Spec Overview about version information. We now include version information in the manifest of the jar file and we require this of all implementations. This is currently done automatically as part of the build process and is easy to access at runtime with the java.lang.Package APIs. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@592 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed syslibset for Xxf86vm to be non-static to work around apparentKenneth Russel2006-02-071-3/+3
| | | | | | | bugs causing Linux natives to grow to huge size git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@588 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build breakage on X11 platforms after change to GlueGen'sKenneth Russel2006-02-071-8/+5
| | | | | | | argument name substitution to include offset arguments for arrays git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@586 232f8b59-042b-4e1e-8c03-345bb8c30851
* Intermediate checkin for FBO support in Java2D/JOGL bridge. Needed to Kenneth Russel2006-02-052-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | keep track of server-side OpenGL objects, like textures and display lists, created by the end user to preserve the illusion of independent contexts even though they will all share textures and display lists with the Java2D OpenGL context in order to access its FBO. Added GLObjectTracker class to track creation and destruction of these objects and to support cleanup when the last referring context has been destroyed. Modified GLContextShareSet to create and install GLObjectTrackers when necessary and GLContext to ref and unref tracker appropriately. Changed GlueGen's JavaPrologue and JavaEpilogue directives (and their documentation) to perform argument name substitution. Wrote documentation section on argument name substitution and specified behavior for primitive arrays (converts to string "array_name, array_name_offset" in substitution). Rephrased GlueGen's RangeCheck directives in terms of JavaPrologue directives and deleted old specialized code. Fixed bug in handling of VBO support in GLConfiguration when JavaPrologue was present for affected functions. Added JavaPrologue and JavaEpilogue directives to all existing OpenGL routines creating server-side objects (though it's possible some were missed) to call GLObjectTracker when necessary. Added RangeCheck directives for these routines as well. Worked around bug in JOGL demos where shutdownDemo() was being called more than once. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@584 232f8b59-042b-4e1e-8c03-345bb8c30851