aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Added build support for Cg library on Mac OS XKenneth Russel2004-10-261-1/+10
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@159 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated Cg definitions to Cg 1.3 beta 2 headersKenneth Russel2004-10-221-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@157 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed missing linker type of suncc in Solaris buildKenneth Russel2004-10-041-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@155 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed debug info from native libraries after CPPTask cutoverKenneth Russel2004-08-051-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@149 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added acknowledgment of Alex Radeski to build.xmlKenneth Russel2004-08-041-1/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@147 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Solaris portion of cpptasks port; needed to add a new sunccKenneth Russel2004-08-041-2/+3
| | | | | | | | | compiler/linker type to cpptasks. Updated cpptasks jar file. Filed patch request in ant-contrib project on sourceforge.net; bug ID 1003528. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@146 232f8b59-042b-4e1e-8c03-345bb8c30851
* Incorporated changes by Alex Radeski <[email protected]> from the Kenneth Russel2004-08-041-338/+259
| | | | | | | | | | | JSR-231 expert group to use the Ant CPPTask instead of manual exec'ing of the C compiler from within the build.xml. Substantially simplifies the build.xml; further simplifications (i.e., unused variables) are probably possible. Ported the CPPTask support to Mac OS X and validated it and fixed minor bugs on the supported platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@145 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bug fix from user GKW on the JOGL forums for problems reported by Kenneth Russel2004-08-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | users in JOGL 1.1 betas where the code path for wglChoosePixelFormatARB (supporting full-scene antialiasing) was failing on older cards. The old drivers expect an OpenGL context to be current while the wglChoosePixelFormatARB and associated calls are being made, even though the documentation explicitly states that this is not necessary. GKW's fix creates a native window synchronously (independent of the AWT) and associates an OpenGL context with it which is used to choose pixel formats for other windows on the same GraphicsDevice. Upon VM shutdown, a native message pump is started which causes proper disposal of the native window and its OpenGL contexts. There is currently no bug ID associated with this fix, although it may be a component of completely addressing several open bugs. Also includes a bug fix from GKW and kbr for: Issue 98: Just 1st frame rendering on ATI Radeon This was a race condition between JOGL's automatic discovery that the ATI_WORKAROUND was needed and the creation of the first GLCanvas and associated Animator. The need for disabling the setRenderingThread optimization was computed too late, incorrectly locking out other threads (in particular, the AWT event queue thread) from performing rendering of the component. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@144 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed cygwin / mingw compilation issues pointed out by user cylab on Kenneth Russel2004-07-281-1/+1
| | | | | | | JOGL forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@142 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 85: Weekly builds / sourceKenneth Russel2004-07-161-0/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@140 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build problems on Linux after addition of OpenGL 1.5 support.Kenneth Russel2004-04-221-3/+6
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@116 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 73: build.xml needs "-L/usr/X11R6/lib" for Linux.Kenneth Russel2004-04-191-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@110 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Javadoc problemsKenneth Russel2004-04-121-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@107 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed debugging code from declare.macosx ruleKenneth Russel2004-04-121-6/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@103 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 70: JOGL build broken with Ant 1.6Kenneth Russel2004-04-071-10/+21
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@91 232f8b59-042b-4e1e-8c03-345bb8c30851
* Minor cleanups to build.xmlKenneth Russel2004-03-151-4/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@88 232f8b59-042b-4e1e-8c03-345bb8c30851
* Update for custom pixel formats in OSXgregorypierce2004-02-281-7/+7
| | | | | | | | | | Issue number: Obtained from: Submitted by: Gregory Pierce Reviewed by: git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@85 232f8b59-042b-4e1e-8c03-345bb8c30851
* Modified the OSX jogl.properties location to something that actually exists ↵gregorypierce2004-01-181-1/+1
| | | | | | | | | | | | on 10.3 Issue number: Obtained from: Submitted by: Reviewed by: git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@77 232f8b59-042b-4e1e-8c03-345bb8c30851
* added Mac OS X specific compiler and linker options - prebinding. ↵Gerard Ziemski2003-11-041-3/+3
| | | | | | jogl.jnilib is now a dynamic lib, not a bundle git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@71 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Gerard Ziemski's changes to the build process on OS X to lookKenneth Russel2003-09-101-1/+10
| | | | | | | | for jogl.properties in the Library/Java subdirectory of the user's home directory. Updated the build documentation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@64 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added contribution from user GKW on community.java.net forums to fixKenneth Russel2003-09-051-2/+2
| | | | | | | | | 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/trunk@62 232f8b59-042b-4e1e-8c03-345bb8c30851
* Ported JOGL's Cg support to Linux; fixed capitalization and otherKenneth Russel2003-09-051-3/+3
| | | | | | | problems that didn't show up on Windows. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@61 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Mac OS X build after recent JAWT changes in 10.3 (which areKenneth Russel2003-08-241-2/+5
| | | | | | | | | | apparently going to be brought back to the 10.2 Java on OS X as well). Renamed host.properties to jogl.properties and changed build to look for this file in user's home directory to avoid needing to always change a file that is in the repository. Updated build documentation. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@58 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed behavior of ManuallyImplement to not emit GLEmitter's dispatchKenneth Russel2003-08-061-0/+5
| | | | | | | | | | routine, but to still emit entry in proc address table. Added first implementation of glMapBufferARB; may need to reimplement due to creation of finalizable direct ByteBuffer objects each time this routine is called (which will be every frame). git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@45 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated TODO and fixed bug in default build.xml ruleKenneth Russel2003-08-041-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@43 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in Animator where it would hang upon stopping if exceptionKenneth Russel2003-07-151-2/+2
| | | | | | | | | 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/trunk@35 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed issue 12: Better tracing outputKenneth Russel2003-07-151-0/+1
| | | | | | | | | Applied patches submitted by [email protected]. Added better dependence information for BuildComposablePipeline. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@31 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in Solaris build.Kenneth Russel2003-07-141-4/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@26 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added "dist" target to assemble one jogl.jar out of platform-specificKenneth Russel2003-07-141-0/+51
| | | | | | | ones and to create jars for each platform's native code. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@25 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed dangling references to platform-dependent stub_includes versionsKenneth Russel2003-07-141-3/+3
| | | | | | | of e.g. gl.c. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@24 232f8b59-042b-4e1e-8c03-345bb8c30851
* Switched jogl-demos to use Ant instead of GNU make.Kenneth Russel2003-07-141-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@23 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in Mac OS X Ant build.Kenneth Russel2003-07-141-6/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@21 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bugs in Linux build: GLEmitter needs to be used forKenneth Russel2003-07-141-3/+3
| | | | | | | window-system.c, JRE library path was wrong. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@20 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Ant build support, contributed by Rob Grzywinski and ArturKenneth Russel2003-07-141-0/+1038
Biesiadowski. Modified their original build.xml to understand dependencies between build phases (to avoid full rebuilds each time) and to invoke the C compiler without requiring an external Makefile. At this point the old Makefile/Makefile2 pair is obsolete and will be deleted shortly, as soon as the Ant build has been tested on Linux and Mac OS X. Additionally, Cygwin is no longer needed for the build; the documentation will be updated to reflect this. Refactored some of the stub_includes files to be common between platforms, yielding a build process cleanup. Fixed bugs in Javadocs. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@19 232f8b59-042b-4e1e-8c03-345bb8c30851