Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Unstable

Changes

Summary

  1. TestGearsES2NEWT/TestGearsES2NewtCanvasAWT: Add -noanim option to (details)
  2. OSX/NEWT: Fix native window parenting freeze, invisible/orderOut0, (details)
  3. MacOSXCGLContext: NPE in DEBUG mode while releaseNSOpenGLLayer on (details)
  4. OSX/NEWT: Fix visible -> false when closing and reparenting window. This (details)
Commit 30b2490eef5069214eb6cc0c1b18ddb62c15123b by Sven Gothel
TestGearsES2NEWT/TestGearsES2NewtCanvasAWT: Add -noanim option to manually validate Bug 649
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NewtCanvasAWT.java (diff)
Commit ec50802db11f897a49a6f9e716186c700411ece5 by Sven Gothel
OSX/NEWT: Fix native window parenting freeze, invisible/orderOut0, Position bugs w/ parenting

Fix native window parenting freeze:

  - Pull out setJavaWindowObject(..) of changeContentView(..) to be called seperately,
    add param for changeContentView(..) to enable/disable setJavaWindowObject()

  - initWindow0(..):
    - Call changeContentView(..) w/o setJavaWindowObject()
    - setJavaWindowObject(..) at end of initialization

Fix native window parenting orderOut0:
  If parent window is invisible or no parent used call orderOut(..),
  otherwise call orderBack().

Fix updatePosition(..): positionChanged(..) - Position bug w/ parenting
  - AWT parent passed 0/0
  - call positionChanged(..) w/ client-pos instead of screen-pos

Fix getLocationOnScreenImpl(..) - Position bug w/ parenting
  - Position < 0/0 is valid!

Misc:
  - setWindowClientTopLeftPointAndSize0(..), setWindowClientTopLeftPoint0(..):
    Add 'display' param, deciding whether area should be display (invalidated)
The file was modified src/newt/classes/jogamp/newt/awt/event/AWTParentWindowAdapter.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/DriverUpdatePosition.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modified src/newt/native/MacWindow.m (diff)
Commit 23acd1f063cfd8519be57f867cbafe748094756d by Sven Gothel
MacOSXCGLContext: NPE in DEBUG mode while releaseNSOpenGLLayer on main-thread, drawable maybe null already
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
Commit 9dcd8bba63cfbcd6e72c855065cf4dafdbcf037e by Sven Gothel
OSX/NEWT: Fix visible -> false when closing and reparenting window. This lead to non functional recreational reparenting.

OSX recreational reparenting moves the saved GLEventListenerState at destroy
to the new dawable/surface, which must be valid.
The flaky visible state caused seemingly random reparenting failures.

- WindowImpl.ReparentActionRecreate.run() set 'visible:=true', which circumvented OSX to wait for actual realization.
- OSX WindowDriver.closeNative(): Issue visibleChanged(true, false); ASAP
The file was modified make/scripts/tests.sh (diff)
The file was modified src/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)