summaryrefslogtreecommitdiffstats
path: root/make
Commit message (Collapse)AuthorAgeFilesLines
* Updated build number to 1.1.0Kenneth Russel2006-11-241-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1001 232f8b59-042b-4e1e-8c03-345bb8c30851
* Optimized buffer binding checks for glVertexPointer and similar calls Kenneth Russel2006-11-242-4/+94
| | | | | | | | | | | | | | on request from John Burkey. Now caches the buffer binding for GL_ARRAY_BUFFER, etc. upon glBindBuffer calls and invalidates this cache upon glPushClientAttrib / glPopClientAttrib calls, refreshing the state only when necessary using the glGetIntegerv call. Fixed knowledge of available OpenGL versions to support OpenGL 2.1 (and future minor version updates). Fixed breakage of GL_NV_vertex_array_range support after recent upgrade of wglext.h and glxext.h headers. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@994 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed native code for DRIHack and replaced it with code using theKenneth Russel2006-11-242-41/+71
| | | | | | | | | | | | | | | | | | | | | GlueGen runtime library (specifically the NativeLibrary class). Updated the build.xml, in particular the dist targets, to no longer build or copy this native library. Updated the NativeLibrary class to allow specification of the full path to the library. Removed the GlueGen runtime classes from jogl.jar; these are now expected to reside in gluegen-rt.jar and it is expected that developers will have this on their CLASSPATH. Updated the dist target to include the gluegen-rt native library and jar file. Updated the JOGLAppletLauncher to download and unpack the gluegen-rt-natives jar as well as the jogl-natives jar. Updated the HowToBuild, user guide, and JOGLAppletLauncher documentation for this restructuring. Fixed bug in gluegen-cpptasks.xml in detection of Solaris/SPARCv9 and refactored targets further. Tested on Solaris/x86 so far; further testing and debugging of the nightly builds and applet launcher, and update of the JOGL applet test, to follow. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@993 232f8b59-042b-4e1e-8c03-345bb8c30851
* Clean up jogl.dist.dir/tmp before building zip archivesKenneth Russel2006-11-221-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@992 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated glext.h to include new NVidia GeForce 8 series extensions. Kenneth Russel2006-11-205-26/+826
| | | | | | | | Updated wglext.h and glxext.h to current versions plus GeForce 8 series extensions. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@991 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated glext.h to current one from khronos.org subversion repository Kenneth Russel2006-11-201-10/+231
| | | | | | | | | including OpenGL 2.1 entry points and definitions. Minor changes to GlueGen and PCPP to allow slightly more complicated #ifdef constructs and new Windows built-in types to parse. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@990 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 213: Expose GLCaps from GLDrawable Kenneth Russel2006-11-192-17/+53
| | | | | | | | | | | | | | | | | | | Added getChosenGLCapabilities() to the GLDrawable interface. Implemented on Windows, Unix and Mac OS X platforms with various techniques. Attempts to provide correct answers in all cases, even when the GLCapabilitiesChooser mechanism is not supported. Required addition of new platform-specific Java code in most cases to either re-convert existing PIXELFORMATDESCRIPTORS / XVisualInfos, or to query the pixel format or visual chosen for drawables like pbuffers for which the chooser mechanism is not (yet) implemented. Tested on Windows, Solaris/x86, and Mac OS X with on-screen, off-screen and pbuffer drawables. (Full support for the Java2D/JOGL bridge is not yet in place; the answer returned from the GLJPanel in this case is currently the default GLCapabilities, and it is likely that "external" GLDrawables will return null.) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@989 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 249: Adding generated sources like GL.java to source distribution Kenneth Russel2006-11-152-3/+152
| | | | | | | | | | | | | | | | | | | | Fixed (?) Issue 227: Distinct naming for different versions of jogl Fixed [No Issue Number]: Produce zip bundles from dist target This set of build.xml changes addresses the issues listed above. The "dist" target now puts the generated sources like GL.java into the source archive it produces; it expects that these sources are copied over from the Linux build. The kind of zip bundles that were produced for JSR-231 1.0.0 are now the primary result from the "dist" target. As these zip archives have unique version numbers, I believe these changes also fix Issue 227, although it could probably be argued the other way; please reopen this bug if the current changes are not sufficient. These changes will take effect once the nightly build machines are back on-line (they are currently being moved) and the build scripts have been updated. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@983 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed now-obsolete platform-specific Ant targets; the correct way to Kenneth Russel2006-10-231-119/+7
| | | | | | | invoke a build is now simply by calling "ant" git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@958 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added documentation on ability to do Kenneth Russel2006-10-221-1/+3
| | | | | | | e.g. GL.isExtensionAvailable("GL_VERSION_1_5") git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@955 232f8b59-042b-4e1e-8c03-345bb8c30851
* Bumped version number of nightly builds to 1.0.1-preKenneth Russel2006-10-051-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@939 232f8b59-042b-4e1e-8c03-345bb8c30851
* 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