aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Issue 180: Improve garbage generationKenneth Russel2005-11-101-4/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@432 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made public API changes discussed with expert group to make core JOGLKenneth Russel2005-11-0912-114/+332
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/trunk@431 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made X11GLDrawableFactory.lockToolkit() and unlockToolkit() non-staticKenneth Russel2005-11-093-10/+14
| | | | | | | | so they can be overridden in subclasses. Fixed build breakage from last checkin. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@430 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored JOGL's use of the JAWT to enable it to be more lazily Kenneth Russel2005-11-0919-176/+202
| | | | | | | | | | | | | | | | | | loaded. Separated out AWT-specific native code into a new jogl_awt native library on all platforms. Added a static helper method to the JAWT class to fetch the JAWT which is now called by all users. Added a new NativeLibLoader entry point to load the native code for the AWT implementation. Renamed the X11 platform's "lockAWT" and "unlockAWT" methods to "lockToolkit" and "unlockToolkit", respectively. In order to change this behavior only two methods in X11GLDrawableFactory need to be overridden. (During the writing of this checkin comment it was noted that these methods are currently static, but that will be fixed in a subsequent checkin.) Added the new jogl_awt native library to the the "dist" target's error checking code. Tested on Windows; more testing, including build testing, is needed on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@429 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-091-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@428 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added error checking for "dist" builds to validate that all expected Kenneth Russel2005-11-091-2/+85
| | | | | | | files are in place before proceeding with the dist target. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@427 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored computations of sizes of data types and offsets of fields Kenneth Russel2005-11-0932-253/+653
| | | | | | | | | | | | | | | | in data structures in GlueGen to be performed lazily via SizeThunks. The concrete size of primitive data types is computed only by passing a MachineDescription into one of these thunks. Changed generated glue code for struct accessors to delegate their instantiation and field access to specialized 32- or 64-bit versions. This should allow one jar file to support both 32-bit and 64-bit CPUs; the native code is of course still specialized for the processor and data model. Changed default build to generate both 32-bit and 64-bit accessors for all generated data structures. Tested on Windows; more testing, including build testing, is needed on other platforms. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@426 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-081-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@425 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added copy of and link to Sun Contributor AgreementKenneth Russel2005-11-072-0/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@424 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-071-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@423 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-061-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@422 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-051-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@421 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-041-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@420 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-031-14/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@419 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-021-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@418 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed Javadoc footer to bottomKenneth Russel2005-11-021-5/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@417 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added Javadoc footer with copyright and license informationKenneth Russel2005-11-021-5/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@416 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-11-011-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@415 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-10-311-15/+15
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@414 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-10-301-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@413 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-10-291-18/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@412 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed RI-specific method descriptions from addNotify(), update(), Kenneth Russel2005-10-282-23/+60
| | | | | | | | | etc. based on feedback from pepijnve on the javagaming.org forums. Added documentation on what subclasses must do if these methods are overridden as in Java3D specification. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@411 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-10-281-16/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@410 232f8b59-042b-4e1e-8c03-345bb8c30851
* Corrected JSR-231 current extension JNLP fileKenneth Russel2005-10-281-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@409 232f8b59-042b-4e1e-8c03-345bb8c30851
* Made spec changes suggested by Chris Campbell on javagaming.org forumsKenneth Russel2005-10-282-7/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@408 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated spec based on comments from rexguo on javagaming.org forumsKenneth Russel2005-10-283-5/+47
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@407 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-10-271-20/+20
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@406 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2005-10-261-2/+60
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@405 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added nightly build templategfxadmin2005-10-261-0/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@404 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated JOGL demos to point to new JSR-231 beta web-startable binaries Kenneth Russel2005-10-242-9/+96
| | | | | | | | | | 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/trunk@403 232f8b59-042b-4e1e-8c03-345bb8c30851
* Merged JSR-231 branch on to the main JOGL trunk. The main trunk now Kenneth Russel2005-10-24294-13496/+15067
| | | | | | | | 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
* show macosxfat as one of the available targetsGerard Ziemski2005-10-071-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@393 232f8b59-042b-4e1e-8c03-345bb8c30851
* add support for Mac OS X fat library (ppc and i386)Gerard Ziemski2005-10-062-1/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@392 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added FAQs on common errors building JOGLKenneth Russel2005-09-301-0/+19
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@389 232f8b59-042b-4e1e-8c03-345bb8c30851
* Demo of Java2D/JOGL integration (as well as first public binary ofKenneth Russel2005-09-107-0/+36
| | | | | | | JSR-231 APIs) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@370 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed JavaOne HTMLKenneth Russel2005-07-231-207/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@336 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated webstart files to JOGL 1.1.1Kenneth Russel2005-07-1212-0/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@322 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated version string to 1.1.1 for transparency support in GLJPanelKenneth Russel2005-06-301-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@315 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 168: Add support for transparency in GLJPanel Kenneth Russel2005-06-3015-62/+30
| | | | | | | | | | | 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/trunk@314 232f8b59-042b-4e1e-8c03-345bb8c30851
* Upgraded webstart jars to 1.1 release. Kenneth Russel2005-06-2413-0/+36
| | | | | | | 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/trunk@310 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added links to version history / release information threadsKenneth Russel2005-06-231-0/+12
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@309 232f8b59-042b-4e1e-8c03-345bb8c30851
* Increased version string to 1.1.0 for final buildKenneth Russel2005-06-231-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@308 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 159: Document GLCanvas and lightweight interactions Kenneth Russel2005-06-231-1/+91
| | | | | | | | | Added documentation about JPopupMenu and tool tip interactions with GLCanvas, making GLCanvas resize properly in more situations, and sun.awt.noerasebackground property. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@307 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 166: Memory leak with ATI Mobility Radeon 9700 Kenneth Russel2005-06-223-11/+52
| | | | | | | | | | | | | | | Worked around memory leak in ATI's OpenGL drivers by adding system property -Djogl.GLContext.nofree which users can specify on the command line. There is no good general-purpose workaround for this bug which works well on all hardware and in all kinds of applications. Issues may remain if this workaround is used and if the GLCanvas is removed and re-added to its parent container. Use at your own risk. Also cleaned up Windows ChoosePixelFormat code path; made sure PIXELFORMATDESCRIPTOR was completely filled out. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@306 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed Issue 165: GLUT 3.8 fixes bugs in glutStrokeLength and adds ↵Kenneth Russel2005-06-221-2/+10
| | | | | | | | | | | glutStrokeLengthf Added glutStrokeWidthf and glutStrokeLengthf and implemented glutStrokeWidth and glutStrokeLength in terms of them. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@305 232f8b59-042b-4e1e-8c03-345bb8c30851
* Correction to JavaOne HTMLKenneth Russel2005-06-201-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@304 232f8b59-042b-4e1e-8c03-345bb8c30851
* Correction to JavaOne HTMLKenneth Russel2005-06-201-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@303 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added JavaOne HTMLKenneth Russel2005-06-201-0/+202
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@302 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem with temporary (or otherwise) resizes of GLJPanel to Kenneth Russel2005-06-171-0/+7
| | | | | | | width == 0 or height == 0 git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@301 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated vc7.root property declaration and documentationKenneth Russel2005-06-131-4/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@300 232f8b59-042b-4e1e-8c03-345bb8c30851