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

Changes

Summary

  1. Fix macosx compilation (details)
  2. Fix macosx NEWT warnings (details)
  3. Minor cleanup: strings, unused vars, .. (details)
  4. NativeWindow: Provide 'setX11ErrorHandler(boolean onoff)' (details)
  5. JOGL DrawableFactory/AWT: Only use AWT factory if AWT is enabled (details)
  6. JOGL GLContextImpl: Trigger ProcAddressTable mapping via (details)
  7. JOGL/X11: Fix context scanning, misc simplifications .. (details)
  8. NEWT: ScreenModeUtil fix, misc changes (details)
  9. NEWT Window Lifecycle / ScreenMode: (details)
Commit bac49fd604747524e74249b693a9438b62651ddb by Sven Gothel
Fix macosx compilation
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
Commit 81c02065e28113ffed021b0c69cccc3d4747c6b1 by Sven Gothel
Fix macosx NEWT warnings
The file was modifiedsrc/newt/native/MacWindow.m (diff)
Commit af3de7dd59bcebde68f3928868b5dde198978854 by Sven Gothel
Minor cleanup: strings, unused vars, ..

DEBUG strings w/ thread name

nativewindow.TraceLock -> nativewindow.debug.ToolkitLock.TraceLock

Sync Xmisc (DummyWindow) with NEWT's creation

test scripts: awt and non-awt usage
The file was modifiedsrc/nativewindow/classes/javax/media/nativewindow/ToolkitLock.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/egl/EGLContext.java (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedsrc/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modifiedmake/scripts/java-run-all.sh (diff)
The file was modifiedmake/scripts/tests2.sh (diff)
The file was modifiedsrc/nativewindow/native/x11/Xmisc.c (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/impl/ProxySurface.java (diff)
Commit 2b24c35472c0cb570674833ea1626df47fb0d721 by Sven Gothel
NativeWindow: Provide 'setX11ErrorHandler(boolean onoff)'
The file was modifiedsrc/nativewindow/native/x11/Xmisc.c (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java (diff)
Commit 034cab60ee08f0a5ee175b6ad81a188b35d7f301 by Sven Gothel
JOGL DrawableFactory/AWT: Only use AWT factory if AWT is enabled

.. and a little cleanup in the X11 SharedResourceRunner
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/macosx/cgl/MacOSXCGLDrawableFactory.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java (diff)
Commit 714e9375bbba134d333e50adf63cdd9237eb21af by Sven Gothel
JOGL GLContextImpl: Trigger ProcAddressTable mapping via 'setGLFunctionAvailability' call while scanning all available context.

.. also reorder context scanning from low -> high
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/GLContextImpl.java (diff)
Commit f3c59f7491e0912d6f81e1f6218aecef381533bb by Sven Gothel
JOGL/X11: Fix context scanning, misc simplifications ..

Fix context scanning
---------------------
Ie on 3.0 NVidia systems, trying to create a 4.1 context leads
to a BadAlloc X11 error.
A prev patch disabled the X11 error handler, to reduce sideeffects.
In case AWT is not being used, the BadAlloc isn't catched and the JVM freezes
within the native function call.

Decorating context scanning with NativeWindow's 'setX11ErrorHandler' solves this issue.

Simplifications
-----------------
X11: always try a direct context. If this is not possible due to the display connection,
an indirect is being used anyways. Hence 'createContext(boolean direct)' -> 'createImpl()'.

X11/WGL: Simplify the context creation logic a bit.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXContext.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11OnscreenGLXContext.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11PbufferGLXContext.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11ExternalGLXDrawable.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11OffscreenGLXContext.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLContext.java (diff)
Commit 701cc44d7b2c9f0b7fd977ca29951c2fb779ce2f by Sven Gothel
NEWT: ScreenModeUtil fix, misc changes

ScreenModeUtil fix:
- return 'null' for an empty list, check if list is null or empty.
- remove 'validate'

Window: TIMEOUT_NATIVEWINDOW 500 -> 1000 ms
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/ScreenImpl.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/util/ScreenModeUtil.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/Window.java (diff)
Commit a0e9d6c8382b7275db6fae664be44db6b59671d5 by Sven Gothel
NEWT Window Lifecycle / ScreenMode:

Lifecycle.reparentActionPre()/reparentActionPost() -> pauseRenderingAction()/resumeRenderingAction()
for a more generic use, ie reparenting and screen mode change.

ScreenMode change: No more visibility/fullscreen changes, no more locking,
                   just pause/resume animation.

X11 ScreenMode set: move from thread/wait to simple polling over time (timeout)
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/WindowImpl.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/opengl/GLWindow.java (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedmake/scripts/tests2.sh (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/x11/X11Screen.java (diff)