aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/utils
Commit message (Collapse)AuthorAgeFilesLines
* Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved Kenneth Russel2006-01-1332-26460/+0
| | | | | | | | | | | 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 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
* 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
* 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
* 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 bug in JOGLAppletLauncher found by Travis Bryson whereKenneth Russel2006-01-051-1/+1
| | | | | | | | Solaris/x86 platform was downloading Solaris/SPARC native libraries (cut-and-paste bug) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@516 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed javadoc for JOGLAppletLauncher againKenneth Russel2006-01-041-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@515 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed javadoc for JOGLAppletLauncherKenneth Russel2006-01-041-8/+8
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@514 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated version string to JSR-231 beta 2Kenneth Russel2006-01-031-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@512 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed dead codeKenneth Russel2005-12-011-0/+702
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@467 232f8b59-042b-4e1e-8c03-345bb8c30851
* Merged JSR-231 branch on to the main JOGL trunk. The main trunk now Kenneth Russel2005-10-2420-0/+20887
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