Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test scripts | Sven Gothel | 2011-09-07 | 2 | -7/+8 |
| | |||||
* | Fix commit e1ecd85a9d5877861cde35baababb298d1339898 - send resize event on ↵ | Sven Gothel | 2011-09-07 | 1 | -0/+1 |
| | | | | ScreenMode Change | ||||
* | ScreenImpl: Debug - drop stack dump | Sven Gothel | 2011-09-07 | 1 | -1/+0 |
| | |||||
* | NewtCanvasAWT: setNEWTChild() shall not be public - removeNotify shall not ↵ | Sven Gothel | 2011-09-07 | 1 | -4/+3 |
| | | | | make NEWT child invisible (?) | ||||
* | GLWindows Lifecycle Destroy: Don't remove itself from animator-ctrl - ↵ | Sven Gothel | 2011-09-07 | 1 | -7/+1 |
| | | | | recreation is possible | ||||
* | NEWT/Window: Cleanup Actions: Reparenting, Fullscreen and Decoration | Sven Gothel | 2011-09-07 | 5 | -89/+163 |
| | | | | | | | | | | | | - don't assume size/pos change - hence don't set window's values, but wait for satisfaction - don't send resize events on our own, just rely on the event mechanism - fullscreen: don't wrap action around invisibility from Java, Win7 flashes otherwise. Clients who benefit from it (X11) impl. it natively. - fullscreen exit: validate pos/size in case of a child window, like reparenting. Otherwise the container might gets confused (eg. AWT). | ||||
* | NEWT/ScreenMode: setCurrentScreenMode() shall only act if new mode differs; ↵ | Sven Gothel | 2011-09-06 | 2 | -9/+23 |
| | | | | | | | | | On X11 use Thread.sleep(), more cooperative. In case newMode == currentMode, this caused an error, since X11 would never receive mode change events. Thread.sleep() is nicer for the X11/WM .. cooperative multitasking :) | ||||
* | NEWT/WindowsWindow: call sizeChanged() if invisible as well | Sven Gothel | 2011-09-06 | 1 | -5/+2 |
| | | | | no reason to supress this information, it's sent only once (like X11) | ||||
* | NEWT/X11Window: Remove unused 'windowReparented()' callback; Remove ↵ | Sven Gothel | 2011-09-06 | 2 | -21/+4 |
| | | | | redundant DBG_PRINT on _NET_FRAME_EXTENTS | ||||
* | NEWT Cleanup: Remove DEBUG_WINDOW_EVENT, .. | Sven Gothel | 2011-09-06 | 5 | -10/+13 |
| | |||||
* | Test ScreenMode: Minor changes - less wait/timing | Sven Gothel | 2011-09-06 | 3 | -12/+27 |
| | |||||
* | Fix test case for commit 68f5a97ef165a39769040e36114c572c7d0f1abd | Sven Gothel | 2011-09-06 | 1 | -3/+1 |
| | |||||
* | X11Util/Display Lifecycle: Reuse pending (unclosable) Display connections | Sven Gothel | 2011-09-06 | 1 | -46/+83 |
| | | | | | | | See commit 9ed513e9a9616f6028084df4c650c8caf31ea49d (bug 502) Since we cannot close Display connections (X11/AMD), at least we reuse them to not bloat the memory for long term applications | ||||
* | NEWT: Sync User-Lifecycle | Sven Gothel | 2011-09-06 | 2 | -10/+15 |
| | | | | | | Sync User-Lifecycle: Display, Screen: createNative(), destroy(), isNativeValid() sync on instance (used by multiple threads) | ||||
* | NEWT/X11Screen::setCurrentScreenMode: Use device's 'user' Display connection ↵ | Sven Gothel | 2011-09-06 | 1 | -6/+7 |
| | | | | instead of on-the-fly temp one | ||||
* | NEWT/ScreenMode: Remove Cloneable on Immutable .. makes no sense | Sven Gothel | 2011-09-06 | 2 | -15/+17 |
| | |||||
* | _NET_FRAME_EXTENTS: Remove annoying Warning message. 1 Compiler warning | Sven Gothel | 2011-09-06 | 1 | -4/+4 |
| | |||||
* | test scripts | Sven Gothel | 2011-09-06 | 3 | -15/+18 |
| | |||||
* | NEWT/Window/Insets: Implement proper Inset usage ; Cleanup ↵ | Sven Gothel | 2011-09-06 | 20 | -472/+610 |
| | | | | | | | | | | | | | | | | | | | | | | | | | WindowImpl::reconfigureWindowImpl Implement proper Inset usage (window decoration size) - Insets are either polled (updateInsets()) or event driven (insetsChanged()) - Insets are used for size/pos calculations from Java side - Natural size/pos in NEWT is client-area, ie w/o Insets - Adding setTopLevelPosition()/setTopLevelSize() for top-level values, ie including insets WindowImpl::reconfigureWindowImpl - Use flags to pass down the requested action to the native implementation - Impl. all native actions: visible, decoration, reparent, resize, fullscreen - Always use size/pos in client-area space, impl. shall use Insets to tranform them - Remove double-setting of (reparent/fullscreen), which where introduced due to buggy impl. code - Fix return from fullscreen position: Was overwritten with FS position (0/0) - Fix decoration change: Remove visible toggle - not required, and actually disturbing X11Windows/WindowsWindow: Added/Fixed Insets impl. Tests (manual): - TestSharedContextVBOES2NEWT utilizies proper window layout using Insets - TestParenting03bAWT uses window layout for reparenting | ||||
* | NativeWindow/NEWT: Cont. refinement of Insets usage | Sven Gothel | 2011-09-06 | 3 | -9/+21 |
| | | | | Completes commit d4670328991c02a6f11f8873ea7a2331f17d0ef0 | ||||
* | NativeWindow/NEWT: Refine Insets definition for size and position, read and ↵ | Sven Gothel | 2011-09-04 | 16 | -140/+219 |
| | | | | write access | ||||
* | Unify Immutable/WriteCloneable Usage ; Remove Clonable for ImmutableOnly types | Sven Gothel | 2011-09-04 | 10 | -33/+30 |
| | |||||
* | NativeWindow: Add new Insets/InsetsImmutable | Sven Gothel | 2011-09-04 | 2 | -0/+161 |
| | |||||
* | Remove prev. Insets impl | Sven Gothel | 2011-09-04 | 1 | -112/+0 |
| | |||||
* | WindowsDWM: Check all methods for availability - Cleanup header | Sven Gothel | 2011-09-04 | 2 | -9/+2 |
| | |||||
* | Test Multisample/Translucency: Remove implicit alpha settings | Sven Gothel | 2011-09-04 | 2 | -1/+6 |
| | | | | see commit 3ea949b6a14c1ba631cb41b7439af86b21db4c05 | ||||
* | Complete translucency support for Win32 - tested w/ NEWT | Sven Gothel | 2011-09-04 | 12 | -7/+226 |
| | | | | | | | https://jogamp.org/bugzilla/show_bug.cgi?id=517 - Adding some Windows DWM entries to GDI (manual) for translucency support - Add translucency setting in WindowsWGLGraphicsConfiguration* | ||||
* | NativeWindow/JOGL: Cleanup Caps doc and implicit related values. | Sven Gothel | 2011-09-04 | 2 | -46/+57 |
| | | | | | | | | | Capabilities setBackgroundOpaque -> setAlphaBits GLCapabilities setOnscreen <-> setPBuffer setSampleBuffers -> setAlphaBits | ||||
* | test script .. | Sven Gothel | 2011-09-03 | 1 | -1/+1 |
| | |||||
* | Complete translucency support (core w/ X11 (only) - tested w/ NEWT) | Sven Gothel | 2011-09-03 | 6 | -19/+183 |
| | | | | | | | | | | | | | | | | | DefaultGLCapabilitiesChooser: - Add penalty for opaque mismatch: dbl-buf > opaq > stencil GLGraphicsConfigurationFactory: - Case no-chooser && has-recommended-idx: - Only use recommended index if caps is opaque, otherwise use default chooser to validate translucency NativeWindow Capabilities: - transparent default values -> 0 Added NEWT Test: TestTranslucencyNEWT Added command line translucency/undecorated options for TestGearsES2NEWT | ||||
* | Revert commit 8dc31bcaa3ee3a2407d1960ab42d094cac642876: Implicit ↵ | Sven Gothel | 2011-09-03 | 1 | -2/+1 |
| | | | | setUndecorated(true) if Capabilities !isBackgroundOpaque(). The original manual logic allows better control | ||||
* | JOGL/X11GLXGraphicsConfiguration: Query opaque/transparent by XRender ↵ | Sven Gothel | 2011-09-03 | 1 | -1/+12 |
| | | | | 'alphaMask' cfg | ||||
* | NativeWindow X11: Add DSO Xrender dependency | Sven Gothel | 2011-09-03 | 1 | -0/+6 |
| | |||||
* | Fix XRenderFindVisualFormat return capacity (commit ↵ | Sven Gothel | 2011-09-03 | 1 | -1/+1 |
| | | | | dcb0cc571298be90d0db7ad00fef835fe5fdc46d) | ||||
* | NativeWindow/X11: Add XVisualInfo.Visual opaque long access ; Add ↵ | Sven Gothel | 2011-09-03 | 3 | -0/+49 |
| | | | | XRenderFindVisualFormat for translucent window config | ||||
* | NEWT Window: Implicit setUndecorated(true) if Capabilities !isBackgroundOpaque() | Sven Gothel | 2011-09-03 | 1 | -1/+2 |
| | |||||
* | NEWT: Respect 'setUndecorated(true)' before native creation (ie. startup w/ ↵ | Sven Gothel | 2011-09-02 | 3 | -5/+11 |
| | | | | undecorated window) | ||||
* | Add GL Version 4.2 in GLContext Query - Add verification via ↵ | Sven Gothel | 2011-09-02 | 12 | -48/+64 |
| | | | | | | | | | | glGetIntegerv(GL_MAJOR_VERSION|GL_MINOR_VERSION) Status (Using 4.2 beta driver): - Windows NV: Created and verified - Linux AMD: Creates even non existing ones, 4.2 (available) verification returns 0.0 - Linux NV: Created but verification fails, returns 0.0 | ||||
* | Test Gears ES1/ES2: Fix shared destruction | Sven Gothel | 2011-09-02 | 1 | -6/+19 |
| | |||||
* | Test Gears ES1/ES2: Fix lifecycle check (shared gears) | Sven Gothel | 2011-09-02 | 2 | -10/+14 |
| | |||||
* | TestParenting02NEWT: Don't move parent window -> lots of WM fighting / ↵ | Sven Gothel | 2011-09-02 | 1 | -2/+4 |
| | | | | flickering | ||||
* | Test GLSLSimpleProgram: Add proper destroy .. | Sven Gothel | 2011-09-02 | 1 | -0/+10 |
| | |||||
* | Gears/RedSquare ES1/ES2: Add proper destroy/init lifecycle incl. assertion ↵ | Sven Gothel | 2011-09-02 | 5 | -129/+200 |
| | | | | | | | | | checks; Use swapInterval ; RedSquareES2 use VBO RedSquareES2 use VBO. - On Windows/NV we had to re-issue (pass down to GPU) the vertex attribute data (vertex/color), otherwise glDrawArrays crashes .. Probably a GL impl. bug. Hence we use VBO to minimize the data upload. | ||||
* | Fix NEWT/Window/Windows: setSize/setPosition/reconfigure: 'nop size' -1x-1 ↵ | Sven Gothel | 2011-09-02 | 2 | -16/+9 |
| | | | | | | | -> 0x0 Windows: setPosition was invoking setSize (new size propagation) even w/ nop size, let WM event wmSize invoke setSize. | ||||
* | GLArrayDataWrapper: Allow vboTarget '0' -> no VBO | Sven Gothel | 2011-09-02 | 2 | -3/+3 |
| | |||||
* | test scripts .. | Sven Gothel | 2011-09-01 | 3 | -5/+9 |
| | |||||
* | Test TestBug463ScaleImageMemoryAWT: Use UI Locking and AWT-EDT create/dispose | Sven Gothel | 2011-09-01 | 1 | -15/+34 |
| | |||||
* | Test PIXMAP/BITMAP: Can't expect GL2/ES2 - might be SW OpenGL | Sven Gothel | 2011-09-01 | 1 | -3/+7 |
| | |||||
* | Test ElektronenMultiplizierer: Unix coding of shader source (failed on ↵ | Sven Gothel | 2011-09-01 | 2 | -2/+2 |
| | | | | Windows/NV) | ||||
* | TestScreenMode01NEWT: Validate window size after FS toggle | Sven Gothel | 2011-09-01 | 2 | -3/+11 |
| |