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

Changes

Summary

  1. JAWTUtil/MacOSXWindowSystemInterface-pbuffer: Cleanup / More DEBUG info (details)
  2. Fix Bug #589 (JAWT Offscreen-Layer resize) and Offscreen-Layer (details)
Commit c50fca1b5df9ec3b76fada4dd5dd307bdece531a by Sven Gothel
JAWTUtil/MacOSXWindowSystemInterface-pbuffer: Cleanup / More DEBUG info

JAWTUtil.getJAWT(..):
  - better local var names
  - one time init
  - add DEBUG trace
JAWTUtil.<init>:
  - add offscreenLayer info

MacOSXWindowSystemInterface-pbuffer.m:
  - remove warning: access of protected vars from outside class
  - better local var names
  - more DEBUG info (pbuffer texture)
The file was modified src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java (diff)
Commit 9a7c8896fe38ebcd42ed5238b09a7a36d46db9dc by Sven Gothel
Fix Bug #589 (JAWT Offscreen-Layer resize) and Offscreen-Layer setSwapInterval() deadlock; Reuse JAWT instance; Cleanup

- Fixes
  - OSXUtil.CreateCALayer*(..): Pass layer target size (if known).
    This fixes Bug #589

  - MacOSXWindowSystemInterface-pbuffer.m:
     - ALL: displayLink NULL check

     - setSwapInterval(..): lock only for variable setting,
       could deadlock when start/stop CVDisplayLink

  - JAWTWindow.destroy(): use 'surfaceLock' instead of 'synchronized'

- Cleanup / Performance
  - JAWTWindow.lockSurface(): Reuse JAWT instance

  - MacOSXJAWTWindow: AttachJAWTSurfaceLayer0(..) -> SetJAWTRootSurfaceLayer0(..)
                      Reflects semantic better.

- DEBUG
  - JAWTWindow.updateBounds(..) notify of bounds change
The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
The file was modified src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/awt/TestGearsES2AWT.java (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/macosx/MacOSXJAWTWindow.java (diff)
The file was modified src/nativewindow/native/macosx/OSXmisc.m (diff)