summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated nightly buildgfxadmin2006-02-081-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@589 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
* Updated nightly buildgfxadmin2006-02-071-19/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@587 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
* Further work on FBO support in Java2D/JOGL bridge. Recast how Kenneth Russel2006-02-065-53/+227
| | | | | | | | | | | | | | | | | | GLObjectTrackers are specified between contexts and separated this from the maintenance of the GLContextShareSet, although the API (registerForObjectTracking) is in the GLContextShareSet class. If the Java2D/OpenGL pipeline and FBOs are active, causes all JOGL contexts created to share textures and display lists with a context from Java2D (currently acquired from a VolatileImage, but will probably need to change how this is done). GLObjectTrackers however are only shared between JOGL contexts where the user has explicitly requested sharing. This yields the expected semantics of server-side object deletion when the context is destroyed. Upgraded GLJPanel to handle FBO manipulation. Not working yet; more debugging necessary on Java2D side as well. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@585 232f8b59-042b-4e1e-8c03-345bb8c30851
* Intermediate checkin for FBO support in Java2D/JOGL bridge. Needed to Kenneth Russel2006-02-057-9/+912
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated nightly buildgfxadmin2006-02-051-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@583 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-041-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@582 232f8b59-042b-4e1e-8c03-345bb8c30851
* Upgraded contributor agreement to current final versionKenneth Russel2006-02-033-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@581 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 199: Incorporate tile rendering library Kenneth Russel2006-02-022-2/+637
| | | | | | | | | | | With the permission of the author, Brian Paul, the Mesa tile rendering library has been incorporated under BSD-compatible licensing terms thanks to porting work by user bleb from the javagaming.org forums. Added demos.misc.TiledRendering demo creating a high-resolution screenshot of the Gears demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@580 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-021-19/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@579 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem with pbuffers on X11 with ATI hardware; workaround wasKenneth Russel2006-02-021-3/+4
| | | | | | | | not working with latest drivers; new suggested workaround from Chris Campbell git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@578 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored fast TGA writer into its own class to be able to share the Kenneth Russel2006-02-012-26/+125
| | | | | | | | code between the Screenshot class and the anticipated tile rendering library. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@577 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-02-011-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@576 232f8b59-042b-4e1e-8c03-345bb8c30851
* Issue number: Various issues are covered by this -- I will update themgfxadmin2006-01-313-6/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Updated nightly buildgfxadmin2006-01-311-19/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@574 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-301-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@573 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-291-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@572 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated Cg headers to 1.4 rc1-4 including in particular Kenneth Russel2006-01-294-1/+11
| | | | | | | | cgGLRegisterStates noted as missing by user Trevidos on javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@571 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added JOGLAppletLauncher.getSubApplet() on request of user Spiff on Kenneth Russel2006-01-291-0/+6
| | | | | | | javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@570 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added profiling support to WindowsOnscreenGLDrawable to figure out why Kenneth Russel2006-01-291-0/+56
| | | | | | | | JOGL applets running in Mozilla/Firefox are so slow -- apparently the WINGDI call SwapBuffers() is taking a long time, but unclear why git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@569 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-271-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@568 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-261-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@567 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-251-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@566 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 196: Utility method to create thumbnails Kenneth Russel2006-01-251-0/+62
| | | | | | | | Incorporated excellent patch from Romain Guy for creating high-quality thumbnails. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@565 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 195: Pbuffer support broken on X11 platformsKenneth Russel2006-01-241-1/+4
| | | | | | | | | | It turns out that pbuffer support wasn't completely broken, but the GLX_DOUBLEBUFFER bit wasn't being set properly for single-buffered windows and pbuffers, which mattered in particular for the JGears demo (and the GLJPanel) which read back the contents of the front buffer. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@564 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-231-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@563 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 192: Add Alpha to com.sun.opengl.utils.Screenshot.java Kenneth Russel2006-01-221-12/+124
| | | | | | | | | Added variants to all screenshot functions taking boolean alpha. Rewrote original entry points in terms of new ones passing false for alpha parameter. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@562 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 190: Add TextureIO features Kenneth Russel2006-01-222-0/+128
| | | | | | | | | Added getEstimatedMemorySize() to TextureData and Texture classes. Filled out setTexParameter* methods to include all variants (i, f, iv, fv) in the underlying OpenGL binding. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@561 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed typos in glx-CustomCCode.c along Solaris #ifdef pathKenneth Russel2006-01-220-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@560 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed typos in glx-CustomCCode.c along Solaris #ifdef pathKenneth Russel2006-01-221-6/+6
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@559 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 179: Add documentation on importance of byte ordering Kenneth Russel2006-01-221-0/+14
| | | | | | | | Added text to the spec overview regarding setting byte order of newly-allocated ByteBuffers to native order. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@558 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 173: Adjust gamma, brightness and contrast Kenneth Russel2006-01-2212-37/+548
| | | | | | | | | | | | | 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-224-80/+50
| | | | | | | | | | | 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
* Updated nightly buildgfxadmin2006-01-211-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@555 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build breakage on 10.4 after last checkinKenneth Russel2006-01-201-6/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@554 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 193: antialiasing querying using GLCapabilitiesChooser no Kenneth Russel2006-01-202-85/+96
| | | | | | | | | | | | | | | longer works in JSR 231 beta 02 This was a bug inadvertently introduced during refactoring of the multisample support during the development of JSR-231 beta 2 to support multisampled pbuffers. Additionally another bug was introduced during yesterday's bug fix for exceptions thrown while producing the GLCapabilities[] array for the GLCapabilitiesChooser. Both issues have been fixed in this checkin. The printing code in GLCapabilities has also been extended to print the multisampling-related properties. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@553 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed bug in WindowsGLDrawable.iattributes2GLCapabilities pointed out Kenneth Russel2006-01-201-4/+4
| | | | | | | by user hifujava on javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@552 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build breakage on 10.3 after last checkinKenneth Russel2006-01-191-0/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@551 232f8b59-042b-4e1e-8c03-345bb8c30851
* add support for availability macros and use them to substitue values in case ↵Gerard Ziemski2006-01-181-11/+19
| | | | | | of nondefined ones git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@550 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-181-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@549 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed build breakage after last checkin; silenced compiler warning,Kenneth Russel2006-01-181-11/+6
| | | | | | | minor cleanup git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@548 232f8b59-042b-4e1e-8c03-345bb8c30851
* clamp the passed in values to their max if necessary - fixes ↵Gerard Ziemski2006-01-181-4/+118
| | | | | | InfiniteShadowVolumes demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@547 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-171-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@546 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated links to forumsKenneth Russel2006-01-161-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@545 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added link to GlueGen project in "Useful Links" sectionKenneth Russel2006-01-161-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@544 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added link to GlueGen project from JOGL docsKenneth Russel2006-01-161-2/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@543 232f8b59-042b-4e1e-8c03-345bb8c30851
* Moved GlueGen out of the JOGL workspace and into its own project. Kenneth Russel2006-01-1576-20803/+85
| | | | | | | | | | | | | | | | 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
* Updated HowToBuild.html to reflect build.xml changesKenneth Russel2006-01-141-9/+8
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@541 232f8b59-042b-4e1e-8c03-345bb8c30851
* Revised JOGL's build.xml to look more like JOAL's with autodetection Kenneth Russel2006-01-142-230/+289
| | | | | | | | | | | | 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