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

Changes

Summary

  1. NEWT EDT: Fix dbl-chk-locking, runOnEDT fast-path, enqueEvent dispatch (details)
  2. NEWT WindowImpl EDT fixes (details)
  3. unit tests: Gears, TestGearsNEWT, WindowImplAccess (details)
Commit 30839d5a645d91ba6ea0b7f7f8150afac36bb215 by Sven Gothel
NEWT EDT: Fix dbl-chk-locking, runOnEDT fast-path, enqueEvent dispatch immed. if on EDT
The file was modifiedsrc/newt/classes/jogamp/newt/DisplayImpl.java (diff)
Commit 5681c25cfd4c7abce7d653910c9aa7a4e989057e by Sven Gothel
NEWT WindowImpl EDT fixes

- 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).
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit a65516db85582ac3391b4a3d978ac07b9e1e6951 by Sven Gothel
unit tests: Gears, TestGearsNEWT, WindowImplAccess

Gears (add cursor rotation)

TestGearsNEWT (add decoraction toggle 'd')

WindowImplAccess NEWT Closing tests .. programmatical close on EDT,
which simulates 1:1 native closing operation.
The file was modifiedsrc/test/jogamp/newt/WindowImplAccess.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/newt/TestGearsNEWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/gears/Gears.java (diff)