Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge remote-tracking branch 'wwalker/2011-03-24-fix-JAWTUtil-NPE' | Sven Gothel | 2011-03-27 | 1 | -2/+2 |
|\ | |||||
| * | Fix NPE caused by refactoring on 2/26/2011. | Wade Walker | 2011-03-26 | 1 | -2/+2 |
| | | | | | | | | | | | | The refactoring refers to the static sunToolkitClass when it's not initialized, which causes an NPE and makes the system think it can't do AWT locks. | ||||
* | | FPSAnimator: Poor attempt to wait for threads EOL after pause/stop | Sven Gothel | 2011-03-27 | 1 | -0/+6 |
|/ | |||||
* | Promote GLDrawableFactory.getOrCreateSharedContext(..) to public. | Sven Gothel | 2011-03-26 | 2 | -1/+101 |
| | |||||
* | Fix unnecessary NPE in case of unrealized GLCanvas (getRequestedCapabilities()) | Sven Gothel | 2011-03-26 | 1 | -1/+1 |
| | |||||
* | Fix Bug460 test | Sven Gothel | 2011-03-26 | 1 | -30/+7 |
| | |||||
* | FPSAnimator: Avoid NPE | Sven Gothel | 2011-03-25 | 1 | -6/+15 |
| | |||||
* | Fix Bug #460 - GLCanvas NPE | Sven Gothel | 2011-03-21 | 2 | -1/+84 |
| | |||||
* | Fix Bug #480 (attempt) - ATI + WinXP: make context current for ARB PFD ↵ | Sven Gothel | 2011-03-21 | 5 | -57/+169 |
| | | | | | | | | | queries/selection TODO: Validate if bug is actually relates to the 'old' ATI Windows driver for old GPU's like X300 etc and unrelated to the actual Windows version ! Also ensure that the no pixelformat is being set on external context/HDC. | ||||
* | Refine getAvailableGLCapabilitiesImpl (XGL, WGL and EGL): Sort only if size > 1 | Sven Gothel | 2011-03-20 | 4 | -7/+5 |
| | |||||
* | Refine WGL_PIXEL_TYPE_ARB and GLX_RENDER_TYPE: | Sven Gothel | 2011-03-20 | 4 | -19/+32 |
| | | | | | | | | | | | | | | | | | WGL_PIXEL_TYPE_ARB: Results -> GLCapabilities - WGL_TYPE_COLORINDEX_ARB not supported - Only WGL_TYPE_RGBA_FLOAT_ARB makes pbuffer float Query: - Only use WGL_FLOAT_COMPONENT_NV if supported - Remove multiple WGL_PIXEL_TYPE_ARB entry GLX_RENDER_TYPE: Results -> GLCapabilities - GLX_COLORINDEX_BIT only not supported | ||||
* | - LinkedList -> ArrayList (using tail) for O(1) operation | Sven Gothel | 2011-03-19 | 1 | -19/+23 |
| | | | | | - Using new IntIntHashMap clone() operation - Comment: Tuning IntIntHashMap capacity to avoid rehash | ||||
* | Add @Override | Sven Gothel | 2011-03-19 | 2 | -0/+6 |
| | |||||
* | GLStateTracker code review: | Michael Bien | 2011-03-05 | 1 | -23/+25 |
| | | | | | | | - using LinkedList as stack replacement for non index based push/pop - increased initial map size since the default values already exceeds the default mapsize - size()==0 -> isEmpty() (can be significantly faster if the deque impl would change in future) - map copy with initial size - minor other changes | ||||
* | Revert Gears: Remove static main, since junit tries to load references ↵ | Sven Gothel | 2011-03-05 | 1 | -44/+0 |
| | | | | (AWT); Remove static init as well | ||||
* | Fix MemoryObject: Remove unnecessary and slow hash collision action | Sven Gothel | 2011-03-05 | 1 | -23/+3 |
| | |||||
* | junit Gears: remove AWT GLCanvas from import | Sven Gothel | 2011-03-05 | 1 | -3/+2 |
| | |||||
* | Fix GLStateTracker PixelStore popAttrib(): Only write new state if ↵ | Sven Gothel | 2011-03-05 | 1 | -9/+19 |
| | | | | corresponding push was of ClientPixelStore type | ||||
* | Sync Gears (jogl-demos) | Sven Gothel | 2011-03-04 | 1 | -5/+66 |
| | |||||
* | Tolerate pending/lazy native context creation at 1st makeCurrent (OSX). | Sven Gothel | 2011-03-01 | 1 | -14/+29 |
| | | | | This allows SWT on OSX to work properly. | ||||
* | JOGL OSX: Cleanup imports/override | Sven Gothel | 2011-03-01 | 2 | -5/+4 |
| | |||||
* | Fix TestSharedContextListAWT: Use in-thread simple frame construction, which ↵ | Sven Gothel | 2011-03-01 | 2 | -10/+11 |
| | | | | somehow solves the problem on Windows having no height | ||||
* | SWTAccessor: Attempt to receive the OSX cocoa NSView handle/id | Sven Gothel | 2011-03-01 | 1 | -7/+35 |
| | |||||
* | Cleanup (private access for inner classes) | Sven Gothel | 2011-02-28 | 2 | -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 info | Sven Gothel | 2011-02-28 | 2 | -6/+9 |
| | |||||
* | fix test - dont use GLAutoDrawable.invoke(boolean wait, GLRunnable glRunnable) | Sven Gothel | 2011-02-28 | 1 | -10/+8 |
| | | | | for window locking calls, ie window changes. The GLRunnable list is executed while window is locked. | ||||
* | unit tests: Gears, TestGearsNEWT, WindowImplAccess | Sven Gothel | 2011-02-28 | 3 | -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 fixes | Sven Gothel | 2011-02-28 | 1 | -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 Gothel | 2011-02-28 | 1 | -18/+29 |
| | | | | immed. if on EDT | ||||
* | SWTAccessor: Fix type casting int/long - better long usage determination | Sven Gothel | 2011-02-28 | 1 | -38/+48 |
| | |||||
* | NEWT: enqueueEvent(wait, ..) can't wait if on EDT. Solves UI close, etc | Sven Gothel | 2011-02-28 | 1 | -0/+3 |
| | |||||
* | Remove TestSWT01GLn hacking, see TestSWT02GLn | Sven Gothel | 2011-02-28 | 1 | -82/+0 |
| | |||||
* | SWT/JOGL: Native SWT binding test | Sven Gothel | 2011-02-28 | 1 | -0/+221 |
| | |||||
* | SWTAccessor: Add new SWT reflections for native window handle and ↵ | Sven Gothel | 2011-02-28 | 1 | -0/+90 |
| | | | | | | display/device. Currently implemented platforms: X11(gdk/gtk) and Windows, both 32bit and 64bit. | ||||
* | JOGL GLDrawableFactory: Expose experimental method createProxySurface(..) ↵ | Sven Gothel | 2011-02-28 | 6 | -0/+64 |
| | | | | | | for new windowing system ad-hoc development. WARNING: This method may change ro be removed over time! | ||||
* | X11Util DisplayName: Respect DEFAULT_CONNECTION string | Sven Gothel | 2011-02-28 | 1 | -2/+2 |
| | |||||
* | Attempt to analyze failed AWT UI tests, where no paint is being issued to ↵ | Sven Gothel | 2011-02-26 | 4 | -15/+35 |
| | | | | GLCanvas. | ||||
* | Code cleanup: override, imports, StringBuilder, .. | Sven Gothel | 2011-02-26 | 26 | -56/+142 |
| | |||||
* | Clean/Fix: Threading Code | Sven Gothel | 2011-02-26 | 11 | -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 Bien | 2011-02-26 | 9 | -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 Gothel | 2011-02-26 | 3 | -9/+19 |
| | | | | / SWT; SWT Test: Distinguish awt/headless and main-thread (osx) swt launch | ||||
* | Avoid NPE (pairs with 6188d6a385056adade49fcb6d8247f94f96d402e) | Sven Gothel | 2011-02-25 | 1 | -4/+5 |
| | |||||
* | Fix bug 473: Override on implementations with 1.5 | Andy Brown | 2011-02-25 | 5 | -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. | ||||
* | Avoid NPE, incr. test poll, .. | Sven Gothel | 2011-02-25 | 3 | -10/+11 |
| | |||||
* | NativeWindow NativeSurface lock/unlock Surface cleanup ; NEWT WindowImpl ↵ | Sven Gothel | 2011-02-22 | 4 | -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 Gothel | 2011-02-22 | 1 | -5/+0 |
| | |||||
* | WindowsExternalWGLContext: Tolerate invalid/released hdc (swt, winxp-32bit) | Sven Gothel | 2011-02-22 | 1 | -26/+21 |
| | |||||
* | NativeWindow/SWT: Rename SWTMisc -> SWTAccessor; Add to nativewindow.core.jar | Sven Gothel | 2011-02-22 | 2 | -15/+112 |
| | |||||
* | NativeWindow/SWT: Add SWTMisc utility allowing platform independent access | Sven Gothel | 2011-02-22 | 1 | -0/+112 |
| | |||||
* | JOGL/X11/AWT: No more need for seperate X11 Display instance if available | Sven Gothel | 2011-02-22 | 1 | -6/+5 |
| |