Skip to content
Success

Changes

Summary

  1. Use new JNILIbLoaderBase addNativeJarLibs(all, atomic) for JOGL, (details)
  2. Cleanup DefaultEDTUtil: Generics and DEBUG (details)
  3. OSX: Sync MainThread w/ DefaultEDTUtil and proper deledation AWT EDT, (details)
  4. CreateWindow set visible; lockSurface: lock AWT if available (details)
  5. test scripts (details)
  6. NativeWindow/OSX: Add nativewindow_macosx lib and (details)
  7. NEWT/JOGL: MacOSX Update (details)
Commit a1b4e9acb011f41698775f1fee0041e88d09613f by Sven Gothel
Use new JNILIbLoaderBase addNativeJarLibs(all, atomic) for JOGL, NativeWindow and NEWT; no more LD_LIB_.. in setenv.sh for test scripts
The file was modifiedmake/scripts/setenv-jogl.sh (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/NWJNILibLoader.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/GLProfile.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/NEWTJNILibLoader.java (diff)
Commit d24147ddf6b43246d4156203fe43c6ae45df55a0 by Sven Gothel
Cleanup DefaultEDTUtil: Generics and DEBUG
The file was modifiedsrc/newt/classes/jogamp/newt/DefaultEDTUtil.java (diff)
Commit 187e0b768e28c7cb712a00bcd6f103d3a7bd64c5 by Sven Gothel
OSX: Sync MainThread w/ DefaultEDTUtil and proper deledation AWT EDT, MacWindow: create/visible at native creation
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/util/MainThread.java (diff)
Commit 71d13d8a581ffa68a9a8c3c690c1fa9ea76663ba by Sven Gothel
CreateWindow set visible; lockSurface: lock AWT if available
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
Commit b72bedc93e4dca6d3c55cae0cc811cb4baac13e0 by Sven Gothel
NativeWindow/OSX: Add nativewindow_macosx lib and nativewindow.os.macosx.jar for 'GetLocationOnScreen()'
The file was addedsrc/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
The file was modifiedsrc/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/jawt/macosx/MacOSXJAWTWindow.java (diff)
The file was modifiedmake/build-nativewindow.xml (diff)
The file was modifiedmake/build-common.xml (diff)
The file was addedsrc/nativewindow/native/macosx/OSXmisc.c (diff)
Commit e5ab975727134d8249277f4df707b2b14a7788f3 by Sven Gothel
NEWT/JOGL: MacOSX Update

Feature related:

- Added always-on-top

- Added translucency

- Child Window Position

  - AWT parent: manual traverse up the tree and calc position on screen
    (Problem: the parent view rect is not at the proper position,
     but covers the whole frame)

EDTUtil related:

- Works now w/ AWT ot headless (again)

- OSX native JNI callbacks gathering JNIEnv properly
  and attaches/detaches thread.

- AWT case: using AWT-Event which properly dispatches our cocoa events

- MainThread (headless) case: Fork off thread w/ main class
  and kick off NSApp run().
  This leads to same behavior as w/ AWT case.

- Using DefaultEDTUtil

- Cleanup MainThread (implements EDTUtil)
  - Currently not used as EDTUtil (osx), just as launcher
  - Removed EDTUtil impl code, reuse DefaultEDTUtil

- Cleanup AWTEDTUtil (implements EDTUtil)
  - Currently not used as EDTUtil (osx)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedmake/stub_includes/opengl/macosx-window-system.h (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLGraphicsConfiguration.java (diff)
The file was modifiedsrc/jogl/native/macosx/MacOSXWindowSystemInterface.m (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/util/MainThread.java (diff)
The file was modifiedsrc/newt/native/NewtCommon.h (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.h (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.m (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/DisplayImpl.java (diff)
The file was modifiedsrc/newt/native/MacWindow.m (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/MacDisplay.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/awt/AWTEDTUtil.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/MacWindow.java (diff)
The file was modifiedsrc/newt/native/NewtCommon.c (diff)