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

Changes

Summary

  1. GLContext: Remove integer-key based attach/detach object - use String (details)
  2. Fix Android/NEWT WindowDriver: Add missing eglDestroySurface() in (details)
  3. Fix Android Power-suspend and Power-resume (details)
  4. Android: Bump version.code: 914011 (details)
Commit 6d241fc2a46413ee478985d676d2481c5a7ed119 by Sven Gothel
GLContext: Remove integer-key based attach/detach object - use String based (minor API change)

The integer based attachement is currently not used
and since it has no benefit over the String based hash map - remove it.
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLContext.java (diff)
Commit ab3ec08822e7958943686a7ba5157a4ff314e7ac by Sven Gothel
Fix Android/NEWT WindowDriver: Add missing eglDestroySurface() in closeNativeImpl(); Complete visibleChanged() in reconfigureWindowImpl() even if resize or reposition can't be handled

Add missing eglDestroySurface() in closeNativeImpl()
  - missing egl surface destruction leaked it's resource ..

Complete visibleChanged() in reconfigureWindowImpl() even if resize or reposition can't be handled
  - properly detect resize and reposition request, warn if this action cannot be completed
    but contine w/ workflow -> visibleChanged()

  - this allows properly handling of setVisible(..) and it's visible-changed detection polling
The file was modifiedsrc/newt/classes/jogamp/newt/driver/android/WindowDriver.java (diff)
Commit 8516fe0358805e8549a96cde785dfa7ac2576e87 by Sven Gothel
Fix Android Power-suspend and Power-resume

NewtBaseActivity onPause()/onResume(): add setVisible(..) allowing recreation and avoid usage of unavail resources
  - crucial for power suspend/resume, which itself calls activity onPause()/onResume(),
    this ensures resources are not used onPause().

  - Animator suspend is not sufficient due to surfaceRedrawNeeded(..) hook etc ..

  - iff power suspend leads to surfaceDestroyed(..), recreation is now possible due to setVisible(true) on onResume()
    even though I have not observed this on Android 2.3 and 4.0.1

Tested on Android 2.3 and Android 4.0.1
The file was modifiedsrc/test/com/jogamp/opengl/test/android/NEWTGearsES2ActivityLauncher.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/android/NewtBaseActivity.java (diff)
Commit 3ee639687c4d1e2431066f7dfe7a922b569079ec by Sven Gothel
Android: Bump version.code: 914011
The file was modifiedmake/versions.xml (diff)