aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated nightly buildgfxadmin2007-01-101-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1078 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-091-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1077 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-081-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1076 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 259: need a copy context Kenneth Russel2007-01-076-0/+84
| | | | | | | | | | Added and specified GLContext.copy() and supplied implementations on Windows, X11 and Mac OS X platforms. New code is untested at this time. May need to make subsequent changes on X11 and Mac platforms where new code has not been compiled yet. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1075 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-071-44/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1074 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added new FlyingText demo to illustrate more advanced usage of the Kenneth Russel2007-01-072-15/+34
| | | | | | | | | | | TextRenderer class; displays dynamically rotated, translated and colored text. Changed how setSmoothing() is handled by the TextureRenderer and stopped disabling smoothing in the TextRenderer. For the time being, not exposing this flag in that class to keep the API simple. Changed TextRenderer to also push/pop the texture matrix. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1073 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-061-44/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1072 232f8b59-042b-4e1e-8c03-345bb8c30851
* With help from Chris Campbell, fixed incredibly stupid bug on my part Kenneth Russel2007-01-063-1/+47
| | | | | | | | | | | | | | | | where the new Java 2D TextureRenderer was destroying and re-creating the OpenGL texture every frame. This was why the Java 2D Overlay class was so expensive, and why the TextRenderer wasn't as fast as it seemed it should be. Fixed bugs in all of the Java 2D demos which were covered up by this implicit sync, as well as in the TextRenderer class itself where it was missing a key sync operation. Added code to the Texture.updateSubImage() implementation to clip the incoming rectangle to the bounds of the input data and texture, to keep OpenGL from dropping almost-valid updates on the floor. Ran all of the Java 2D integration demos to verify these fixes. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1071 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-051-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1070 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Shwup; thanks to Rex Guo for the submissionKenneth Russel2007-01-042-20/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1069 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-041-44/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1068 232f8b59-042b-4e1e-8c03-345bb8c30851
* With extensive help from Phil Race and Chris Campbell from the Java 2D Kenneth Russel2007-01-049-5/+1476
| | | | | | | | | | | | | | | | | | | | | | team, added a TextRenderer class which enables high-performance rendering of bitmapped Java 2D fonts, with full Unicode support, into arbitrary OpenGL drawables using a simple API. Builds on top of the TextureRenderer class and its associated functionality; added createAlphaOnlyRenderer() and other methods to enable the TextRenderer. Caches rendering results on a string-by-string basis in an OpenGL texture using a fully automatic least-recently-used algorithm for good efficiency when rendering the same string or strings multiple times. Uses a rectangle packing algorithm, currently housed in com.sun.opengl.impl.packrect, for managing the positions of cached strings on a larger OpenGL texture to avoid OpenGL pipeline state changes. Added a TestTextRenderer demo which simply adds a moving text string and frames-per-second counter to the Gears demo; more sophisticated examples to come. (Some commented-out debugging code is being temporarily left in the new demo, to be removed in the next checkin, in order to have it in the version history.) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1067 232f8b59-042b-4e1e-8c03-345bb8c30851
* Moved J2DTextureRenderer and J2DOverlay into their own sub-package and Kenneth Russel2007-01-043-12/+12
| | | | | | | | | dropped the prefixes on the suggestion of Chris Campbell. No other changes to these classes. Added com.sun.opengl.util.j2d to the javadoc generation. Updated demos. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1066 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added getImage() and simpler drawOrthoRect() helper method on Kenneth Russel2007-01-041-0/+25
| | | | | | | suggestion of Chris Campbell git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1065 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-031-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1064 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixes for building with Visual Studio .NET 2003 (Service Pack 1)Kenneth Russel2007-01-033-6/+6
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1063 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-021-41/+41
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1062 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2007-01-011-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1061 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-311-44/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1060 232f8b59-042b-4e1e-8c03-345bb8c30851
* On request from James Gosling and others, added a J2DTextureRenderer Kenneth Russel2006-12-302-0/+559
| | | | | | | | | | | | | | | | | | class to com.sun.opengl.util to make it easier to render into OpenGL textures using Java 2D. Added convenience methods to this class to make it easy to draw sub-rectangles of the resulting texture to the screen. Added a J2DOverlay class which acts like a Java 2D-based heads-up display for an arbitrary GLDrawable, tracking its size and making it easier to render the entire contents of the HUD. There appear to be performance issues with the J2DOverlay class as the window gets large, at least on older hardware, as it allocates very large OpenGL textures internally. Added tests for both the J2DTextureRenderer and J2DOverlay classes which have similar functionality but different implementation approaches and different performance characteristics. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1059 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-301-44/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1058 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 257: RFE: Texture.updateSubImage(x,y,w,h) Kenneth Russel2006-12-292-143/+233
| | | | | | | | | | | | | | | | | | | | Changed TextureIO's BufferedImage code paths to no longer copy the data in order to correct for the vertical flip needed between Java 2D's and OpenGL's coordinate systems, but instead to correct for this using a flip of the texture coordinates. This was needed to change the semantics for the BufferedImage from "by-copy" to "by-reference". Made the custom BufferedImage copying code path occur lazily upon a call to TextureData.getBuffer(). Added support for the GL_EXT_abgr extension but disabled the code path currently as it appears there may be bugs in its support on some drivers. Added computation of row width for all BufferedImage types with help and suggestions from Chris Campbell. Improved handling of some BufferedImage types like TYPE_INT_ARGB and TYPE_4BYTE_ABGR. Added Texture.updateSubImage() taking a source rectangle as well as a destination coordinate. Wrote TestSubImage test to show use of the new API which exercises all BufferedImage types. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1057 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-291-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1056 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-281-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1055 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-271-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1054 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-261-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1053 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-251-41/+41
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1052 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-241-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1051 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-231-42/+42
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1050 232f8b59-042b-4e1e-8c03-345bb8c30851
* Reverted JOGL and JOAL build.xml files to do nightly builds andKenneth Russel2006-12-231-2/+2
| | | | | | | updated version numbers git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1049 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-221-30/+30
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1048 232f8b59-042b-4e1e-8c03-345bb8c30851
* Worked around breakage of JOGL with 5.0u10: see Sun bug IDs Kenneth Russel2006-12-222-1/+5
| | | | | | | 6504460 and 6333613 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1047 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-221-32/+32
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1046 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made rule for text file inclusion in source archive more genericKenneth Russel2006-12-221-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1045 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added note about Windows/AMD64 binariesKenneth Russel2006-12-221-0/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1044 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added note about VBO-related optimizations and Kenneth Russel2006-12-221-8/+17
| | | | | | | -Dsun.java2d.noddraw=true support in JOGLAppletLauncher git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1043 232f8b59-042b-4e1e-8c03-345bb8c30851
* Include changelog in source archives and developer bundles, and Kenneth Russel2006-12-221-1/+2
| | | | | | | copyright in source archives git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1042 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added changelog for 1.1.0Kenneth Russel2006-12-221-0/+40
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1041 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated javadoc for JOGLAppletLauncher to document JOAL support, new Kenneth Russel2006-12-221-21/+46
| | | | | | | | library and native library jar structure, and to remove comment on bug with multiple JOGL applets on the same web page, which has been fixed git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1040 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added support for new architectures -- although with the lack of a Kenneth Russel2006-12-221-2/+9
| | | | | | | 64-bit Java Plug-In they will have no effect for now git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1039 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-211-39/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1038 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed to do a release build of 1.1.0-rc1 tonight, assuming buildKenneth Russel2006-12-211-1/+1
| | | | | | | succeeds git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1037 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made changes to build.xml, joglversion, and joglRIversion files to beKenneth Russel2006-12-213-13/+31
| | | | | | | able to do a release build using the nightly build system git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1036 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added parameter validation for stereo bit in particular to fix problemKenneth Russel2006-12-201-31/+25
| | | | | | | | | | | with Java 3D QueryProperties demo; unclear, however, if that demo is returning correct results, as it always seems to report that stereo is available when it seems it isn't. Probably need to use new getChosenGLCapabilities() method to implement this more correctly in the Java 3D/JOGL pipeline. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1035 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Windows/AMD64 binaries to dist buildKenneth Russel2006-12-201-8/+38
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1034 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem in JOGLAppletLauncher where if two different applets Kenneth Russel2006-12-201-7/+37
| | | | | | | | | | (with different archive parameters, meaning two different class loaders in the Sun applet implementation) loaded from the same web site both used JOGL we would get an UnsatisfiedLinkError; now uniquify the local install directory based on a hash of the archive tag git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1033 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem on Win64 where manifest was not being created forKenneth Russel2006-12-201-1/+9
| | | | | | | jogl_cg.dll git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1032 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-201-39/+39
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1031 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed accidental inclusion of GlueGen runtime classes from distKenneth Russel2006-12-201-1/+1
| | | | | | | build of jogl.jar git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1030 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2006-12-191-39/+39
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1029 232f8b59-042b-4e1e-8c03-345bb8c30851