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

Changes

Summary

  1. GLDebugMessageHandler: Move Windows 32bit exclusion to init() block (details)
  2. GLDrawableFactory*.createOffscreenDrawable(): No implicit (details)
  3. New Interface 'OffscreenLayerOption', impl. by JAWTWindow (impl) and (details)
  4. MacOSXCGLContext Offscreen Layer: Throw exception in case drawable is (details)
  5. MaxOSXWindowSystemInterface: deleteContext / releaseNSOpenGLLayer: (details)
  6. test scripts (details)
  7. test scripts: add argument for java data-type (32 or 64 bit) ; Add OSX (details)
  8. JOGL junit.run: Add 32bit tests for OSX (fat binaries) (details)
  9. JAWT_DrawingSurface.c: Fail fast in case of NULL platformInfo or (details)
  10. No GLCanvas offscreen surface (as in NEWT) - test disabled (details)
Commit 5ebb4c2704711b4387f263484a5b820edffadf0a by Sven Gothel
GLDebugMessageHandler: Move Windows 32bit exclusion to init() block signaling no extension is available.
The file was modified src/jogl/classes/jogamp/opengl/GLDebugMessageHandler.java (diff)
Commit 47dc069104723f3d2e8d9ebdd700182e067163d0 by Sven Gothel
GLDrawableFactory*.createOffscreenDrawable(): No implicit setRealized(true) @ creation

GLDrawableFactory*.createOffscreenDrawable():
No implicit setRealized(true) @ creation, following deferred creation like onscreen drawables.
This allows using offscreen drawables in classes like GLCanvas, where realization is deferred due to pending valid size.
Only createGLPBuffer() realizes the offscreen pbuffer drawable immediatly to reduce the impact
on user-code.

GLDrawableFactoryImpl.createGLDrawable():
  - Simplify OffscreenLayerSurface validation and check it first regardless of the chosenCaps
    to get a chance to use pbuffer.
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXPbufferCGLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXOffscreenCGLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsPbufferWGLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/egl/EGLPbufferDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLDrawableHelper.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11PbufferGLXDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/GLDrawableFactoryImpl.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsBitmapWGLDrawable.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11PixmapGLXDrawable.java (diff)
Commit 8e0f3ad54b5aa8ef4d71e0b85f84a34be4987b5e by Sven Gothel
New Interface 'OffscreenLayerOption', impl. by JAWTWindow (impl) and NewtCanvasAWT/GLCanvas (delegation) ; Fix GLCanvas OffscreenLayerSurface usage.

JAWTWindow.destroy():
- No more getGraphicsConfiguration().getScreen().getDevice().close() call,
  since the configuration (hence the device) is passed @ creation and owned by the caller.

New Interface 'OffscreenLayerOption', impl. by JAWTWindow (impl) and NewtCanvasAWT/GLCanvas (delegation)
- Abstract offscreenLayer option to be delegated by using classes
- Allow offscreen testing of GLCanvas as well (like NewtCanvasAWT)

Fix GLCanvas OffscreenLayerSurface usage
- common 'createDrawableAndContext()' for context and drawable instance creation

- addNotify() calls createDrawableAndContext() after super.addNotify() to be able
  to lock the surface (JAWTWindow) and hence to determine offscreen usage.

- reshape(...) issues recreation 'dispose(true)' in case of using an offscreen layer

- dispose() explicitly destroys the JAWTWindow

NewtCanvasAWT:
- explicitly close the device of the JAWTWindow (as GLCanvas does)

Tests:
  com.jogamp.opengl.test.junit.newt.parenting.TestParentingOffscreenLayer01GLCanvasAWT
  com.jogamp.opengl.test.junit.newt.parenting.TestParentingOffscreenLayer02NewtCanvasAWT
The file was modified src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTWindow.java (diff)
The file was removedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01AWT.java (diff)
The file was addedsrc/nativewindow/classes/javax/media/nativewindow/OffscreenLayerOption.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01GLCanvasAWT.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer02NewtCanvasAWT.java (diff)
The file was modified src/nativewindow/classes/javax/media/nativewindow/OffscreenLayerSurface.java (diff)
Commit b5492631bbcfe23f9a6a292bfc5f53c7a7b8caec by Sven Gothel
MacOSXCGLContext Offscreen Layer: Throw exception in case drawable is not realized or texture size is invalid.
The file was modified src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
Commit ae099e6623cf973193647495a27bcd4b25230c4a by Sven Gothel
MaxOSXWindowSystemInterface: deleteContext / releaseNSOpenGLLayer:
- release on main-thread doesn't wait anymore
- use recursive lock
The file was modified src/jogl/native/macosx/MacOSXWindowSystemInterface.m (diff)
The file was modified src/jogl/native/macosx/MacOSXWindowSystemInterface-pbuffer.m (diff)
The file was modified make/scripts/tests-x32.bat (diff)
The file was modified make/scripts/tests-x64.bat (diff)
Commit d70ba0240cb46cb72c4340fca822178a5a28cc12 by Sven Gothel
test scripts: add argument for java data-type (32 or 64 bit) ; Add OSX 32/64 bit test script.
The file was modified make/scripts/tests-armv7l_eabi.sh (diff)
The file was modified make/scripts/tests-x64.sh (diff)
The file was modified make/scripts/tests-solx32.sh (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified make/scripts/tests-solx64.sh (diff)
The file was addedmake/scripts/tests-osx-x64.sh (diff)
The file was removedmake/scripts/tests-osx.sh (diff)
The file was modified make/scripts/tests-x32.sh (diff)
Commit 5ae7fe56614cb8abaf389f945cec2ba1db262479 by Sven Gothel
JOGL junit.run: Add 32bit tests for OSX (fat binaries)
The file was modified make/build-nativewindow.xml (diff)
The file was modified make/build-test.xml (diff)
Commit a257c96564e3afa9d030e348392f464cacd55ea7 by Sven Gothel
JAWT_DrawingSurface.c: Fail fast in case of NULL platformInfo or sizeof(platformInfo)==0
The file was modified src/nativewindow/native/JAWT_DrawingSurfaceInfo.c (diff)
Commit 7ce81cb9ec3d19cadad78a4814a94e2df7419122 by Sven Gothel
No GLCanvas offscreen surface (as in NEWT) - test disabled
The file was modified make/scripts/tests.sh (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/parenting/TestParentingOffscreenLayer01GLCanvasAWT.java (diff)