aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* 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-191-0/+29
| | | | | | | | 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-171-6/+18
| | | | | | | | | | | | | 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
* 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-141-3/+12
| | | | | | | 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-131-3/+50
| | | | 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 NativeSignatureEmitterKenneth Russel2006-03-061-9/+38
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@649 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
* 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-161-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 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-121-13/+20
| | | | | | | | | 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
* Made loading of GLU library lazier, partially in the hope that thisKenneth Russel2006-02-101-4/+4
| | | | | | | | 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
* 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
* Issue number: Various issues are covered by this -- I will update themgfxadmin2006-01-311-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Modified Files: make/build.xml Added Files: make/joglversion make/joglRIversion We now prepend some version and implementation information to the manifest of jogl.jar. This can be used to determine version information. I will put back an example later today that prints out the version and implementation information of any jogl.jar using this information using standard java.lang APIs. The default build has this info as of right now: Specification-Title: Java Bindings for OpenGL API Specification Specification-Version: 1.0 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Java Bindings for OpenGL Runtime Environment Implementation-Version: 1.0 Beta2 Implementation-Vendor: java.net JOGL community Extension-Name: javax.media.opengl Implementation-Vendor-Id: com.sun If built with the "RI flag" ==> "ant RI" which just sets a property and then calls "ant all" then the manifest will read: Specification-Title: Java Bindings for OpenGL API Specification Specification-Version: 1.0 Specification-Vendor: Sun Microsystems, Inc. Implementation-Title: Java Bindings for OpenGL Runtime Environment Implementation-Version: 1.0 Beta2 Implementation-Vendor: Sun Microsystems, Inc. Extension-Name: javax.media.opengl Implementation-Vendor-Id: com.sun Whenever we change versions now, we will bump the Implementation-Version field in the text files of joglversion and joglRIversion. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@575 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 173: Adjust gamma, brightness and contrast Kenneth Russel2006-01-221-1/+3
| | | | | | | | | | | | | Added com.sun.opengl.util.Gamma supporting adjusting of gamma, brightness, and contrast. API and implementation derived from code in the LWJGL project. Added demos.gamma.TestGamma demo illustrating how to use the APIs. Tested on Linux, Mac OS X and Windows. No Solaris support at this time, although future Solaris releases, being based on the Xorg server, will probably have support for the required XF86VidMode extension. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@557 232f8b59-042b-4e1e-8c03-345bb8c30851
* Cleaned up how declarations for Mac OS X window system wrapperKenneth Russel2006-01-221-0/+2
| | | | | | | | | | | functions are specified. Now have their own header (which unfortunately could not be placed in the macosx stub_includes subdirectory due to build problems) in make/stub_includes/opengl/macosx-window-system.h. Deleted manual declarations for these functions from cgl-macosx.cfg. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@556 232f8b59-042b-4e1e-8c03-345bb8c30851
* Moved GlueGen out of the JOGL workspace and into its own project. Kenneth Russel2006-01-151-192/+66
| | | | | | | | | | | | | | | | Restructured JOGL and JOAL build processes to separately invoke GlueGen's main build.xml before using it to generate their code. Refactored OS/CPU detection code into gluegen-cpptasks.xml build file in GlueGen workspace, which is now imported by both the JOGL and JOAL build processes. Unfortunately it seems to be somewhat difficult to completely factor out the C compiler configuration into the GlueGen workspace so this has been left for a later date. Added missed ALProcAddressLookup file to JOAL workspace. Updated JOGL and JOAL build documentation. More documentation for the GlueGen workspace is forthcoming. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@542 232f8b59-042b-4e1e-8c03-345bb8c30851
* Revised JOGL's build.xml to look more like JOAL's with autodetection Kenneth Russel2006-01-141-224/+279
| | | | | | | | | | | | of OS and CPU. Added default "all" target. It is now no longer necessary to use the win32.vc6, etc. targets unless on Windows the jogl.properties file is old and does not contain the win32.c.compiler property. The nightly build setup will be adjusted for this and these now-unnecessary targets will be deleted in a subsequent checkin. Tested builds on Windows, Solaris and Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@540 232f8b59-042b-4e1e-8c03-345bb8c30851
* Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved Kenneth Russel2006-01-131-5/+3
| | | | | | | | | | | TextureIO-related classes to com.sun.opengl.util.texture and TextureProvider, TextureWriter and format-specific readers to com.sun.opengl.util.texture.spi. Renamed BufferUtils to BufferUtil. Added ImageUtil and FileUtil. Cleaned up javadoc. Updated demos. Cleaned up some imports. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@538 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build issue with MingW compiler pointed out by Justin CouchKenneth Russel2006-01-051-14/+3
| | | | | | | | where libjogl_awt.so was not being renamed; also cleaned up renaming of libraries on Mac OS X git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@518 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added contribution from user mabraham on JOGL forum with Microsoft Kenneth Russel2006-01-031-18/+45
| | | | | | | | | | Visual C++ 2005 (VC8) support. Deleted vc6.root and vc7.root properties as no longer being necessary. Updated build documentation to indicate that vcvars32.bat must be run before executing the appropriate ant target. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@511 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in struct layout introduced during recent rewrite to Kenneth Russel2005-12-311-9/+9
| | | | | | | | | | | | support simultaneous 32/64-bit struct accessor generation. Generated code has been validated on 64-bit platforms only by visual inspection so far but now appears correct. Tested and verified 32-bit build on Windows. Reorganized build process to generate JAWT interface later to allow cross-platform testing of generation of window system-specific code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@504 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in render-to-texture support on WindowsKenneth Russel2005-12-231-1/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@501 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-11-191-1/+30
| | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Modified Files: build.xml Added javadoc.spec target. This builds the official JSR 231 javadocs only and excludes the com.sun.* APIs javadocs. We will generally only use this target for official spec submissions to jcp.org. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@455 232f8b59-042b-4e1e-8c03-345bb8c30851
* Submitted by: Travisgfxadmin2005-11-111-1/+6
| | | | | | | | | | | | | | Add first draft of Specification Overview section to the javadoc build on main javadoc Overview page. This will be evolving as we continue to make specification changes. Modified Files: make/build.xml Added Files: make/spec-overview.html git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@438 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number:gfxadmin2005-11-101-1/+1
| | | | | | | | | | Obtained from: Submitted by: travis Reviewed by: Fix native win32 jar aggregation error ; include AWT DLL into windows dist build git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@436 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed dist build problem pointed out by TravisKenneth Russel2005-11-101-5/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@434 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored JOGL's use of the JAWT to enable it to be more lazily Kenneth Russel2005-11-091-17/+42
| | | | | | | | | | | | | | | | | | loaded. Separated out AWT-specific native code into a new jogl_awt native library on all platforms. Added a static helper method to the JAWT class to fetch the JAWT which is now called by all users. Added a new NativeLibLoader entry point to load the native code for the AWT implementation. Renamed the X11 platform's "lockAWT" and "unlockAWT" methods to "lockToolkit" and "unlockToolkit", respectively. In order to change this behavior only two methods in X11GLDrawableFactory need to be overridden. (During the writing of this checkin comment it was noted that these methods are currently static, but that will be fixed in a subsequent checkin.) Added the new jogl_awt native library to the the "dist" target's error checking code. Tested on Windows; more testing, including build testing, is needed on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@429 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added error checking for "dist" builds to validate that all expected Kenneth Russel2005-11-091-2/+85
| | | | | | | files are in place before proceeding with the dist target. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@427 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed Javadoc footer to bottomKenneth Russel2005-11-021-5/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@417 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Javadoc footer with copyright and license informationKenneth Russel2005-11-021-5/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@416 232f8b59-042b-4e1e-8c03-345bb8c30851
* Merged JSR-231 branch on to the main JOGL trunk. The main trunk now Kenneth Russel2005-10-241-114/+87
| | | | | | | | contains the evolving JSR-231 Reference Implementation and the JSR-231 branch is permanently closed. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@401 232f8b59-042b-4e1e-8c03-345bb8c30851
* show macosxfat as one of the available targetsGerard Ziemski2005-10-071-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@393 232f8b59-042b-4e1e-8c03-345bb8c30851
* add support for Mac OS X fat library (ppc and i386)Gerard Ziemski2005-10-061-1/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@392 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added CgGL.cgCreateProgramFromStream and updated JOGL Cg demos to use Kenneth Russel2005-05-131-1/+2
| | | | | | | 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/trunk@272 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Solaris/x86 support to build.xmlKenneth Russel2005-05-101-4/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@268 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 156: Patch to add linux.ia64 target Kenneth Russel2005-04-241-1/+25
| | | | | | | Applied patch from submitter. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@261 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 126: Patch to allow building native driver on BSD Kenneth Russel2005-01-281-0/+27
| | | | | | | | Incorporated patch, slightly modified to not perturb the Linux build in any way. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@194 232f8b59-042b-4e1e-8c03-345bb8c30851
* Partial fix for Issue 88: Add Linux amd64 support to JOGLKenneth Russel2005-01-271-3/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The stub_includes headers and GlueGen config files have been changed to make X identifiers and similar values appear to Java to be 64-bit values on all platforms, rather than changing between 32-bit and 64-bit values depending on the architecture. This allows the shared Java code in the JOGL X11 implementation to work on both 32- and 64-bit architectures, which is an important step toward having complete 64-bit support in JOGL. Compared to the suggested patch, there is no longer a need to duplicate the sources in net.java.games.jogl.impl.x11 because the Java sources are now 64-bit clean. The change to use dlsym on Linux/AMD64 instead of glXGetProcAddressARB has been conditionalized under a run-time flag. Most of the build.xml and all of the GlueGen changes were incorporated unchanged. Thanks to the original authors of the patch for this work. At this point "ant linux.amd64" should build a working JOGL. However, it can not yet be incorporated into the distribution's platform- independent jogl.jar; in order to do this, the generation of the StructAccessors for the JAWT and some other X11 data structures by GlueGen will need to be conditionalized depending on the platform so that the 32-bit versions go in one directory, the 64-bit versions in another, and a run-time check is done to determine which version to instantiate. There are also a few remaining cleanups to generated glue code such as net.java.games.jogl.impl.x11.GLX.XGetVisualInfo(), which needs to be made platform-independent by calling the XVisualInfo.size() accessor rather than hardwiring in the size of the data structure (although the real solution will probably need to be more complicated since there will probably be two XVisualInfo implementations in the jar file). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@190 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed MinGW build option after conversion to cpptasksKenneth Russel2004-11-081-4/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@169 232f8b59-042b-4e1e-8c03-345bb8c30851
* libjogl_cg.jnilib was missing in jogl-natives-macosx.jar in dist targetKenneth Russel2004-11-061-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@167 232f8b59-042b-4e1e-8c03-345bb8c30851