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

Changes

Summary

  1. AWTPrintLifecycle: Add DEFAULT_PRINT_TILE_SIZE (512); Remove unused (details)
  2. AWT Printing: AWTTilePainter needs to handle null clip! (details)
  3. Gears*: Clarify frustum calculation for tiling (details)
  4. TestTiledPrintingGearsSwingAWT: Add a second demo GLEventListener (details)
  5. RedSquareES2: Fix tiled aspect ratio (details)
  6. Add 2nd 'demo' canvas to the other tiled printing tests. (details)
  7. Gears, GearsES2, RedSquareES2: Proper debug output for init, reshape and (details)
  8. Fix TileRendererBase Bug: Avoid multiple GLEL init(..) call. (details)
  9. Relocate FFMPEGNatives.initIDS0() -> FFMPEGStaticNatives.initIDS0(); (details)
  10. Add support for clang ; Use __APPLE__ predefined macro (details)
  11. Complete commit 4b866d2686ab9c3fd7cf6708925b4663ad81e359: Relocate (details)
  12. AWTTilePainter: Fix null clip-rect (consider scaling); Fix non (details)
  13. TileRenderer: Add and expose clipped image size; Expose size of tiles. (details)
  14. Fix AWT printing issues w/ overlapping and/or non-opaque contents ; (details)
  15. Updating doc AWTPrinting.txt (details)
  16. Add 'DirectDataBufferInt' supporting NIO based BufferedImages (details)
  17. TestTiledPrintingNIOImageSwingAWT: Add layered test ; Use 300dpi instead (details)
  18. Print Tests: Split 'Printable' to own class, add OffscreenPrintable (details)
  19. AWT Printing: Move init-test of setupPrint(..) to AWT-EDT Runnable ; (details)
  20. Fix SharedResourceRunner's potential race-conditions. Use top-level (details)
  21. AWTTilePainter: Fix DEBUG message (used wrong value at println) (details)
  22. RedSquareES1: Add TileRendererBase.TileRendererNotify (details)
  23. AWTTilePainter: Fix case with no GLOrientation, i.e. no vertical-flip. (details)
  24. AWT Print Tests: Only include 600dpi tests if requested via main arg (details)
  25. AWTTilePainter.setupGraphics2DAndClipBounds(): Use 'Shape getClip()'; (details)
  26. Bump to JDK/JRE 7u40. (details)
Commit badc13213bcf952830afe606ba71683540aba5a3 by Sven Gothel
AWTPrintLifecycle: Add DEFAULT_PRINT_TILE_SIZE (512); Remove unused imports.
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/AWTPrintLifecycle.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
Commit 597ca0edc8ba536e82494b56bd1bbd6f8290efa6 by Sven Gothel
AWT Printing: AWTTilePainter needs to handle null clip!
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
Commit d2be196ba129ff5b690189a95ba21137523c3352 by Sven Gothel
Gears*: Clarify frustum calculation for tiling
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
Commit 569c538b439275222ed40c249f4ecd7516c2945b by Sven Gothel
TestTiledPrintingGearsSwingAWT: Add a second demo GLEventListener showing it's working/scaling well; Adding TileRendererBase.TileRendererNotify to RedAquareES2 having a 3rd demo case.
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
Commit 8d212bec7f6968a3d7e7af6bbbe9c394820f2a65 by Sven Gothel
RedSquareES2: Fix tiled aspect ratio
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java (diff)
Commit cc27031a8199cdd9d9702d936af6e5d23c12e7d8 by Sven Gothel
Add 2nd 'demo' canvas to the other tiled printing tests.
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsNewtAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsAWT.java (diff)
Commit 52820ff19070a8ae9f3966d8c8da42265f1481c2 by Sven Gothel
Gears, GearsES2, RedSquareES2: Proper debug output for init, reshape and dispose
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/RedSquareES2.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java (diff)
Commit 5e3ee6c19a4291b309deb572d434f1c5df975024 by Sven Gothel
Fix TileRendererBase Bug: Avoid multiple GLEL init(..) call.
The file was modified src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java (diff)
Commit 4b866d2686ab9c3fd7cf6708925b4663ad81e359 by Sven Gothel
Relocate FFMPEGNatives.initIDS0() -> FFMPEGStaticNatives.initIDS0(); Cleanup up warnings and includes (clang).
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGv09Natives.java (diff)
The file was modified src/jogl/native/libav/ffmpeg_impl_template.c (diff)
The file was modified make/build-jogl.xml (diff)
The file was modified src/jogl/native/libav/ffmpeg_dshow.h (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGDynamicLibraryBundleInfo.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGv08Natives.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGStaticNatives.java (diff)
The file was modified src/jogl/native/libav/ffmpeg_static.c (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGNatives.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGv10Natives.java (diff)
Commit 5dce252bfcc49995c2bda1d91e010c4c73f71ddb by Sven Gothel
Add support for clang ; Use __APPLE__ predefined macro
The file was modified src/nativewindow/native/JAWT_DrawingSurfaceInfo.c (diff)
The file was modified make/config/jogl/gl3-headers.cfg (diff)
The file was modified make/config/jogl/glu-gl2.cfg (diff)
The file was addedmake/scripts/make.jogl.all.macosx-clang.sh (diff)
The file was modified make/config/jogl/gl-headers.cfg (diff)
Commit 77196201f7e9ae3ceed493fb025264c90ed9a554 by Sven Gothel
Complete commit 4b866d2686ab9c3fd7cf6708925b4663ad81e359: Relocate FFMPEGNatives.initIDS0() -> FFMPEGStaticNatives.initIDS0(); Cleanup up warnings and includes (clang); Forgot to commit new ffmpeg_static.h
The file was addedsrc/jogl/native/libav/ffmpeg_static.h (diff)
Commit 52f348c1a58e12c16bea87cf6951be344b8663ed by Sven Gothel
AWTTilePainter: Fix null clip-rect (consider scaling); Fix non GL-oriented drawable, skip vertical flip and use 1:1 y-coord.
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
Commit 5a946df8fd812570826f267d4123b59d79c97cf7 by Sven Gothel
TileRenderer: Add and expose clipped image size; Expose size of tiles.

Add clipping of the image-size and hence differentiate the image-size and
the size the tile-renderer iterates through.

The original image-size is required for the opengl reshape and rendering,
where the clipping size may restrict the range of rendering.
The file was modified src/jogl/classes/com/jogamp/opengl/util/TileRenderer.java (diff)
Commit c2ce31e11eefcf1b900c0e9b41264f5d5566dc46 by Sven Gothel
Fix AWT printing issues w/ overlapping and/or non-opaque contents ; Change AWTPrintLifecycle's lifecycle

- AWTPrintLifecycle:
  - Should decorate:
       PrinterJob.print(..),
    instead of within Printable.print(..) { .. container.printAll(..); .. }

    This is due to AWT print implementation, i.e.
    AWT will issue Printable.print(..) multiple times for 'overlapping'
    or non-opaque elements!

  - Move from javax.media.opengl.awt -> com.jogamp.nativewindow.awt
  - Make _interface_ AWT agnostic, i.e. remove Graphics2D from 'setup(..)'
  - Add 'int numSamples' to 'setup(..)' to determine the number of samples

- AWTTilePrinter:
  - Use double precision when scaling image-size and clip-rect,
    then round them to integer values.
    Otherwise AWT will use the bounding box for the clipping-rectangular.

  - Clip negative portion of clip-rect,
    this removes redundant overpaints, as well as increasing the tile count
    due to the increased clipping-size.

  - Clip the image-size in the tile-renderer according to the clip-rect.

  - DEBUG_TILES: Dump tiles to file

  - Use sub-image of final BuffereImage instead
    of adding another clipping region. This might increase performance
    if no clip-rect has been set.

TODO:
  TestTiledPrintingGearsSwingAWT overlapping tests exposes
  a 'off by one' bug of the first layer's background!
  Note: The GL content seems to be correct though - maybe it's simply an AWT rounding error ..
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TiledPrintingAWTBase.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsNewtAWT.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was addedsrc/nativewindow/classes/com/jogamp/nativewindow/awt/AWTPrintLifecycle.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was removedsrc/jogl/classes/javax/media/opengl/awt/AWTPrintLifecycle.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsAWT.java (diff)
Commit efa8a7927eb8c69e45787d15306e172e440c6150 by Sven Gothel
Updating doc AWTPrinting.txt
The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/AWTPrintLifecycle.java (diff)
The file was modified doc/Implementation/AWTPrinting.txt (diff)
Commit 06b47d1f738c94ca28c0959a12b05d880bc8a78b by Sven Gothel
Add 'DirectDataBufferInt' supporting NIO based BufferedImages

- Contains convenient method to create an NIO backed BufferedImage
  'BufferedImage createBufferedImage(int width, int height, int numComponents, Point location)'

Standalone test TestTiledPrintingNIOImageSwingAWT 'prints', i.e. renders offscreen,
the Frame into
  - a traditional array-backed BufferedImage
  - an NIO-backed backed BufferedImage
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TiledPrintingAWTBase.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was addedsrc/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java (diff)
Commit 8afc1091532b0f18f30325aa3a504e7a7e975ce9 by Sven Gothel
TestTiledPrintingNIOImageSwingAWT: Add layered test ; Use 300dpi instead of 600dpi
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java (diff)
Commit 4e1d3170667d6692c484b8366d578ab830408175 by Sven Gothel
Print Tests: Split 'Printable' to own class, add OffscreenPrintable using NIO BufferedImage, adding OffscreenPrintable tests to all unit tests.
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/OffscreenPrintable.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/OnscreenPrintable.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/tile/PrintableBase.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TiledPrintingAWTBase.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsNewtAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsAWT.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
Commit 988da6f30322176b8301d17709f5461c35a01e19 by Sven Gothel
AWT Printing: Move init-test of setupPrint(..) to AWT-EDT Runnable ; GLJPanel: Attempt to initialize if not done yet (similar to GLCanvas)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
Commit b54e3dfb6a8490fbe7dcd3fe1927241bd5328335 by Sven Gothel
Fix SharedResourceRunner's potential race-conditions. Use top-level synchronization simplifying code and better robustness.
The file was modified src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/x11/glx/X11GLXDrawableFactory.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/SharedResourceRunner.java (diff)
Commit 21d786fa2ed66588a8ec1a7c2cac8f716d7d23de by Sven Gothel
AWTTilePainter: Fix DEBUG message (used wrong value at println)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
Commit 31deb28db53c426136805ff8ecb63f93a3bf8247 by Sven Gothel
RedSquareES1: Add TileRendererBase.TileRendererNotify
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es1/RedSquareES1.java (diff)
Commit 5ee2fa951894ee3fdaab7b002e475c173ab5cf17 by Sven Gothel
AWTTilePainter: Fix case with no GLOrientation, i.e. no vertical-flip. Tile location and destination must follow same math as w/ vertical-flip.

.. clipping and tile-height was not considered.
The file was modified make/scripts/tests-win.bat (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified make/scripts/tests-x64-dbg.bat (diff)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java (diff)
Commit 94117c091a253903d164a2934ea8ab1d70e9003e by Sven Gothel
AWT Print Tests: Only include 600dpi tests if requested via main arg '-600dpi'
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingNIOImageSwingAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsNewtAWT.java (diff)
Commit 8a4a64e1a3e9beb09580ba95fe85026abf2ff106 by Sven Gothel
AWTTilePainter.setupGraphics2DAndClipBounds(): Use 'Shape getClip()'; Use double precicion clip bounds 'all the way'; Explicitly scale image and clip w/ current scaled transform.

- Use 'Shape getClip()'
  Don't assume Rectangle2D, but use Shape's getBounds2D()

- Use double precicion clip bounds 'all the way'
  Remove rounding error on clip bounds w/ start value, which was _not_ using doubles.

- Explicitly scale image and clip w/ current scaled transform.
  Instead of abusing Graphics2D's clip shape to scale image size and clip-area,
  explicitly use transform both bounding boxes into transformed space,
  scale space and transform out (inversion).
  A possible NoninvertibleTransformException will be thrown while Graphics2D has not been modified.
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
The file was modified make/scripts/tests-x32-dbg.bat (diff)
The file was modified make/scripts/make.jogl.all.win32.bat (diff)
The file was modified make/scripts/tests-x32.bat (diff)
The file was modified make/scripts/tests-x64-dbg.bat (diff)
The file was modified make/scripts/make.jogl.all.win64.bat (diff)
The file was modified make/scripts/tests-javaws-x64.bat (diff)
The file was modified make/scripts/tests-x64.bat (diff)