summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Issue 199: Incorporate tile rendering library Kenneth Russel2006-02-021-0/+146
| | | | | | | | | | | 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-demos/trunk@171 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed potential problem in TextureConvert demo where it wasn't Kenneth Russel2006-02-012-7/+9
| | | | | | | | | explicitly requesting a single-buffered pbuffer. Exposed gear rendering routine from Gears demo as public static in anticipation of forthcoming tiled rendering demo. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@170 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Issue number: Various -- I will update themgfxadmin2006-01-311-0/+58
| | | | | | | | | | | | | | | | | | | Obtained from: Submitted by: Travis Reviewed by: Committing in . Added Files: src/demos/misc/VersionInfo.java This example uses the java.lang.Package API to query the version and implementation information from the jogl.jar manifest. We will be bumping the manifest info for subsequent releases. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@169 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 198: Add GLCapsTableDemo Kenneth Russel2006-01-301-0/+322
| | | | | | | | Added GLCapsTableDemo by user Ka-El from javagaming.org forums with slight modifications by kbr. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@168 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 173: Adjust gamma, brightness and contrast Kenneth Russel2006-01-221-0/+99
| | | | | | | | | | | | | 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-demos/trunk@167 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed temporary breakage of JOGL applet test due to rename of Kenneth Russel2006-01-131-1/+1
| | | | | | | com.sun.opengl.utils package git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@166 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Renamed com.sun.opengl.utils to com.sun.opengl.util. Moved Kenneth Russel2006-01-1354-89/+54
| | | | | | | | | | | 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-demos/trunk@165 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added output support to TGAImage, SGIImage and newly-renamed DDSImage Kenneth Russel2006-01-093-19/+108
| | | | | | | | | | | 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-demos/trunk@164 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Reorganized and added code in TextureIO and Texture classes to support Kenneth Russel2006-01-077-275/+188
| | | | | | | | | | | | 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-demos/trunk@163 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed mipmap handling in TextureIO and associated classes. Top-level Kenneth Russel2006-01-072-1/+1
| | | | | | | | | | 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-demos/trunk@162 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Changed how Texture returns texture coordinates for both the entire Kenneth Russel2006-01-061-6/+5
| | | | | | | | 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-demos/trunk@161 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Deleted old copies of image readers from demos.util now that they have Kenneth Russel2006-01-065-1291/+2
| | | | | | | moved to com.sun.opengl.utils and updated demos git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@160 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Incorporated TextureIO texture loader (and, eventually, writer) and Kenneth Russel2006-01-067-0/+203
| | | | | | | | | | | | | | | 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-demos/trunk@159 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Another fix for JOGL applet testKenneth Russel2006-01-041-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@158 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed JOGL applet testKenneth Russel2006-01-041-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@157 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added JOGL Applet test pageKenneth Russel2006-01-042-0/+87
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@156 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Submitted by: TravisTravis Bryson2005-12-212-2/+2
| | | | | | | | | | | | | | | Modified Files: src/demos/cg/runtime_ogl/cgGL_vertex_example.java src/demos/cg/runtime_ogl_vertex_fragment/runtime_ogl_vertex_fragment.java Replaced old DrawableFactory factory API with new public GLCanvas constructor. So the CG demos will build now. Added CG demos to nightly build so starting tonight the built bits will be added to the nightlies posted on java.net git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@155 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Removed code inadvertently checked in along with Kenneth Russel2005-12-061-2/+0
| | | | | | | MacOSXOnscreenGLContext git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@154 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added MacOSXExternalGLContext support as suggested by Billy BiggsKenneth Russel2005-12-051-0/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@153 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Removed dead codeKenneth Russel2005-12-011-0/+34
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@152 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Removed dead codeKenneth Russel2005-12-011-2/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@151 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added copyright notice and attribution to XTrans demoKenneth Russel2005-11-2816-27/+699
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@150 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added GLCapabilitiesChooser argument (currently ignored) to Kenneth Russel2005-11-273-5/+6
| | | | | | | | GLDrawableFactory.createGLPbuffer() based on JSR-231 expert group's feedback. Updated GLJPanel and demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@149 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added workaround for problem on Mac OS X 10.4.3 where could not shareKenneth Russel2005-11-132-2/+7
| | | | | | | | | | | | | | | textures and display lists between a pbuffer and an on-screen OpenGL context; now specify pbuffer support for all created contexts. Tested on 10.3.9 and 10.4.3. See 4129317 on Apple's Bug Reporter for first report of this bug. Added workaround for older OpenGL version strings being reported with older graphics cards on OS X; now attempt to parse vendor-specific version string. Added workaround for ProceduralTexturePhysics demo on OS X where pbuffer's rendering results were not being flushed each frame; this demo is now working properly on 10.4.3 with recent hardware. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@148 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 169: Deprecated Swing calls in ScreenResSelector.javaKenneth Russel2005-11-101-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@147 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Made public API changes discussed with expert group to make core JOGLKenneth Russel2005-11-0923-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | API more toolkit-agnostic: 1. Decoupled instantiation of GLCanvas and GLJPanel objects from the GLDrawableFactory. GLCanvas and GLJPanel's constructors are now public and the associated factory methods have been removed from the GLDrawableFactory. 2. Changed the signature of GLDrawableFactory. chooseGraphicsConfiguration() to accept and return marker AbstractGraphicsDevice and AbstractGraphicsConfiguration interfaces, respectively. Defined new AWTGraphicsDevice and AWTGraphicsConfiguration wrapper classes simply wrapping the associated objects. An SWT port could define similar wrapper classes for its data types. 3. Allowed overriding of the specific GLDrawableFactory subclass instantiated through GLDrawableFactory.getFactory() by setting the system property "opengl.factory.class.name". For example, an SWT port might swap itself in by specifying the following system property on the command line: -Dopengl.factory.class.name=com.ibm.swt.opengl.SWTGLDrawableFactory Tested on Solaris/SPARC. Also fixed breakage on Solaris/SPARC due to recent split of jogl native library into jogl and jogl_awt pieces. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@146 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated JOGL demos to point to new JSR-231 beta web-startable binaries Kenneth Russel2005-10-242-11/+78
| | | | | | | | | | on download.java.net. Added XTrans demo to jogl-demos web page. Updated text on web pages and added text to Users' Guide on how to perform a developers' installation and how to use JOGL from Java Web Start. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@145 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Merged JSR-231 branch on to the main JOGL trunk. The main trunk now Kenneth Russel2005-10-2471-6349/+7764
| | | | | | | | 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-demos/trunk@144 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added screenshots of new Java2D/JOGL interoperability demo on Solaris Kenneth Russel2005-09-154-0/+0
| | | | | | | and Windows git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@131 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in 231 demo JNLPKenneth Russel2005-09-102-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@127 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Demo of Java2D/JOGL integration (as well as first public binary ofKenneth Russel2005-09-105-0/+49
| | | | | | | JSR-231 APIs) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@126 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated webstart files to JOGL 1.1.1Kenneth Russel2005-07-123-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@101 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed Issue 168: Add support for transparency in GLJPanel Kenneth Russel2005-06-302-12/+62
| | | | | | | | | | | Obey setOpaque() when selecting buffered image type. User must still request alpha bits in the GLCapabilities. Not supported on all back-end renderers; for example, Microsoft GDI renderer does not implement alpha bits when rendering to DIB sections. Added examples of use in JGears and JRefract demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@96 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Upgraded webstart jars to 1.1 release. Kenneth Russel2005-06-243-0/+0
| | | | | | | Added jogl-1-1.jnlp extension JNLP file for authors to reference. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@94 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed problem with fullscreen display mode selection on Linux with JDKKenneth Russel2005-06-161-2/+3
| | | | | | | 1.6 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@92 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added comment about -Dsun.java2d.noddraw=true to fullscreen demosKenneth Russel2005-06-063-3/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@91 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added full-screen demos and supporting ScreenResSelector classKenneth Russel2005-06-064-0/+1566
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@90 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Updated jogl and jogl-demos home pages to point at new forumsKenneth Russel2005-06-061-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@89 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Got rid of useless copy of texture data pointed out by tomas on Kenneth Russel2005-06-052-31/+28
| | | | | | | javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@88 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Removed all spec elements from JNLP tags on advice of tusaki on Kenneth Russel2005-05-2814-28/+14
| | | | | | | javagaming.org forums git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@87 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in HDR demo with Java Web StartKenneth Russel2005-05-271-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@86 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Test fix for HDR demo via Java Web StartKenneth Russel2005-05-271-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@85 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added Solaris/x86 to platforms on jogl-demos pageKenneth Russel2005-05-271-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@84 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Upgraded webstart binaries to 1.1 b12; updated HTML and JavaDoc; added Kenneth Russel2005-05-276-0/+96
| | | | | | | HDR demo git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@83 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Javadoc fixesKenneth Russel2005-05-2717-17/+17
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@82 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Fixed bug in floating-point pbuffer support on Linux and made HDR demoKenneth Russel2005-05-271-0/+3
| | | | | | | better-behaved on Linux git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@81 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added Java/JOGL port of NVidia HDR demo.Kenneth Russel2005-05-2726-1/+12107
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@80 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Enabled sync-to-vertical-refresh for ProceduralTexturePhysics demoKenneth Russel2005-05-241-0/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@79 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added constructor taking InputStreamKenneth Russel2005-05-231-1/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@78 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4
* Added PrintExt demo to print all GL extensionsKenneth Russel2005-05-191-0/+69
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/../svn-server-sync/jogl-demos/trunk@77 3298f667-5e0e-4b4a-8ed4-a3559d26a5f4