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

Changes

Summary

  1. Fix AWT Printing: Use delegated GLDrawable's size for tile-size instead (details)
  2. TileRendererBase.GLEL.display(): Skip tile-rendering if TR is not yet (details)
  3. AWT Printing: releasePrint() issue reshape from AWT-EDT; GLJPanel: Issue (details)
  4. Fix TileRenderer regression of commit (details)
  5. GLJPanel: Remove forced DEBUG .. at handleReshape in releasePrint (added (details)
Commit c943c8cfc39df64ec6682722e86a54c538d3497b by Sven Gothel
Fix AWT Printing: Use delegated GLDrawable's size for tile-size instead of AWT-GLAD's size, since the latter uses AWT's component size.

.. the AWT component size could have been modified after setupPrinting(..).

The AWT-GLAD getWidth() and getHeight() is implemented by AWT's component
and hence may not reflect the actual GLDrawable size while printing.
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
Commit c8abb9d2c9a8c92f0c5c42aba13e3e80c69739dc by Sven Gothel
TileRendererBase.GLEL.display(): Skip tile-rendering if TR is not yet setup. Sync issue w/ NEWT/AWT based GLAD

NEWT based GLDrawables may trigger GLAD display() via native repaint events.

If using in conjunction w/ AWT, i.e. NewtCanvasAWT and setupPrinting(..) has been called
and it's attched to the TR .. it could happen that display tries to issue beginTile()
before the TR is being setup.

This patch mitigates this issue (while not removing it) by querying whether setup is completed.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/TileRenderer.java (diff)
Commit fe284b515d984198fdbe702837809f181625a457 by Sven Gothel
AWT Printing: releasePrint() issue reshape from AWT-EDT; GLJPanel: Issue 'handleReshape' if panelSize/awtSize mismatch, otherwise 'sendReshape' and exception if offscreen size doesn't match panelSize.
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TiledPrintingAWTBase.java (diff)
Commit 67200852b972f244ecc19d0c54b2f8d8080b0824 by Sven Gothel
Fix TileRenderer regression of commit c8abb9d2c9a8c92f0c5c42aba13e3e80c69739dc: Test isSetup() _after_ running glEventListenerPre.

glEventListenerPre may be utilized to setup the TileRenderer.
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java (diff)
Commit afe6260776fcb61a2dba5c69f819ba9a7987afab by Sven Gothel
GLJPanel: Remove forced DEBUG .. at handleReshape in releasePrint (added w/ commit fe284b515d984198fdbe702837809f181625a457)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)