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

Changes

Summary

  1. Fix Bug 365: Bug on javax.media.opengl.glu.GLU.gluBuild2DMipmaps (details)
  2. Update C3D image (c3d mobile) and add c3d mobile info (details)
  3. Android uses-sdk: Add android:targetSdkVersion="14" (to show up for (details)
  4. WWW: Shorten C3D Studio & Mobile description. (details)
  5. Bug 859: Let TileRenderer detect zero columns and rows in eot() where (details)
  6. Bug 860 - AWT Printing (AWTTilePainter): Shall use the enclosing integer (details)
  7. Bug 365: Add unit test, which run's through most of the ScaleInternal (details)
  8. Cleanup DirectDataBufferInt: Fix type ; Remove unsused local vars (details)
  9. GLMediaPlayer: Fix CameraInputScheme URI doc and Android test streams (details)
  10. Bug 861 - NEWT: Unify MouseEvent Processing incl. gesture processing (details)
  11. AWTPrintLifecycle.setupPrint(..): Add optional tileWidth and tileHeight, (details)
  12. Validate codebase in jnlp files, add missing codebase entries. (details)
  13. Add efficient set(..all..) to Dimension, Insets, Point and Rectangle of (details)
  14. MouseEvent: Clarify 'Multiple-Pointer' w/ button[mask] semantics, ; (details)
  15. Int -> Enum using EnumClass.values()[ordinal] instead of for-loop - (details)
  16. NEWT PointerEvent: Unify event processing in new doPointerEvent(..) and (details)
  17. PinchToZoomGesture: Validate pointer-IDs, skip if invalid. (details)
  18. Refine Int -> Enum conversion (commit (details)
  19. NEWT Multiple-Pointer API: Use PointerType[] instead of ordinal int[], (details)
  20. Regression of commit a90bf31f8747dd38c61d518f8af4d4d4a64a8e90: (details)
  21. WindowImpl.doPointerEvent(..) Simplify pointer name->ID mapping, fix (details)
  22. Bug 800: Add Windows 7 Touch Event Support for NEWT (details)
  23. WindowImpl: Fix DEBUG output's method name of doPointerEvent and (details)
  24. Bug 800: Windows 7 Touch Event Support for NEWT: Fix Focus and (details)
Commit ed53220b4faccfd184b212bb89a075bfa53ea886 by michael.esemplare
Fix Bug 365: Bug on javax.media.opengl.glu.GLU.gluBuild2DMipmaps
Fixed convolution window widths for single column scaling.
The file was modified src/jogl/classes/jogamp/opengl/glu/mipmap/ScaleInternal.java (diff)
Commit 43f975501d81e4a9eeff6923f337d133aefcffdf by Sven Gothel
Update C3D image (c3d mobile) and add c3d mobile info
The file was addedwww/media/c3d-mobile-01-coll01-160x160.png (diff)
The file was addedwww/media/c3d-mobile-01-pipes01-160x125.png (diff)
The file was addedwww/media/c3d-mobile-01-pipes07-160x120.png (diff)
The file was modified www/index.html (diff)
Commit 13f8263f2a6576abc373fb25f044d553f555159d by Sven Gothel
Android uses-sdk: Add android:targetSdkVersion="14" (to show up for tablets)
The file was modified make/resources/android/AndroidManifest-test.xml (diff)
The file was modified make/resources/android/AndroidManifest-jogl.xml (diff)
Commit c5d5e09714875770c5287db8c5e44b84e95aec62 by Sven Gothel
WWW: Shorten C3D Studio & Mobile description.
The file was modified www/index.html (diff)
Commit 2634ce35031be322cb355e4d6055aace6a2c0619 by Sven Gothel
Bug 859: Let TileRenderer detect zero columns and rows in eot() where beginTile() throws an EOT IllegalStateException to avoid division by zero
The file was modified src/jogl/classes/javax/media/opengl/awt/GLCanvas.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledRendering1GL2NEWT.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/RandomTileRenderer.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/TileRenderer.java (diff)
The file was modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledRendering2NEWT.java (diff)
Commit 38bc1dbe6d2402218bc348516545b25e4db177b9 by Sven Gothel
Bug 860 - AWT Printing (AWTTilePainter): Shall use the enclosing integer rectangle of the scaled double precision clipping rect

AWTTilePainter simply rounds the scaled double precision clipping rectangle
to receive the integer rectangle.

This leads to uncovered drawing areas, since the integer rectangle position
could be greater - and the size could be smaller than the double precision source.

To get the enclosing rectangle, we need to use
  iPos = floor(position)
  iSize = ceil(position+size) - floor(position)

.. turns our that the double precision 'Rectangle Rectangle2D.getBounds()'
already performs this math.
The file was modified src/jogl/classes/jogamp/opengl/awt/AWTTilePainter.java (diff)
The file was modified make/scripts/tests.sh (diff)
Commit 74c5332456c6faf48c0a81809969d54e056f346c by Sven Gothel
Bug 365: Add unit test, which run's through most of the ScaleInternal functions for a single column image.
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/glu/TestBug365TextureGenerateMipMaps.java (diff)
The file was modified make/scripts/tests.sh (diff)
Commit b74f849c1864984e0be08fa18c9e555db701a971 by Sven Gothel
Cleanup DirectDataBufferInt: Fix type ; Remove unsused local vars
The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/DirectDataBufferInt.java (diff)
Commit 5ac6d508c7208ac4fe5d057a9ea1bdcba5f7b998 by Sven Gothel
GLMediaPlayer: Fix CameraInputScheme URI doc and Android test streams (Use mp4 instead of webm, fix Camera URI)
The file was modified src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java (diff)
The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1a.java (diff)
The file was modified src/test/com/jogamp/opengl/test/android/MovieCubeActivityLauncher1b.java (diff)
The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher00b.java (diff)
The file was modified src/test/com/jogamp/opengl/test/android/MovieSimpleActivityLauncher00c.java (diff)
Commit bc72e232a4b74c2be8c91c540a7b6153bfefb8c0 by Sven Gothel
Bug 861 - NEWT: Unify MouseEvent Processing incl. gesture processing

We processed MouseEvents within NEWT as follows:

  sendMouseEvent/enqueueMouseEvent -> doMouseEvent,
     - called by native code to be delivered via consumeMouseEvent (now or later)
     - events are validated (move/drag, boundaries)
     - missing events are synthesized (click, enter, ..)

as well as in several factories, i.e.:
    - AWTNewtEventFactory (1:1)

    - AndroidNewtEventFactory
       - synthesized events .. (click, ..)
       - android typed gesture detection (drag -> 1 finger scroll..)

The latter enqueues events do Window/Display directly to be consumed by WindowImpl.

Then users may have their own gesture detection etc.

+++

This change unifies mouse/pointer event processing within NEWT within consumeEvent(..)
which represents a common entry point.

Gesture processing is now realized w/ a public API
  - GestureHandler
  - GestureHandler.GestureListener
  - GestureHandler.GesureEvent

which supplies:
  - default impl. of optional gesture handlers (scroll, .. - default: enabled)
  - public API to add/remove gesture-handler and -listener

+++

This allows our impl. to scale better in support of
more multiple pointer devices (-> Win7/Win8, X11, ..).
The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was addedsrc/newt/classes/com/jogamp/newt/event/PinchToZoomGesture.java (diff)
The file was addedsrc/newt/classes/com/jogamp/newt/event/DoubleTapScrollGesture.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventTranslator.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java (diff)
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was addedsrc/newt/classes/com/jogamp/newt/event/GestureHandler.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/opengl/GLWindow.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/Window.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/event/NEWTEvent.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/newt/classes/com/jogamp/newt/event/InputEvent.java (diff)
Commit a05b87a369441d9ef38f97929f866b3d4ced0e57 by Sven Gothel
AWTPrintLifecycle.setupPrint(..): Add optional tileWidth and tileHeight, allowing user to set custom tile size for performance evaluation/tweak
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/OffscreenPrintable.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/TestTiledPrintingGearsSwingAWT2.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/PrintableBase.java (diff)
The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/AWTPrintLifecycle.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/TiledPrintingAWTBase.java (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/jogl/tile/OnscreenPrintable.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 modified src/jogl/classes/javax/media/opengl/awt/GLJPanel.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/TestTiledPrintingNIOImageSwingAWT.java (diff)
Commit 12d1142d197afb17828056252282fb5a6186b325 by Sven Gothel
Validate codebase in jnlp files, add missing codebase entries.
The file was modified jnlp-files/jogl-applet-runner-newt.jnlp (diff)
Commit b831ebadcaea1eea7370f7ec0bffc59eaba7a5ba by Sven Gothel
Add efficient set(..all..) to Dimension, Insets, Point and Rectangle of NativeWindow's util types.
The file was modified src/nativewindow/classes/javax/media/nativewindow/util/Dimension.java (diff)
The file was modified src/nativewindow/classes/javax/media/nativewindow/util/Point.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/TileRenderer.java (diff)
The file was modified src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java (diff)
The file was modified src/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java (diff)
The file was modified src/nativewindow/classes/javax/media/nativewindow/util/Rectangle.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/awt/WindowDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/intel/gdl/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/bcm/egl/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/ScreenImpl.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/MonitorDevice.java (diff)
The file was modified src/newt/classes/jogamp/newt/OffscreenWindow.java (diff)
The file was modified src/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/kd/ScreenDriver.java (diff)
The file was modified src/nativewindow/classes/javax/media/nativewindow/util/Insets.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/swt/NewtCanvasSWT.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/bcm/vc/iv/ScreenDriver.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/windows/ScreenDriver.java (diff)
Commit 56322e1cf41bbb5bcc097164fb3ddcc0061c1c73 by Sven Gothel
MouseEvent: Clarify 'Multiple-Pointer' w/ button[mask] semantics, ; InputEvent: getButtonDownCount() and isAnyButtonDown();

- Clarify 'Multiple-Pointer' w/ button[mask] semantics

  - Pointer IDs start w/ 0 and are consecutive numbers.

  - 'button' == triggering pointer-ID

  - buttonMask in modifiers show pressed button _and_ pointer-IDs

- deprecated BUTTON_NUMBER -> use BUTTON_COUNT (name semantics)
The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.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/android/MovieCubeActivity0.java (diff)
The file was modified src/test/com/jogamp/opengl/test/junit/newt/event/BaseNewtEventModifiers.java (diff)
The file was modified src/newt/classes/jogamp/newt/awt/event/AWTNewtEventFactory.java (diff)
The file was modified src/newt/classes/com/jogamp/newt/event/InputEvent.java (diff)
Commit 40863632d1428de015099b5967e5136425e99f25 by Sven Gothel
Int -> Enum using EnumClass.values()[ordinal] instead of for-loop - FFMPEGNatives's Enums and new MouseEvent.PointerType.valueOf(int)
The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGNatives.java (diff)
Commit a90bf31f8747dd38c61d518f8af4d4d4a64a8e90 by Sven Gothel
NEWT PointerEvent: Unify event processing in new doPointerEvent(..) and consumePointerEvent(..) - Unifies native mouse and Android's pointer event, ready for Win7 touch

Unify event processing in new doPointerEvent(..), which is also invoked from doMouseEvent(..),
and consumePointerEvent().

doPointerEvent(..): Validates and modifies event data and finally creates the event,
where consumePointerEvent(..) calls gesture handlers and may synthesize events.

Unifies native mouse and Android's pointer event, ready for Win7 touch.
AndroidNewtEventFactory calls doPointerEvent(..) directly.

Removed lots of duplicated pointer event handling code.
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff)
The file was modified make/scripts/tests-win.bat (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventTranslator.java (diff)
The file was modified make/scripts/tests-x64-dbg.bat (diff)
The file was modified make/scripts/tests.sh (diff)
The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
Commit c9837ef133ff3465d9b06f1907a7a320181ec97c by Sven Gothel
PinchToZoomGesture: Validate pointer-IDs, skip if invalid.
The file was modified src/newt/classes/com/jogamp/newt/event/PinchToZoomGesture.java (diff)
Commit 202834f148e0eb8c435af02850085d582b3006a4 by Sven Gothel
Refine Int -> Enum conversion (commit 40863632d1428de015099b5967e5136425e99f25), throw IllegalArgumentException if ordinal is out-of-range. Add API doc.

- FFMPEGNatives
- MouseEvent.PointerType
The file was modified src/newt/classes/com/jogamp/newt/event/MouseEvent.java (diff)
The file was modified src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGNatives.java (diff)
Commit 8815245ebb9efc6d49052ff1fb34a3ee6ecfcc6b by Sven Gothel
NEWT Multiple-Pointer API: Use PointerType[] instead of ordinal int[], implementer can use PointerType.valuesOf(int[] ordinals) to convert. Enhanced API doc. Methods 'final'
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
The file was modified src/newt/classes/jogamp/newt/driver/android/event/AndroidNewtEventFactory.java (diff)
Commit d9fba0ea89ae71ce29fb528593fee24707b896ad by Sven Gothel
Regression of commit a90bf31f8747dd38c61d518f8af4d4d4a64a8e90: 'consume<Type>Event(<Type>Event ..)' must be protected and non-final

Overriding by impl. class allowed.
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit 0eceb7df4b04a183a738474c0d7f4be41b6bcc0c by Sven Gothel
WindowImpl.doPointerEvent(..) Simplify pointer name->ID mapping, fix DEBUG.
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit 5b96486da0bcd09d5355f89ec551140e508b567c by Sven Gothel
Bug 800: Add Windows 7 Touch Event Support for NEWT

Native:
- WindowUserData tracks:
    - window size
    - mouse inside
    - pointer touch-down count
   and flags whether multiple-touch is supported.

- Suppress WM_*BUTTON* events if within TOUCH operations, e.g. fingers are pressed, or
   if event is determined as TOUCH (0 != GetMessageExtraInfo())

- MOUSEMOVE issues NewtWindows_trackPointerLeave(..) directly
   if no TOUCH operation is in process.
   Removes need for MouseListener on Java side.

- TOUCH events are send as follows:
     - PRIMARY first
     - 1 MOVE 2nd (if not sent already)
     - UP/DOWN (if not sent already)

   We only send max. one MOVE event, since Win7 / Win8
   assignes MOVE per default, even if no actual move happened.
   Hence a single MOVE event shall suffice and is compatible
   w/ e.g. Android (AFAIK).

- TOUCH pointer names are mapped to consecutive IDs
   on the java side.
The file was modified src/newt/native/WindowsWindow.c (diff)
The file was modified src/newt/classes/jogamp/newt/driver/windows/WindowDriver.java (diff)
Commit 119133e89831fc837015b3f6fd7b258077c93d46 by Sven Gothel
WindowImpl: Fix DEBUG output's method name of doPointerEvent and consumePointerEvent
The file was modified src/newt/classes/jogamp/newt/WindowImpl.java (diff)
Commit 3c56d9346b9077b5eb65ec9e111917cfe17e9173 by Sven Gothel
Bug 800: Windows 7 Touch Event Support for NEWT: Fix Focus and LBUTTON[DOWN|UP] issues

- w/ TOUCH, Win8 may steal focus (KILLFOCUS), quickly grab FOCUS again when on TOUCH operation

- track 'touchDownLastUp', and don't act on LBUTTON[UP|DOWN] and MOUSEMOVE if just lifted last finger

- don't use GetMessageExtraInfo() to distinguish MOUSE/TOUCH, simply use tracked touchDownCount

- Also track mouseInside in TOUCH operation, i.e. true if _all_ fingers are inside,
  otherwise don't send TOUCH event
The file was modified src/newt/native/WindowsWindow.c (diff)
The file was modified make/scripts/tests-win.bat (diff)
The file was modified make/scripts/tests.sh (diff)