summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Updated nightly buildgfxadmin2006-01-131-19/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@539 232f8b59-042b-4e1e-8c03-345bb8c30851
* Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved Kenneth Russel2006-01-1341-130/+236
| | | | | | | | | | | 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
* Updated nightly buildgfxadmin2006-01-121-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@537 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-111-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@536 232f8b59-042b-4e1e-8c03-345bb8c30851
* More attribution in READMEKenneth Russel2006-01-111-1/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@535 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 133: GLEventListener.init() can be missed Kenneth Russel2006-01-111-0/+11
| | | | | | | | Added caveat in documentation about adding GLEventListener before GLAutoDrawable is shown. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@534 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 84: glReadPixels does not commit results Kenneth Russel2006-01-111-1/+1
| | | | | | | | | | Changed use of JNI_ABORT to 0 in ReleasePrimitiveArrayCritical calls. This should not change the behavior of the generated glue code in any way, at least on the HotSpot JVM, but is being done for completeness of the GlueGen tool. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@533 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added LICENSE.txt and README.txt containing mostly acknowledgmentsKenneth Russel2006-01-112-0/+173
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@532 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem with X11ExternalGLContext pointed out by m.engelhardt onKenneth Russel2006-01-101-0/+25
| | | | | | | javagaming.org forums which showed up when using JOGL with SWT git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@531 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-101-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@530 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed issue with vertical flip of image pointed out by Chris CampbellKenneth Russel2006-01-091-1/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@529 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-091-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@528 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made JOGLAppletLauncher.getTimestamp() private; was accidentally Kenneth Russel2006-01-091-1/+1
| | | | | | | public git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@527 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Screenshot utility class. Fast Targa screenshot contributed by Kenneth Russel2006-01-091-0/+208
| | | | | | | Carsten Weisse of Bytonic Software. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@526 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added output support to TGAImage, SGIImage and newly-renamed DDSImage Kenneth Russel2006-01-097-114/+1106
| | | | | | | | | | | classes. Added support to TextureIO for writing textures back to disk via new TextureWriter plug-in interface. Added TextureConvert demo which shows how an application might convert between arbitrary file formats using these APIs, including automatic compression to DXT3 format when available. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@525 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-081-19/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@524 232f8b59-042b-4e1e-8c03-345bb8c30851
* Reorganized and added code in TextureIO and Texture classes to support Kenneth Russel2006-01-072-136/+297
| | | | | | | | | | | | cubemap generation as well as complete replacement of the texture's image, not just a sub-image. Added setTexParameteri to provide control over things like the GL_TEXTURE_WRAP_ modes. Ported JOGL demos to use new TextureIO class instead of TGAImage and ImageIO directly. Fixed longstanding bug in ExaminerViewer's setting up of inverse rotation causing errors in loading of uffizi cubemap. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@523 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-01-071-22/+22
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@522 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed mipmap handling in TextureIO and associated classes. Top-level Kenneth Russel2006-01-074-170/+376
| | | | | | | | | | mipmap argument is now a boolean indicating whether mipmaps should be generated or used if available. Added mipmap argument to newTexture APIs. Added support for reading mipmaps from files which support them, in particular DDS files. Updated TestTexture demo to generate mipmaps. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@521 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed how Texture returns texture coordinates for both the entire Kenneth Russel2006-01-062-85/+117
| | | | | | | | image as well as a sub-image. Added TextureCoords class. Updated TestTexture demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@520 232f8b59-042b-4e1e-8c03-345bb8c30851
* Incorporated TextureIO texture loader (and, eventually, writer) and Kenneth Russel2006-01-068-0/+3273
| | | | | | | | | | | | | | | associated classes for being able to easily read in and display textures with OpenGL. Collaboration with Chris Campbell from the Java2D team. Supports multiple file formats both through ImageIO as well as custom texture loaders for DDS, SGI and TGA files. Writing of textures back to disk is not yet implemented. Reading of mipmaps from files which support it as well as autogeneration of mipmaps are not yet well supported and usage of mipmap arguments in the API still need to be rethought. Added TestTexture demo to jogl-demos workspace to show simple usage. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@519 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
* Updated nightly buildgfxadmin2006-01-051-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@517 232f8b59-042b-4e1e-8c03-345bb8c30851