summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SWTAccessor: Attempt to receive the OSX cocoa NSView handle/idSven Gothel2011-03-011-7/+35
|
* Add junit.run.awt.singletest target for cmdline verificationSven Gothel2011-03-011-0/+25
|
* Cleanup (private access for inner classes)Sven Gothel2011-02-282-45/+48
| | | | | | | | | | Partially revert commit 5681c25cfd4c7abce7d653910c9aa7a4e989057e - revert all window feature (visible, fullscreen, ..) runOnEDT calls to wait:=true, it turns out we loose stability and predictable behavior otherwise. - a user must ensure no calling these modifier methods from a locked window state, as documented (and changed) in commit 481285c3d19d0a4c019cffc72b7a8b58296b748e
* Animator: Cleanup and better DEBUG infoSven Gothel2011-02-282-6/+9
|
* fix test - dont use GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable)Sven Gothel2011-02-281-10/+8
| | | | for window locking calls, ie window changes. The GLRunnable list is executed while window is locked.
* unit tests: Gears, TestGearsNEWT, WindowImplAccessSven Gothel2011-02-283-2/+31
| | | | | | | | | Gears (add cursor rotation) TestGearsNEWT (add decoraction toggle 'd') WindowImplAccess NEWT Closing tests .. programmatical close on EDT, which simulates 1:1 native closing operation.
* NEWT WindowImpl EDT fixesSven Gothel2011-02-281-106/+93
| | | | | | | | | | | - all features intended to run on EDT and lock the surface shall only allowed to wait for result, if the surface is unlocked. Otherwise don't wait - ie a pending operation. - proper sequence of all feature Runnables, ie include pre/post lock actions in Runnable, since it might be a pending task (see above). This shall avoid deadlocks cause by user code where features are called (visible, fullscreen, ..) when invoked within a locked surface code path - ie GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable).
* NEWT EDT: Fix dbl-chk-locking, runOnEDT fast-path, enqueEvent dispatch ↵Sven Gothel2011-02-281-18/+29
| | | | immed. if on EDT
* SWTAccessor: Fix type casting int/long - better long usage determinationSven Gothel2011-02-282-38/+49
|
* NEWT: enqueueEvent(wait, ..) can't wait if on EDT. Solves UI close, etcSven Gothel2011-02-281-0/+3
|
* Remove TestSWT01GLn hacking, see TestSWT02GLnSven Gothel2011-02-281-82/+0
|
* SWT/JOGL: Native SWT binding testSven Gothel2011-02-286-6/+230
|
* SWTAccessor: Add new SWT reflections for native window handle and ↵Sven Gothel2011-02-281-0/+90
| | | | | | display/device. Currently implemented platforms: X11(gdk/gtk) and Windows, both 32bit and 64bit.
* JOGL GLDrawableFactory: Expose experimental method createProxySurface(..) ↵Sven Gothel2011-02-286-0/+64
| | | | | | for new windowing system ad-hoc development. WARNING: This method may change ro be removed over time!
* X11Util DisplayName: Respect DEFAULT_CONNECTION stringSven Gothel2011-02-281-2/+2
|
* Attempt to analyze failed AWT UI tests, where no paint is being issued to ↵Sven Gothel2011-02-264-15/+35
| | | | GLCanvas.
* Code cleanup: override, imports, StringBuilder, ..Sven Gothel2011-02-2626-56/+142
|
* Clean/Fix: Threading CodeSven Gothel2011-02-2611-80/+90
| | | | | | - Remove unsafe double checked locking - Annotate safe double checked locking (volatile) - use 'static final' if possible
* changes due to code cleanup in gluegen.Michael Bien2011-02-269-23/+28
| | | | | | - StringBuffer -> StringBuilder - ReflectionUtil.getBaseName -> class.getSimpleName() - cleanup imports, generics and @Override for all touched classes
* GLProfile: More Tolerant for missing features; MacOSX: Fix External Context ↵Sven Gothel2011-02-269-25/+147
| | | | / SWT; SWT Test: Distinguish awt/headless and main-thread (osx) swt launch
* Remove reference to the deprecated option noCDC (2)Sylvestre Ledru2011-02-256-22/+2
|
* Remove reference to the deprecated option noCDC (2)Sven Gothel2011-02-254-4/+4
|
* Remove reference to the deprecated option noCDCSylvestre Ledru2011-02-252-61/+0
|
* Avoid NPE (pairs with 6188d6a385056adade49fcb6d8247f94f96d402e)Sven Gothel2011-02-251-4/+5
|
* Fix bug 473: Override on implementations with 1.5Andy Brown2011-02-255-18/+18
| | | | | | | | | | Using @Override on implementations of interface methods wasn't introduced until Java 1.6. After changing the compliance level to 1.5 in Eclipse, it reports 23 errors. This fix comments out the annotations rather than deleting them altogether thinking it may be easier if JOGL ever targets 1.6 in the future.
* Merge remote-tracking branch 'wwalker/2010_02_18_Eclipse_build_improvements'Sven Gothel2011-02-259-177/+255
|\
| * Add new all.ide target for use in Eclipse, NetBeans, and IntelliJWade Walker2011-02-183-10/+11
| | | | | | | | | | | | | | The new target just omits final JAR creation and file copying for extra speed within an IDE. We also change where Eclipse looks for the native libraries, since this new target doesn't copy them to jogl/build/lib.
| * Prevent native libraries from always rebuilding and strippingWade Walker2011-02-184-162/+228
| | | | | | | | | | | | | | | | | | | | The cc task will always re-link, even if no source files are built. This commit wraps an uptodate task around cc to prevent this, so the libraries will only be rebuilt now if a source file changes. This commit also moves library symbol stripping into the same uptodate task, so it only happens if a library is built (previously the libraries were always stripped).
| * Fix path to FixedFuncHook.class.Wade Walker2011-02-181-1/+1
| | | | | | | | | | | | | | The path to FixedFuncHook.class didn't get changed in the recent package move, which made the dependency checking wrong in the java.generate.composable.pipeline.custom.check.glfixfunc target.
| * Make Eclipse build correctlyWade Walker2011-02-184-4/+15
| | | | | | | | | | | | | | Removed the Java builder, since it was rebuilding stuff the Ant build had already done. Turned on the Ant build for incremental builds. Changed the classpath of com/jogamp/opengl/impl/gl2/fixme/ to jogamp/opengl/gl2/fixme/ to reflect the recent move.
* | Avoid NPE, incr. test poll, ..Sven Gothel2011-02-253-10/+11
| |
* | gluegen-archivetasks.xml -> jogamp-archivetasks.xmlSven Gothel2011-02-241-1/+1
| |
* | Adapt changes of jogamp-env.xmlSven Gothel2011-02-238-7/+5
| |
* | Inverse build attribute build.noarchive -> build.archiveonSven Gothel2011-02-2313-24/+8
| |
* | Using 7z instead of zipSven Gothel2011-02-233-7/+7
| |
* | Use NODE_NAME env var to determine test archiveSven Gothel2011-02-232-1/+3
| |
* | Excluded javadoc.dev from javadoc.all; Fixed javadoc.dev (incl jogamp.* ↵Sven Gothel2011-02-221-2/+3
| | | | | | | | packages)
* | NativeWindow NativeSurface lock/unlock Surface cleanup ; NEWT WindowImpl ↵Sven Gothel2011-02-224-49/+57
| | | | | | | | | | | | | | | | | | lock/unlock Surface fix - Rename lock to surfaceLock to determine it's use - NEWT's WindowImpl windowLock usage is not sufficient for lock/unlock surface. Using distinguished surfaceLock for proper recursion count on lock/unlock surface.
* | misc cleanup (import,script attributes)Sven Gothel2011-02-224-5/+0
| |
* | WindowsExternalWGLContext: Tolerate invalid/released hdc (swt, winxp-32bit)Sven Gothel2011-02-221-26/+21
| |
* | NativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jarSven Gothel2011-02-225-33/+136
| |
* | NativeWindow/SWT: Add SWTMisc utility allowing platform independent accessSven Gothel2011-02-223-9/+130
| |
* | JOGL/X11/AWT: No more need for seperate X11 Display instance if availableSven Gothel2011-02-221-6/+5
| |
* | Cleanup NEWT MainThread, using new AWTEDTUtil impl. / Sync AWTCanvas with ↵Sven Gothel2011-02-227-205/+276
| | | | | | | | | | | | | | | | | | | | GLCanvas changes Cleanup NEWT MainThread, using new AWTEDTUtil impl. - Allow simple singleton AWTEDTUtil to be used for AWTDisplay and more .. Sync AWTCanvas with GLCanvas changes - Latest GLCanvas changes around addNotify() had to be synced
* | bump scripts to 6u24Sven Gothel2011-02-2214-31/+48
| |
* | NativeWindow ProxySurface Abstraction and lock/unlock Surface cleanupSven Gothel2011-02-2220-325/+404
|/ | | | | | | | | | | | | - ProxySurface -> abstract javax.media.nativewindow.ProxySurface, implemented by jogamp.nativewindow.WrappedSurface, just wrapping surface handle jogamp.nativewindow.windows.GDISurface, using HWND and get/release HDC on lock/unlock - Unifying NativeSurface's lockSurface/unlockSurface implementations - NEWT's WindowImpl - NativeWindow's ProxySurface, WrappedWindow, GDIWindow and JAWTWindow - wingdi/GDI: Add 'WindowFromDC' and 'GetClientRect' to GDI
* Win,ARB,GL-2.x: Fix pfd to caps conversion: !pbuffer / CleanupSven Gothel2011-02-116-101/+109
| | | | | | | | | | | This fix enables the configuration win7 64bit chromium2.1 (virtual box 4.0.2 linux host) Querying unsupported pixel format attributes, ie pbuffer, will fail the ARB attribute query functions. Cleanup of SharedResource's, hold all reused flags in win32 impl, ie pbuffer, arb pixelformat, ..
* Win,GDI,SWT: Fix pfd to caps conversion. Added thorough debug code.Sven Gothel2011-02-113-11/+30
| | | | | | | Debug code added for use case: WinXP-32bit, GDI, SWT, where WGL.wglGetCurrentDC() returns a non null value which is invalid. Using the value (hdc) on eg GDI.GetObjectType(hdc) return 0 instead of 3 (OBJ_DC) and GDI.GetPixelFormat(hdc) returns 0 with last error 2000.
* Fix Win/GDI: getAvailableGLCapabilitiesGDI() add offscreen GLCaps as wellSven Gothel2011-02-103-16/+10
|
* Spec Doc update/fixSven Gothel2011-02-102-97/+60
|