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

Changes

Summary

  1. Expand bitmasks in SWTAccessor GTK_VERSION method (details)
  2. bcm/vc/iv/DisplayDriver depend on libEGL, pre-load it using GLProfile (details)
  3. Bug 1151 - Working OculusVR SDK 0.5.0.1 on GNU/Linux w/ Positional (details)
  4. Fix javadoc typo: </count> -> </code> (details)
  5. ShaderCode: Add 'create' variations w/ custom shader file suffixes as (details)
Commit 179222835fae0cc93b20aef2f877f47c9626f15a by rob.hatcherson
Expand bitmasks in SWTAccessor GTK_VERSION method

SWTAccessor's GTK_VERSION method accepts a single int argument.  The
argument is interpreted as a bit-packed version number with the apparent
intent that the three least significant bytes of the int version number
are the major, minor, and micro version number components.

The code that extracts these three components from the int argument was
using four-bit mask 0x0f instead of eight-bit mask 0xff, and therefore
was discarding the four most significant bits of each component.  This
caused any component greater than 15 to lose information.  For example,
a component whose value should have been 20 would end up as 4.

The version number is used in comparisons in a static initializer to
determine how to retrieve references to Method objects via reflection.
One such comparison decides whether to retrieve a reference to method
GTK_WIDGET_WINDOW or method gtk_widget_get_window.

The problem initially presented itself after an attempt to use JOGL
with SWT 4.527 and GTK 2.20.1 because this version of SWT removed the
GTK_WIDGET_WINDOW method.  Due to the bug SWTAccessor believed the GTK
version was 2.4.1 instead of 2.20.1, so the code attempted to find
GTK_WIDGET_WINDOW instead of gtk_widget_get_window.  Because this
method was no longer there a runtime exception was raised.
The file was modifiedsrc/nativewindow/classes/com/jogamp/nativewindow/swt/SWTAccessor.java (diff)
Commit 5667e4320443289a1c0bd02f54bf466bfc2c5895 by xerxes
bcm/vc/iv/DisplayDriver depend on libEGL, pre-load it using GLProfile

Fixes libnewt.so: undefined symbol: bcm_host_init"
when the NEWT Screen is initialized before OpenGL ES.

Signed-off-by: Xerxes Rånby <xerxes@gudinna.com>
The file was modifiedsrc/newt/classes/jogamp/newt/driver/bcm/vc/iv/DisplayDriver.java (diff)
Commit 53966f92042d44483cb44f6c6b3c95a6a1fdd325 by Sven Gothel
Bug 1151 - Working OculusVR SDK 0.5.0.1 on GNU/Linux w/ Positional Tracker (DK2)

Note: The ovrd server must run, otherwise no device is being detected.

General Stereo API Changes:
  - EyePose -> ViewerPose

    - We only use the viewer pose and derive the pupile position
      via EyeParameter.

    - Hence we reduce complexity.

    - A single ViewerPose will be maintained by StereoDeviceRenderer

    - position is in meter, allowing StereoGLEventListener to scale
      device independent.

  - StereoDevice receives knowledge of certain sensors,
    to be queried and used for start-sensors.

OVR:
  - Simply apply the above general changes

  - Build: Remove [more] unused API entries for SDK rendering
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java (diff)
The file was addedsrc/jogl/classes/com/jogamp/opengl/util/stereo/ViewerPose.java (diff)
The file was modifiedmake/build-oculusvr.xml (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestVersionSemanticsNOUI.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/generic/GenericStereoDeviceFactory.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoGLEventListener.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRUtil.java (diff)
The file was removedsrc/jogl/classes/com/jogamp/opengl/util/stereo/EyePose.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/generic/GenericStereoDeviceConfig.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoUtil.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceRenderer.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceFactory.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoClientRenderer.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDeviceRenderer.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/av/MovieSBSStereo.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDeviceRenderer.java (diff)
The file was modifiedmake/config/oculusvr/oculusvr-common.cfg (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDevice.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDevice.java (diff)
Commit 6e68e6a9d2472d556c7cab69b2ee9e55aeb60f36 by Sven Gothel
Fix javadoc typo: </count> -> </code>
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)
Commit c45d8e11083a1c6a0fff9d4cf64350c878bea1b6 by Sven Gothel
ShaderCode: Add 'create' variations w/ custom shader file suffixes as well as w/ Uri usage
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/glsl/ShaderCode.java (diff)