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

Changes

Summary

  1. GLJPanel/Printing: Perform backend.reshape immediatly after printing if (details)
  2. test scripts/setenv-jogl.sh: Remove JogAmp *LD_LIBRARY_PATH components. (details)
  3. GLJPanel/AWTGLPixelBuffer: Reused BufferedImage didn't account for (details)
Commit ac1901608c62ae1c5b82bccc3b2a70193031d5f0 by Sven Gothel
GLJPanel/Printing: Perform backend.reshape immediatly after printing if resized; Add unit test for resize while printing.

Perform immediatly reshape at releasePrint on AWT-EDT:
  - sendReshape = handleReshape(); // reshapeSize -> panelSize, backend reshape w/ GL reshape
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TiledPrintingAWTBase.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT2.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsNewtAWT.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java (diff)
Commit 00062e490f0b0cc2944a2167f2f00149c8ba352e by Sven Gothel
test scripts/setenv-jogl.sh: Remove JogAmp *LD_LIBRARY_PATH components.
The file was modifiedmake/scripts/setenv-jogl.sh (diff)
Commit 543c8649f43fdc43028075d7472ad553299271bf by Sven Gothel
GLJPanel/AWTGLPixelBuffer: Reused BufferedImage didn't account for row-stride (regression of b33bdf41cf53f37203643a8551bf5d94b42a8fab)

SingleAWTGLPixelBufferProvider w/ allowing row-stride reuses the AWTGLPixelBuffer and it's BufferedImage
even w/ different width.

This leads to distortion if using the BufferedImage unhandled.

GLJPanel also set GL_PACK_ROW_LENGTH to pixelBuffer.width, which leads to an 'out-of-bounds'
exception if ReadPixels is used w/ panelwidth and panelHeight.

++

Introduce AWTGLPixelBuffer.getAlignedImage(width, height) which returns an aligned
BufferedImage while reusing the DataBuffer.

GLJPanel fetches a new alignedImage if required.

This allows a more efficient single buffer usage as intended, w/o the need of copying data.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/awt/AWTGLPixelBuffer.java (diff)
The file was modifiedsrc/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)