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

Changes

Summary

  1. Generalize SharedResourceRunner and use/impl it for WGL as well (besides (details)
  2. Add javaws test scripts (details)
  3. Windows RegisterClass: Use new RegisteredClassFactory (window class), (details)
  4. JAWTUtil: Eager initialization of AWT desktop props (details)
  5. GLProfile: initialize 1st, debug info later. (details)
  6. makeCurrent/release within closures (details)
  7. script updates (details)
  8. Adding misc NEWT docs/notes (details)
Commit c8807f6847e34d599b8bc9a476c84785e1925c8a by Sven Gothel
Generalize SharedResourceRunner and use/impl it for WGL as well (besides X11).

It seems necessary to use off thread shared resources (dummy window, drawable and context)
to keep them alive in Java Webstart.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java (diff)
The file was addedsrc/jogl/classes/com/jogamp/opengl/impl/SharedResourceRunner.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java (diff)
Commit f3512c700b2b3161eb773e77d0d41567acb710be by Sven Gothel
Add javaws test scripts
The file was addedmake/scripts/tests-javaws-x64.bat (diff)
The file was addedmake/scripts/tests-javaws.sh (diff)
Commit 48f6568ebffdd557651460fb5f3f7f4abbca2440 by Sven Gothel
Windows RegisterClass: Use new RegisteredClassFactory (window class), Misc.

This solves the issue when an applet is started/stop and started again,
or another applet runs in the same JVM.
Also soves the issue for multiple JVMs.

RegisteredClassFactory can be instanced to manage one shared window class,
currently in use for GDI's dummy window and NEWT.
A class base name and a window proc handle must be passed in the factory cstr.

Before registering, the class is tested if already exists,
eg another applet in the same JVM.
If registration fails, the class name will iterate until successful or MAX_INT reached,
eg if multiple JVMs are running.

Added NativeWindow Common Native Code.
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/windows/WindowsDisplay.java (diff)
The file was addedsrc/nativewindow/native/NativewindowCommon.h (diff)
The file was addedsrc/nativewindow/classes/javax/media/nativewindow/windows/RegisteredClassFactory.java (diff)
The file was modifiedmake/stub_includes/win32/wingdi.h (diff)
The file was addedsrc/nativewindow/classes/javax/media/nativewindow/windows/RegisteredClass.java (diff)
The file was modifiedsrc/nativewindow/native/windows/GDImisc.c (diff)
The file was modifiedmake/build-nativewindow.xml (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/AWTGLAutoDrawable.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/windows/WindowsWindow.java (diff)
The file was modifiedmake/config/nativewindow/win32-CustomJavaCode.java (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/impl/x11/X11Util.java (diff)
The file was modifiedsrc/newt/native/WindowsWindow.c (diff)
The file was modifiedmake/config/nativewindow/win32-lib.cfg (diff)
The file was modifiedsrc/junit/com/jogamp/test/junit/util/QuitAdapter.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsWGLDrawableFactory.java (diff)
The file was modifiedmake/stub_includes/win32/windows.h (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/windows/wgl/WindowsDummyWGLDrawable.java (diff)
The file was modifiedsrc/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java (diff)
The file was addedsrc/nativewindow/native/NativewindowCommon.c (diff)
The file was modifiedsrc/nativewindow/native/x11/Xmisc.c (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/impl/x11/X11Display.java (diff)
Commit ca1e14eee25536a217d682c66f9ad07d5bdf642e by Sven Gothel
JAWTUtil: Eager initialization of AWT desktop props

Triggers immediate AWT property resolution.
Would reproduce any javaws / AWT race condition.
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/impl/jawt/JAWTUtil.java (diff)
Commit 599e3eb630a59a9afbce45403c0567222e6065de by Sven Gothel
GLProfile: initialize 1st, debug info later.

Debug shall not change the startup behavior
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLProfile.java (diff)
Commit d720b43f8c75753e5ceed94c234688266786ba08 by Sven Gothel
makeCurrent/release within closures
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/impl/x11/glx/X11GLXDrawableFactory.java (diff)
The file was modifiedmake/scripts/tests-x32.bat (diff)
The file was modifiedmake/scripts/tests-javaws.sh (diff)
The file was modifiedmake/scripts/java-win64-dbg.bat (diff)
The file was modifiedmake/scripts/tests-javaws-x64.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/scripts/java-win32-dbg.bat (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
Commit 8df12ca151dfc577c90b485d4ebfe491b88e55aa by Sven Gothel
Adding misc NEWT docs/notes
The file was addeddoc/NEWT.txt (diff)