Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | NEWT/OSX: Add missing sendKeyEvent(..) specialization to produce the keyCode ↵ | Sven Gothel | 2011-10-26 | 1 | -1/+10 |
| | | | | (like enqueueKeyEvent()) | ||||
* | GLProfile: Add GLProfile getImpl(); Use getImpl() for getGL2ES[12](..), ↵ | Sven Gothel | 2011-10-26 | 2 | -72/+71 |
| | | | | dropping GL2ES[12] lists | ||||
* | OSX: Enable OpenGL profile support, ie OpenGL 3.2 -> GL3 for OSX >= 10.7 | Sven Gothel | 2011-10-26 | 6 | -153/+376 |
| | |||||
* | Minor edits / cleanup of GLContext* | Sven Gothel | 2011-10-26 | 6 | -26/+13 |
| | |||||
* | MacOSX: Pull down (and fix releaseContext) NSOPENGL/CGL mode/impl, fixes SWT ↵ | Sven Gothel | 2011-10-25 | 13 | -608/+515 |
| | | | | usage and FBOMRT | ||||
* | Add debug version of etc/test.* | Sven Gothel | 2011-10-24 | 2 | -0/+70 |
| | |||||
* | Add debug-all commented out line | Sven Gothel | 2011-10-24 | 1 | -0/+2 |
| | |||||
* | Tests: AWT EDT: invokeLater(..) -> invokeAndWait(..) for a more predictable ↵ | Sven Gothel | 2011-10-23 | 10 | -72/+120 |
| | | | | workflow | ||||
* | Test: AWTRobotUtil TO 1s -> 2s | Sven Gothel | 2011-10-23 | 1 | -1/+1 |
| | |||||
* | Partially revert cba9a070f9649bec42627631d393963d548e320c: Skip ↵ | Sven Gothel | 2011-10-23 | 2 | -23/+23 |
| | | | | focusAction() and native focus request on X11/Windows. On both platforms it's not required (proper focus traversion) and AWT would deadlock on Windows | ||||
* | NEWT/ScreenMode: Make getCurrenctScreenMode..() more fail proof in case the ↵ | Sven Gothel | 2011-10-23 | 2 | -15/+31 |
| | | | | (native) impl. doesn't work. | ||||
* | Proper self containing NV Cg location | Sven Gothel | 2011-10-22 | 10 | -8/+9 |
| | |||||
* | test script | Sven Gothel | 2011-10-22 | 1 | -4/+2 |
| | |||||
* | Newt/OSX: Disable VERBOSE | Sven Gothel | 2011-10-22 | 1 | -1/+1 |
| | |||||
* | Test/Focus: Add sleep for manual focus tests | Sven Gothel | 2011-10-22 | 2 | -1/+11 |
| | |||||
* | Test/AWTRobotUtil: Proper titlebar location (using insets) ; Real UI/Robot ↵ | Sven Gothel | 2011-10-22 | 1 | -31/+37 |
| | | | | requestFocus impl. | ||||
* | NEWT/Native RequestFocus: Even if owning focus, run the focusAction() call ↵ | Sven Gothel | 2011-10-22 | 3 | -34/+35 |
| | | | | incl. native focus request (X11, Windows, OSX) | ||||
* | NewtCanvasAWT: Cleanup / Remove FIXME tag (impl. is ok) | Sven Gothel | 2011-10-22 | 1 | -6/+2 |
| | |||||
* | NEWT/Test FocusEventCountAdapter: Detailed test whether focus gained/lost | Sven Gothel | 2011-10-22 | 6 | -60/+79 |
| | |||||
* | NEWT/MacOSX: Fix resignKeyWindow super call. Summarize ↵ | Sven Gothel | 2011-10-22 | 2 | -44/+15 |
| | | | | sendFocusLost/sendFocusGained -> focusChanged | ||||
* | Test/Ruler/ScreenMode: Validate whether current ScreenMode exists | Sven Gothel | 2011-10-22 | 1 | -1/+8 |
| | |||||
* | NEWT/ScreenMode: If unimplemented have at least current mode in list. ↵ | Sven Gothel | 2011-10-22 | 7 | -119/+121 |
| | | | | Current mode uses ScreenSize w/ dummy values if unimplemented. | ||||
* | Cleanup JARs: Add jogl_cg native jar (atomic only); Move newt.event.jar to ↵ | Sven Gothel | 2011-10-21 | 2 | -9/+18 |
| | | | | atomic. | ||||
* | Test NEWT Remote GLWindow: Show VBO usage | Sven Gothel | 2011-10-21 | 1 | -19/+26 |
| | |||||
* | Test: NEWT Remote GLWindow w/ GL2ES1 (GLSL n/a on remote GLX, eg. NV) | Sven Gothel | 2011-10-21 | 2 | -15/+19 |
| | | | | | | | - X11GLXContext: Better error message (requested / has) - Test: - Need to fetch remote GLProfile for GLCapabilities, since local machine differs - Can't use GLSL (GL2ES2) on remote .. n/a w/ NV | ||||
* | Remove warnings | Sven Gothel | 2011-10-20 | 1 | -1/+5 |
| | |||||
* | Using math functions in initializers fails on MacOSX - fixed | Sven Gothel | 2011-10-20 | 1 | -1/+3 |
| | |||||
* | NEWT/OSX: Attempt to stabilize native parenting (ie w/ AWT) ; Add ↵ | Sven Gothel | 2011-10-20 | 4 | -100/+174 |
| | | | | | | | | | | | | | | | | | windowRepaint() callback - act on positionChanged(..) only for realized windows, otherwise we could end in an AWT deadlock (AWT parent window). - add view parenting calls (addSubView/removeFromSuperview) - attachToParent after view configuration - allow concurrently view draw - add windowRepaint() callback (native -> java) - add more debug tracing | ||||
* | Only revert ScreenMode (destroy/shutdown) if owner (Screen) changed it | Sven Gothel | 2011-10-19 | 4 | -13/+38 |
| | |||||
* | Fixed my sloppy English "it's" usage - thx Julien | Sven Gothel | 2011-10-19 | 1 | -2/+2 |
| | |||||
* | Exclude SWT tests on platforms w/o SWT runtime | Sven Gothel | 2011-10-18 | 2 | -4/+17 |
| | |||||
* | bump swt to version 3.7.1 | Sven Gothel | 2011-10-18 | 10 | -1/+3 |
| | |||||
* | use jvmDataModel.arg set by gluegen | Sven Gothel | 2011-10-18 | 1 | -10/+8 |
| | |||||
* | Fix Solaris gcc args ; Cleanup dependencies and linker args; Adding JVM arch ↵ | Sven Gothel | 2011-10-18 | 11 | -61/+188 |
| | | | | | | | | flags (-d32/-d64) ; glxext.h uses 'gl-64bit-types.h' Cleanup dependencies and linker args - JOGL/NEWT: remove Xxf86vm dependency - NativeWindow Solaris: Use std 'Xinerama' and 'xf86vmode' | ||||
* | NEWT/OSX: Adding 'fake' lockSurface based on [view canDraw]. Can't use ↵ | Sven Gothel | 2011-10-16 | 2 | -6/+53 |
| | | | | lockFocus(), deadlocks since we render separate to focus mgmt. | ||||
* | OSX: Fix CGL deleteContext()'s release call on MainThread (typo, shall have ↵ | Sven Gothel | 2011-10-16 | 1 | -2/+2 |
| | | | | no ':' for void func call) | ||||
* | NEWT/OSX: Send events direct w/o EDT queue (like X11 and Win32) | Sven Gothel | 2011-10-16 | 2 | -12/+30 |
| | |||||
* | test script | Sven Gothel | 2011-10-16 | 1 | -2/+2 |
| | |||||
* | NEWT/OSX: Proper impl. of NEWT's focus management (fixes NEWT/AWT focus ↵ | Sven Gothel | 2011-10-16 | 5 | -34/+96 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behavior/tests) - Old code was just requesting the focus and made the window upfront and notifying a gained focus to WindowImpl. (hack) - Using proper requestFocus impl. issuing focusAction() and utilizing native focus gained/lost messages. This distinguish between 'makeKey' and 'orderFront'. Also requesting and accepting (view) first responder role, which is a precursor to proper gained/lost focus handling on OSX. - NEWTCanvasAWT: Adding 'steal AWT focus': +++ void requestFocus() { super.requestFocus(); // AWT < steal AWT focus > NEWTChild.requestFocus() } +++ Helps make the focus traversal between NEWT/AWT more reliable. Happend on OSX that AWT (NewtCanvasAWT instance) didn't release the focus after NEWT child gained the same. We are not able to use the 'focusAction()' here (disabled in this code path) due to AWT-EDT blocking and recursive focus changes. The latter is also intendend to request the AWT focus first .. - AWT/NEWT focus test 01 passes on OSX | ||||
* | NEWT/OSX: exec. makeKeyAndOrderFront/makeKeyWindow on MainThread | Sven Gothel | 2011-10-16 | 1 | -5/+6 |
| | |||||
* | Test GearsES2: Split confine mode to centered 'J' and non centered 'j', to ↵ | Sven Gothel | 2011-10-16 | 2 | -5/+25 |
| | | | | test actual confinement | ||||
* | NEWT/OSX: Add mouse enter/exit and pointer features (visible, confined, ↵ | Sven Gothel | 2011-10-16 | 5 | -98/+299 |
| | | | | warp) - cleanup pos/coord translations | ||||
* | NEWT/Mouse: Skip 'move' event w/ same position. Add Enter/Exit events | Sven Gothel | 2011-10-15 | 4 | -7/+107 |
| | | | | | | | | | | Skip 'mouse move' event w/ same position - On Windows, the OS sends us multiple event w/o change in position, suppress them Add Enter/Exit events incl. synthesize 'enter' event for windows/osx - X11: using native Enter/Leave events - Windows: using native Leave event (tracking) and synthesized enter event - OSX: TODO (required for the confined feature, etc) | ||||
* | NEWT/Pointer Confined: Dispatch mouse move events before enabled; Only ↵ | Sven Gothel | 2011-10-15 | 2 | -29/+40 |
| | | | | | | | | | | | | | | | | | | | request-focus/warp-ptr if enabled Dispatch mouse move events before enabled - Allows user app listener to track to the new centered mouse position before using the confined position. This is important for position change usage. See simplified demo GearsES2 Only request-focus/warp-ptr if enabled - No need to request focus and center mouse if leaving confinement Demo GearsES2: - No need to assume some position changes are erroneous (jumps) due to confinement. - Track unconfined mouse position, allowing confined navigation to have the proper position change value | ||||
* | Fix NEWT/Pointer Invisible: INVISIBLE_MASK was equal w/ CONFINED_MASK (duh) | Sven Gothel | 2011-10-15 | 1 | -1/+1 |
| | |||||
* | NEWT/EDTUtil: Allow get/set poll period, defaults to defaultEDTPollPeriod | Sven Gothel | 2011-10-15 | 3 | -5/+32 |
| | |||||
* | Tests/OSX: NEWT is supported. Disable swt.awt for OSX, test currently freezes. | Sven Gothel | 2011-10-13 | 1 | -6/+4 |
| | |||||
* | OSX: Avoid invoking JNI or performSelectorOnMainThread in JNI if already ↵ | Sven Gothel | 2011-10-13 | 2 | -2/+6 |
| | | | | mainThread | ||||
* | OSX/SWT: Adding OSXUtil: RunOnMainThread(), IsMainThread() / Utilizing those ↵ | Sven Gothel | 2011-10-13 | 9 | -41/+242 |
| | | | | | | | | | | | | | | for SWT access/calls Adding OSXUtil: RunOnMainThread(), IsMainThread() - Issuing a native call where the user Runnable is to be performed on the main thread - Enable query if we are on the main thread. Utilizing those for SWT access/calls - Using the above to call all SWT functions on the main thread if required (incomplete) TODO/Issues: - JOGL OSX CGL Context fails, ie expecting NS, but having CGL | ||||
* | MacOSX: Always release ctx on main thread (offscreen was frozen as well); ↵ | Sven Gothel | 2011-10-13 | 10 | -69/+33 |
| | | | | | | Cleanup Warnings and OSX ContextUpdater - |