SuccessChanges

Summary

  1. NEWT: Enhance FullScreen.run DEBUG output a bit; NEWTDemoListener ignore input if not visible. (details)
  2. Bug 1423: NEWT Child Window on OSX: Don't use parent derived location in fullscreen mode (details)
  3. Bug 1374: NEWT/AWT: Annotation regarding general High-DPI for even non native DPI toolkit aware platforms (Linux, Windows) (details)
  4. Bug 1422: Windows test*.bat: Add C:\temp to PATH, allowing picking up custom libraries for testing (details)
  5. When explicitly generating native header, avoid implicit referenced classes. (details)
Commit a1bc7ebb1b66f445a5134e4ed4b6ff6118291c51 by Sven Gothel
NEWT: Enhance FullScreen.run DEBUG output a bit; NEWTDemoListener ignore input if not visible.
The file was modifiedsrc/newt/classes/com/jogamp/newt/opengl/util/NEWTDemoListener.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit e03204605f95dc3586d8e3582250211954542be5 by Sven Gothel
Bug 1423: NEWT Child Window on OSX: Don't use parent derived location in fullscreen mode

WindowDriver OSX: useParent(..) -> useParentLocation(..) and add !isFullscreen() as a criteria to use the parent derived location.
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
Commit ba83a59363023ba0cc314746d7864ccf2cdd4d7a by Sven Gothel
Bug 1374: NEWT/AWT: Annotation regarding general High-DPI for even non native DPI toolkit aware platforms (Linux, Windows)

NEWT + NewtCanvasAWT:

Maybe create "interface ScalableSurface.Upstream {
  void pixelScaleChangeNotify(final float[] curPixelScale, final float[] minPixelScale, final float[] maxPixelScale); }"

to allow downstream to notify upstream ScalableSurface implementations like NEWT's Window to act accordingly.

+++

AWT GLCanvas: Add remark where to add the potential pixel scale.
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/awt/GLCanvas.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit 8e5dae78bb99a0fbcd5593e91c2b08e84dd639e4 by Sven Gothel
Bug 1422: Windows test*.bat: Add C:\temp to PATH, allowing picking up custom libraries for testing

Used for testing Bug 1422 on Windows via qemu-kvm
using Mesa 19.3.2 <https://github.com/pal1000/mesa-dist-win/releases>.

Here I dropped the native libs to C:\temp and moved the C:\Windows\System32\OpenGL32.dll
out of sight by renaming it.
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was modifiedmake/scripts/tests-x64.bat (diff)
Commit 77ae1b75f3c6feab97a4fffea44aadbd6e1d0b15 by Sven Gothel
When explicitly generating native header, avoid implicit referenced classes.

Thanks to Phil Jordan, who is debating certain build issues of JOGL with me,
we figured that certain generated header files ended up in the wrong build folder.
E.g. on GNU/Linux, jogamp_nativewindow_windows_GDI.h ended up in build-x86_64/nativewindow/gensrc/native/drm/

This happens due to the new java11 way of generating header files using javac.
Per default, all referenced files are being compiled and header files were generated
in this case for all of them using the given '-h location' argument.
Since nativewindow generates headers for the new drm functionality first (where available),
all headers of all included referenced classes ended up in this drm build location.
Subsequent javac was skipped 'thanks' to the already existing class files ;-)

This patch disables implicit class file creation when explicitly generating headers only
using the javac argument '-implicit:none'.

This is done for the whole JOGL project (nativewindow, jogl and newt).
Other JogAmp modules should not be concerned due to the lack of overspecific
platform parts ..
The file was modifiedmake/build-newt.xml (diff)
The file was modifiedmake/build-jogl.xml (diff)
The file was modifiedmake/build-nativewindow.xml (diff)