aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GLCanvas: lock/sync drawable usage ; remove destroyed refs (context, ↵Sven Gothel2010-12-231-17/+104
| | | | drawable, awtConfig) ; Try create/destroy AbstractGraphicsDevice on EDT
* Cleanup / DebugSven Gothel2010-12-234-5/+15
|
* NEWT: Add WindowListener.windowDestroyed() ; Remove WindowImpl.windowDestroyed()Sven Gothel2010-12-2316-58/+158
| | | | | | | | | | | | | Add WindowListener.windowDestroyed() To expose a proper window lifecycle, ie destroy-notify and destroyed, this notification is added. This will be used at least in unit tests, where we verify destruction. Remove WindowImpl.windowDestroyed(): This native hook (planned to be called by native destroy notification) is unreliable or not supported for all platforms. NEWT relies on the pre destroy native hooks and handles the final destroy notification itself.
* Always issue GLEventListener's initialization, if provoked by ctx creationSven Gothel2010-12-221-1/+8
|
* Fix WGL bitmap regression while fixing it ↵Sven Gothel2010-12-221-2/+1
| | | | (96a0e0706258824c1dd524d4cbd7682a904b84f4)
* JOGL/NEWT: Introduce WindowClosingProtocol (solves Bug/Request 444)Sven Gothel2010-12-1921-175/+1113
| | | | | | | | | | | | | | | | | Similar to JFrame's closing behavior, the following components window closing follow the new WindowClosingProtocol: - GLCanvas - GLJPanel - NEWT Window, GLWindow - NEWT NewtCanvasAWT The implementation obeys either 1) the user value set by this interface, 2) an underlying toolkit set user value (JFrame, ..) 3) or it's default, eg. {@link #DO_NOTHING_ON_CLOSE DO_NOTHING_ON_CLOSE} within an AWT environment. If none of the above determines the operation, this protocol default behavior {@link #DISPOSE_ON_CLOSE DISPOSE_ON_CLOSE} shall be used.
* test scripts .. VersionAppletSven Gothel2010-12-192-3/+5
|
* Adding NVIDIA 'Threaded optimization' workaround/fix at initialization on ↵Sven Gothel2010-12-195-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows for javaws/applets. It has been observed that for some combinations, eg: - Windows 7 64bit (other variants may apply too) - NVIDIA 8600M GT - 260.99 the NVIDIA setting of 'Threaded optimization' := 'auto' (default) causes the JVM to simply crash in case of javaws and [jnlp] applets. 'Threaded Optimization' := 'off' works reliable 'Threaded Optimization' := 'on' never works with javaws and applets on the above configuration A user could workaround this by setting 'Threaded Optimization' := 'off', however, this would disable many users on the spot, since you cannot ask the average user for such a task, if she only wants to see a web page. This patch 'fixes' the 'auto' mode by running the eager GL profile initialization within a block of single CPU affinity: SetProcessAffinityMask(pid, 1); try { initProfilesForDeviceImpl(device); } finally { SetProcessAffinityMask(pid, sysValue); } Hopefully we can remove this hack with a driver fix. However this workaround is as little invasive as possible.
* GLDrawableFactory: Add getFactory(AbstractGraphicsDevice device)Sven Gothel2010-12-191-1/+20
|
* Fix GLProfile initProfilesForDevice and DEBUG ; Fix JoglVersion.getGLInfoSven Gothel2010-12-192-35/+36
| | | | | | | | GLProfile.initProfilesForDevice: use either desktop or egl factory on one device GLProfile.DEBUG: Print proper factory instance, full device JoglVersion.getGLInfo: Print only availability of used device, otherwise we could kick off initialization
* Debug/Cleanup: toString: print base classname only; Misc ..Sven Gothel2010-12-1910-11/+26
|
* WindowsWGLContext: Proper var names, misc cleanupSven Gothel2010-12-181-17/+22
|
* convenient internal queries for sharedSven Gothel2010-12-181-0/+12
|
* GLCanvas: init drawable by paint/display makes the init sequence more equal ↵Sven Gothel2010-12-181-1/+3
| | | | for all launch flavors (applet/javaws/..)
* NativeWindow Debug: Early stack trace info w/ thread nameSven Gothel2010-12-181-3/+7
|
* Version Applet as JavaWSSven Gothel2010-12-181-7/+64
|
* GLProfile: refine docSven Gothel2010-12-182-1/+21
|
* debug node: WindowsDummyWGLDrawableSven Gothel2010-12-171-0/+1
|
* SharedResourceRunner: Expose convenient 'getShared()' w/o creationSven Gothel2010-12-171-0/+5
|
* debug: print thread name only; simplify mapGLVersion(..) callSven Gothel2010-12-171-16/+12
|
* jnlp: remove version attribute from extension ref, which would require the ↵Sven Gothel2010-12-1715-23/+23
| | | | | | server side jnlp/version protocol version applet: remove noddraw
* Fix jogl-core.jnlp; Add/Fix Launcher Version AppletSven Gothel2010-12-163-9/+51
|
* Version Applet: set GLCanvas size, otherwise it won't realize GL drawableSven Gothel2010-12-161-0/+1
|
* Add missing jnlp/html files for Version Applet: ↵Sven Gothel2010-12-162-0/+62
| | | | a7398aac183762174b0608ad7f83d9130c61523e
* Fix WGL Bitmap Offscreen DrawableSven Gothel2010-12-1614-210/+300
| | | | | | | | | | | In conjunction with the gluegen investigation (gluegen: fbdedff789077b5ffa07811590f771b6f9a4f3a7), on Windows the type LONG is always 32bit, hence we have to declare: typedef __int32 LONG; Besides, WGL_DRAW_TO_PBUFFER_ARB and WGL_DRAW_TO_BITMAP_ARB were missing in the WGL/ARB attribute query, and the latter was not set in caps -> attributes. Added fail safe exception for null chosen caps, if X11/WGL algo fails to determine.
* fix junit/test pathSven Gothel2010-12-151-8/+8
|
* Add Version AppletSven Gothel2010-12-152-1/+89
|
* Add version tag in jnlp filesSven Gothel2010-12-1512-30/+30
|
* final cleanup test results archive :)Sven Gothel2010-12-151-3/+0
|
* final cleanup test results archive :)Sven Gothel2010-12-151-17/+12
|
* test-zip-archive cleanupSven Gothel2010-12-151-2/+2
|
* JAWTUtil: Fix case when init is run on AWT EDT (which is odd, ie not using ↵Sven Gothel2010-12-151-11/+16
| | | | GLProfile.initSingleton(..)
* don't remove files @ test-zip-archiveSven Gothel2010-12-151-1/+1
|
* cleanup declare.common/initSven Gothel2010-12-151-5/+3
|
* merge test.run.setup with initSven Gothel2010-12-151-16/+14
|
* mkdir after delete: test results folderSven Gothel2010-12-151-1/+1
|
* archive test resultsSven Gothel2010-12-151-2/+19
|
* Fix jnlp files jar names and removed main attribute of jar refSven Gothel2010-12-1513-98/+50
| | | | | | | | | | <module>.[win|x11|osx].jar -> <module>.os.[win|x11|osx].jar nativewindow.os.windows.jar -> nativewindow.os.win.jar newt.broadcomegl.jar -> newt.hw.broadcomegl.jar newt.intelgdl.jar -> newt.hw.intelgdl.jar removed non existing jnlp file for config gl2es12.
* only kick off gluegen base.compileSven Gothel2010-12-131-8/+1
|
* Cleanup (removed obsolete class / imports) ; Cg fixSven Gothel2010-12-136-83/+4
|
* common folder etc: junit -> testSven Gothel2010-12-132-18/+18
|
* tests: test.auto.run (junit.run) and test.manual.runSven Gothel2010-12-134-19/+74
|
* Cleanup test/junit structure. com.jogamp.test -> com.jogamp.opengl.text; ↵Sven Gothel2010-12-1397-301/+385
| | | | Compile posted Issue* Bug* snippets
* Fix API doc: firstUIActionOnProcessSven Gothel2010-12-123-33/+79
|
* Newt: Add com.jogamp.newt.util.* package(s) to public javadocSven Gothel2010-12-121-1/+1
|
* NativeWindow: Move RegisteredClass to private impl packageSven Gothel2010-12-126-9/+7
|
* GLJPanel/GLPbufferImpl: destroy pbuffer reentrance fix; disable device close ↵Sven Gothel2010-12-126-25/+30
| | | | (X11 error on nvidia); reenable GLJPanel test
* Adding misc NEWT docs/notesSven Gothel2010-12-121-0/+30
|
* script updatesSven Gothel2010-12-127-12/+49
|
* makeCurrent/release within closuresSven Gothel2010-12-121-3/+4
|