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

Changes

Summary

  1. Bug 729: OSX CALayer shall honor the Component's visibility state (details)
  2. test scripts (test Bug 729 w/ TestAWTCardLayoutAnimatorStartStopBug532) (details)
  3. Bug816 OSX CALayer: getLocationOnScreenNonBlocking(..) stop traversing (details)
  4. Bug 729: OSX CALayer invisible needs to have opacity 0 to not show (details)
Commit 3b02a219b1b9e446e87df1beb7da4266f74824fa by Sven Gothel
Bug 729: OSX CALayer shall honor the Component's visibility state

A once visible CALayer (GLCanvas) must be able to become invisible w/o destruction,
e.g. as required by CardLayout's switching cards.

See unit test for Bug 532: 'TestAWTCardLayoutAnimatorStartStopBug532'

Out native 'fixCALayerLayout(..)' takes the visible state as tracked by JAWTWindow's ComponentListener
and sets our CALayer (root and sub) hidden state accordingly.

Now MacOSXJAWTWindow's layoutSurfaceLayerImpl(..) always calls down to 'fixCALayerLayout(..)'
due to update the visibility state.
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
The file was modifiedsrc/nativewindow/native/macosx/OSXmisc.m (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/jawt/macosx/MacOSXJAWTWindow.java (diff)
Commit 703fcd2a237f26c11421bf3ca85beaca4479c9e2 by Sven Gothel
test scripts (test Bug 729 w/ TestAWTCardLayoutAnimatorStartStopBug532)
The file was modifiedmake/scripts/tests.sh (diff)
Commit ae103ba597464ca25071950af7afe012e2b86c13 by Sven Gothel
Bug816 OSX CALayer: getLocationOnScreenNonBlocking(..) stop traversing at top-level heavyweight Window, fixes [J]Dialog use case.

Top-level heavyweight Window's position is it's position on screen, hence stop traversing.

Thx to Emmanuel Puybaret for pointing this out.

Adding Dialog and JDialog unit tests as inspired by Emmanuel Puybaret.
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPos01AWT.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPos02AWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPos03AWT.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPos04aAWT.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPos04bAWT.java (diff)
Commit ff86d8398ce66abddff4cbada8eabd1314a11d7b by Sven Gothel
Bug 729: OSX CALayer invisible needs to have opacity 0 to not show hidden component.

Completes commit 3b02a219b1b9e446e87df1beb7da4266f74824fa

See unit test: TestBug816OSXCALayerPos03AWT
The file was modifiedsrc/nativewindow/native/macosx/OSXmisc.m (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPos03AWT.java (diff)