aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix property handling ; Adding jnlp. aliasing for propertiesSven Gothel2009-07-0321-92/+98
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2016 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-07-021-14/+29
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2015 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-07-021-17/+37
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2014 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-07-011-9/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2013 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-07-011-39/+14
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2012 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-07-011-38/+38
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2011 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fix win32 make batchSven Gothel2009-07-011-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2010 232f8b59-042b-4e1e-8c03-345bb8c30851
* - Fixed: JOGL Cg Dependencies ..Sven Gothel2009-07-019-94/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Cg classes reside in jogl.cg.jar - Restrict native Cg library dependency only to the jogl cg library, which is loaded from the CgGL class only. - Tested Cg demos with and w/o Cg installation, tested regular GL demos with and w/o Cg installation. (Linux & MacOSX) - jogl/etc/profile.jogl - Changed invocation: $0 <JOGL-PROFILE> [jogl-build-dir] - Autodetects if used from within a autobuild directory - Added it to the autobuild zip file - Fixed: NativeWindow X11GraphicsScreen, adding missing Toolkit locks - Set RI to true ! git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2009 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-301-47/+37
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2008 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-291-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2007 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-281-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2006 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-271-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2005 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-261-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2004 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-251-41/+46
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2003 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-241-46/+41
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2002 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-221-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2001 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-211-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@2000 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-201-44/+44
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1999 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-191-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1998 232f8b59-042b-4e1e-8c03-345bb8c30851
* Upgraded latest official build to 1.1.1aKenneth Russel2009-06-191-2/+2
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1996 232f8b59-042b-4e1e-8c03-345bb8c30851
* - Removed useless GLX synchronized hacks in X11GLXGraphicsConfigurationSven Gothel2009-06-182-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Multithreading / Locking .. It turns out that there exist platforms with a buggy thread safe OpenGL/GLX/.. implementation. E.g. Linux x86_64, NV 185.18.14 where 1/6 attempts of the test case java -Djava.awt.headless=true demos.es2.RedSquare -GL2 -GL2 -GL2 -GL2 will result in: C [libGL.so.1+0x5c08a] glXGetFBConfigAttrib+0x40a [error occurred during error reporting (printing native stack), id 0xb] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.sun.opengl.impl.x11.glx.GLX.glXGetFBConfigAttrib1(JJILjava/lang/Object;I)I+0 j com.sun.opengl.impl.x11.glx.GLX.glXGetFBConfigAttrib(JJI[II)I+67 j com.sun.opengl.impl.x11.glx.X11GLXGraphicsConfiguration.glXGetFBConfig(JJI[II)I+24 In these cases, you can set the system property nativewindow.locking=true to always use the generic reentrance capable LockingNativeWindowFactory implementation as a last resort. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1992 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fix NEWT static singleton initSven Gothel2009-06-184-36/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1991 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-181-43/+43
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1990 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored static initialization to let the JVM ensure it only runsKenneth Russel2009-06-181-9/+3
| | | | | | | | once; don't remember the JVM static initialization rules which probably define why it was getting called twice git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1989 232f8b59-042b-4e1e-8c03-345bb8c30851
* - Fix: X11 locking Sven Gothel2009-06-1826-232/+361
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current thread default display or the given display is being used, hence it is no more required to use a ToolkitLock for X11 without AWT. Removed X11 ToolkitLock in case of X11 without AWT, which is being detected with the absence of the classes java.awt.Component _AND_ javax.media.nativewindow.awt.AWTGraphicsDevice or with the system property java.awt.headless=true Only in the Java2D/Swing case, one 'leaking' Display is created within canCreateGLPbuffer(). - Workaround for Hotsport bugs #4395095, #6852404 4395095 JNI access to java.nio DirectBuffer constructor/accessor 6852404 Race condition in JNI Direct Buffer access and creation routines - Added build.xml -Dbuild.noarchives=true property to skip the time consuming creation of zip archives. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1988 232f8b59-042b-4e1e-8c03-345bb8c30851
* Reverted back to nightly build numbering scheme after 2.0-beta1Kenneth Russel2009-06-181-6/+6
| | | | | | | snapshot (binaries not yet tested, may need to regenerate this build) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1985 232f8b59-042b-4e1e-8c03-345bb8c30851
* Thanks to Sven's changes to make each platform build a platform-Kenneth Russel2009-06-183-1178/+0
| | | | | | | | | | independent jogl.jar, the "dist" target can now be completely eliminated from the various build.xmls. Removed this to achieve a significant simplification. The nightly build scripts now take care of the needed copying. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1984 232f8b59-042b-4e1e-8c03-345bb8c30851
* Updated nightly buildgfxadmin2009-06-181-55/+45
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1983 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixes for javadoc targetsKenneth Russel2009-06-182-1/+9
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1982 232f8b59-042b-4e1e-8c03-345bb8c30851
* Added generation of version.txt files to normal build paths of jogl,Kenneth Russel2009-06-174-41/+62
| | | | | | | | nativewindow, and newt. Fixed detection of whether or not RI build is in progress and thereby format of version number. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1981 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed JOGL build number to 2.0-beta1 in preparation for firstKenneth Russel2009-06-171-6/+6
| | | | | | | official prerelease build git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1980 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed problem with building of source archive when rootrel.build isKenneth Russel2009-06-171-2/+10
| | | | | | | | | | | set, although inevitably this target can not know which directories to exclude if multiple rootrel.build targets are used within the same working copy, given that we don't want to specialize it to know exactly which top-level files and directories are present. Improved "clean" target to actually delete the entire build directory. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1979 232f8b59-042b-4e1e-8c03-345bb8c30851
* Corrected non-C syntax. Worked around ancient compiler/OS onKenneth Russel2009-06-172-27/+55
| | | | | | | Solaris/SPARC nightly build machines. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1978 232f8b59-042b-4e1e-8c03-345bb8c30851
* - Fix: Native X11 Display deadlock (Linux x86_64 32bit on 64bit)Sven Gothel2009-06-175-174/+87
| | | | | | | | | | | | | | | | | | | It turns out that under some circumstances, e.g. >3 threads within initialization time, the static X11Display usage result in a native deadlock within glXQueryServerString(). The call never returned. May be This happend even with NativeWindowFactory.getDefaultFactory().getToolkitLock().lock(); Removed X11Util.getStaticDefaultDisplay() This allows us to remove the ToolkitLock around these segments, due to a thread local X11Display utilization. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1977 232f8b59-042b-4e1e-8c03-345bb8c30851
* - Add: GLProfile.get(name) return default if name=="GL" as well (or if null)Sven Gothel2009-06-1728-934/+1548
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add: NEWT pumpMessages/dispatchMessages - Handled by the Display implementation for all windows - Windows .. OK - MacOSX .. OK - X11 .. OK - Added Atom Property handling to attach java window object to window - Removed the eventMask for dispatching messages, since dispatching is for all windows now. (Wasn't impl. for all platforms anyways) - All init static code will funnel in the Display.initSingletion(), to ensure a proper init order for all platforms. - Display creation is unique for (name,thread). Handling a TLS mapping of display-names to Displays. - GLWindow: autoSwapBufferMode and eventHandlerMode are static members - Tested with experimental tagged GLWindow.setRunPumpMessages()/runCurrentThreadPumpMessage(), 1 thread - 4 windows, etc .. java demos.es2.RedSquare -1thread -onepump -GL2 -GL2 -GL2 -GL2 No benefit .. However .. the implementation is more correct now, due to the display/current-thread message pumping. - Fix: Window.sendMouseEvent() bounds check - Fix: MacWindow has proper nsView locking now, local to the window instance. locked in lockSurface besides general window manipulation. - Fix: JAWT utilized JAWTUtil.init() to init libraries - NativeLibLoaderBase.loadNativeWindow("awt") call was missing. (Visible on MacOSX + AWT) - Fix: GLXUtil proper locking - Fix: X11Util proper locking git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1976 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed more non-C syntax causing breakage with Solaris compilerKenneth Russel2009-06-171-10/+18
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1975 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed more non-C syntax causing breakage with Solaris compilerKenneth Russel2009-06-171-3/+5
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1974 232f8b59-042b-4e1e-8c03-345bb8c30851
* Fixed non-C syntax causing breakage with Solaris compilerKenneth Russel2009-06-171-1/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1973 232f8b59-042b-4e1e-8c03-345bb8c30851
* More build fixes for nativewindow and Newt on solaris-sparcv9 and solaris-amd64Kenneth Russel2009-06-172-4/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1972 232f8b59-042b-4e1e-8c03-345bb8c30851
* Build fixes for nativewindow and Newt on solaris-sparcv9 and solaris-amd64Kenneth Russel2009-06-172-0/+16
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1971 232f8b59-042b-4e1e-8c03-345bb8c30851
* Steps toward revamping the dist build. Changed individual builds toKenneth Russel2009-06-178-16/+123
| | | | | | | | | | | | | | produce the Java Web Start native library jar file, [project]-natives-[os.and-arch].jar, and the top-level build to produce the developer binary archive, jogl-[version]-[os.and.arch].zip, as well as the source archive, jogl-[version]-src.zip. (This was only possible thanks to Sven, who made all of the platforms' Java-level binaries identical.) More work coming to simplify the dist target and redo the associated nightly build scripts. Minor documentation updates; more needed. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1970 232f8b59-042b-4e1e-8c03-345bb8c30851
* Newt: update to the previous fix : need to use 0xFFFF not 0xFF.Dmitri Trembovetski2009-06-171-7/+7
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1969 232f8b59-042b-4e1e-8c03-345bb8c30851
* Refactored version number specifications for all sub-components likeKenneth Russel2009-06-166-126/+111
| | | | | | | | | | JOGL and Newt into make/versions.xml. Cleaned up and simplified jar creation targets in build-jogl.xml, build-nativewindow.xml, and build-newt.xml. Fixed nativewindowRIversion, which was incorrectly referring to VERSION instead of only BASEVERSION. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1968 232f8b59-042b-4e1e-8c03-345bb8c30851
* Newt: fix to avoid crash on windows when compiled with vc7 configuration ↵Dmitri Trembovetski2009-06-161-6/+8
| | | | | | (caused by the runtime checking enabled with /RTCcsu) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1967 232f8b59-042b-4e1e-8c03-345bb8c30851
* There is no #warning or #warn preprocessor directive in MSVCKenneth Russel2009-06-161-1/+0
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1966 232f8b59-042b-4e1e-8c03-345bb8c30851
* Attempt to fix compilation under MSVC 6Kenneth Russel2009-06-161-3/+3
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1965 232f8b59-042b-4e1e-8c03-345bb8c30851
* Attempt to fix build of Cg bindingKenneth Russel2009-06-161-0/+4
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1964 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed typedef for EGLTimeKHR to use already-defined uint64_t insteadKenneth Russel2009-06-161-1/+1
| | | | | | | of unsigned long long which is not supported in some compilers (e.g. MSVC 6) git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1963 232f8b59-042b-4e1e-8c03-345bb8c30851
* Changed argument names to glDepthRange to work with MSVC 6Kenneth Russel2009-06-161-1/+1
| | | | git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1962 232f8b59-042b-4e1e-8c03-345bb8c30851
* Removed win32.c.compiler and macosx64 properties from this file andKenneth Russel2009-06-161-16/+4
| | | | | | | pointed to gluegen.properties to avoid having redundant documentation git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@1961 232f8b59-042b-4e1e-8c03-345bb8c30851