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

Changes

Summary

  1. Fix API Doc: GLBufferObjectTracker / GLBufferStorage (details)
  2. Bug 1147 - Fix XRandR13 Usage: Rotate / Change-Mode, use unique (details)
  3. Bug 1116 - Add OculusVR DK2 Support - Part-1 (DK2 on DK1 SDK w/o Eye (details)
  4. Bump oculusvr-sdk - Bug 1116 - Add OculusVR DK2 Support - Part-1 (DK2 on (details)
  5. Bug 1148 - OSX MonitorDevice: Use unique and native deviceID instead of (details)
  6. Remove all JNI header, as they were unified in GlueGen commit (details)
  7. Adapt to new JNI header location within GlueGen, completes commit (details)
  8. Bug 1149 - Replacing PCPP w/ JCPP: Update HowToBuild.html (details)
  9. Bug 1150 - Fix GLContextImpl.createImpl(..) NoARBCreateContext and '!ARB (details)
  10. GLContext glVersionString: Group all 'compat' flags to save space, add (details)
  11. Bug 1150 - Fix unit tests: Use same definition as in GLProfile for (details)
  12. Bug 1116 - Add OculusVR DK2 Support - Part-2 (DK1 and DK2 on DK2 SDK w/ (details)
  13. Bug 1116: Oculus SDK 0.4.4 support for JOGL - Part-3: New set of (details)
  14. Bug 1116: Oculus SDK 0.4.4 support for JOGL - Fix OSX build (details)
Commit d9fe5c4aee7547bb89571c19c89ad173b63a4598 by Sven Gothel
Fix API Doc: GLBufferObjectTracker / GLBufferStorage
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLBufferObjectTracker.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLBufferStorage.java (diff)
Commit 2c88b6dfd4eb7e2cd9a50fa48e08ecafc980931a by Sven Gothel
Bug 1147 - Fix XRandR13 Usage: Rotate / Change-Mode, use unique CRTC/Mode ids, ..

RandR 1.3 XRRSetCrtcConfig related:

- X11RandR13 now sets the new screen size via XRRSetScreenSize(..)

- X11RandR13 now propagates RRScreenChangeNotify events
  via XRRUpdateConfiguration(event).
  Hence reporting virtual desktop size now.

- X11RandR13 now disables the CRTC before XRRSetCrtcConfig(..)
  to avoid invalid configuration (see spec)!

RandR 1.3 General:

- Uses unique id named instead of unstable index
  for modes and CRTC.
  This allows proper identification even for 'swizzled' devices.
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/RandR11.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/ScreenImpl.java (diff)
The file was modifiedsrc/newt/native/X11Screen.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/MonitorModeProps.java (diff)
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/DisplayDriver.java (diff)
The file was modifiedsrc/newt/native/X11Display.c (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/ScreenDriver.java (diff)
The file was modifiedsrc/newt/native/X11RandR11.c (diff)
The file was modifiedsrc/newt/native/X11Window.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/RandR13.java (diff)
The file was modifiedsrc/newt/native/X11Screen.h (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/WindowDriver.java (diff)
The file was addedsrc/newt/native/xrandr_utils.c
The file was modifiedsrc/newt/classes/com/jogamp/newt/MonitorDevice.java (diff)
The file was modifiedsrc/newt/native/X11RandR13.c (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/x11/RandR.java (diff)
Commit 32fc8f3a64cfeee8936af98ae49f8e7c8dfe982f by Sven Gothel
Bug 1116 - Add OculusVR DK2 Support - Part-1 (DK2 on DK1 SDK w/o Eye Tracker)

- DK2's screen on X11 (at least) starts in rotated mode,
  detect and apply MonitorDevice rotation via NEWT's OpenGL StereoDeviceUtil

- Move StereoDevice.Config -> StereoDeviceConfig

- Expose generic StereoDevice to public: GenericStereoDeviceConfig + GenericStereoDeviceFactory

- GenericStereoDeviceFactory exposes public GenericStereoDeviceConfig creation
  for mono, sbs-stereo and lense-sbs-stereo w/ diff. parameters.

- Pass eye surface/texture size for each eye from device to renderer,
  instead of assuming unified values.

- Unify GenericStereoDevice.createRenderer(..) and OVRStereoDevice.createRenderer(..) code
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDeviceRenderer.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDevice.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDevice.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceRenderer.java (diff)
The file was removedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDeviceFactory.java
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/DistortionMesh.java (diff)
The file was modifiedmake/config/oculusvr/oculusvr-ovr-CustomJavaCode.java (diff)
The file was addedsrc/newt/classes/com/jogamp/newt/opengl/util/stereo/StereoDeviceUtil.java
The file was addedsrc/jogl/classes/com/jogamp/opengl/util/stereo/generic/GenericStereoDeviceFactory.java
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoUtil.java (diff)
The file was addedsrc/jogl/classes/com/jogamp/opengl/util/stereo/generic/GenericStereoDeviceConfig.java
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 addedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDeviceConfig.java
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDeviceFactory.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDeviceRenderer.java (diff)
Commit 9a8ae7c79cb6a89626eeb6a9a00fc9e32f9c0a71 by Sven Gothel
Bump oculusvr-sdk - Bug 1116 - Add OculusVR DK2 Support - Part-1 (DK2 on DK1 SDK w/o Eye Tracker)
The file was modifiedoculusvr-sdk (diff)
Commit 7438540ee6604cf91e14f12da891834d4cd83cfe by Sven Gothel
Bug 1148 - OSX MonitorDevice: Use unique and native deviceID instead of index

Adopt to bug 1147, commit 2c88b6dfd4eb7e2cd9a50fa48e08ecafc980931a.

Using the native unique deviceID makes monitor identification more robust.

This also allows us simplify
  displayID -> NSScreen-idx -> MonitorDevice
into
  displayID -> MonitorDevice

and to survive a primary monitor change.
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/newt/mm/TestScreenMode01cNEWT.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/awt/NewtFactoryAWT.java (diff)
The file was modifiedsrc/nativewindow/native/macosx/OSXmisc.m (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/ScreenDriver.java (diff)
The file was modifiedsrc/newt/classes/jogamp/newt/driver/macosx/WindowDriver.java (diff)
The file was modifiedsrc/newt/native/MacWindow.m (diff)
The file was modifiedsrc/newt/native/NewtMacWindow.h (diff)
Commit 9fb45e70730198fa7be940c5b48dd5c59bf04b93 by Sven Gothel
Remove all JNI header, as they were unified in GlueGen commit 532b8df474976b474f0cf4eb2d93588ded2ad3fe
The file was removedmake/stub_includes/jni/jni.h
The file was removedmake/stub_includes/jni/win32/jawt_md.h
The file was removedmake/stub_includes/win32/jni_md.h
The file was removedmake/stub_includes/x11/jni_md.h
The file was removedmake/stub_includes/jni/win32/jni_md.h
The file was removedmake/stub_includes/macosx/jni_md.h
The file was removedmake/stub_includes/jni/x11/jawt_md.h
The file was removedmake/stub_includes/jni/x11/jni_md.h
The file was removedmake/stub_includes/jni/macosx/jni_md.h
The file was removedmake/stub_includes/jni/jawt.h
The file was removedmake/stub_includes/x11/jni.h
The file was removedmake/stub_includes/jni/macosx/jawt_md.h
The file was removedmake/stub_includes/win32/jni.h
The file was removedmake/stub_includes/macosx/jni.h
Commit 1edd563607867a8f3f5cc6d764c6d6462179aa0b by Sven Gothel
Adapt to new JNI header location within GlueGen, completes commit 9fb45e70730198fa7be940c5b48dd5c59bf04b93

JNI header moved to GlueGen via commit 532b8df474976b474f0cf4eb2d93588ded2ad3fe
The file was modifiedmake/build-jogl.xml (diff)
The file was modifiedmake/build-nativewindow.xml (diff)
The file was modifiedmake/build-common.xml (diff)
Commit 590b5bed36622933f452caf1db18b4dd16a75669 by Sven Gothel
Bug 1149 - Replacing PCPP w/ JCPP: Update HowToBuild.html
The file was modifieddoc/HowToBuild.html (diff)
Commit e0ed09f8e2df570a9542f606a133c8fde074cbfe by Sven Gothel
Bug 1150 - Fix GLContextImpl.createImpl(..) NoARBCreateContext and '!ARB GL >= 3.1' issues

This fix solves the described issues below.

Test cases added for onscreen and offscreen drawables,
the latter includes Window's bitmap special case.

GLContextImpl.createImpl(..): Fix NoARBCreateContext and '!ARB GL >= 3.1' issues:
=================================================================================
GLContextImpl.createImpl(..) implementation of X11GLXContext and WindowsWGLContext
wrongly handles the case of NoARBCreateContext.
Here the !ARB created context shall allow GL >= 3.1,
since ARB context creation is disabled and 'no mix' can occur.

The latter was already intended due to failure criteris 'createContextARBTried'
in:
  if( glCaps.getGLProfile().isGL3() && createContextARBTried ) {
     failure("createImpl ctx !ARB but ARB is used, profile > GL2 requested");
  }

Further, WindowsWGLContext treats glCaps.isBitmap()
within the 'createContextARBTried=true' case, but it shall never
tried using the ARB context creation method.
This even lead to the issue of creating a 1.1 context,
but having the ProcAddressTable being still on the GL > 2 cached table.
This is due to 'setGLFunctionAvailability(..)'.

Ensure 'setGLFunctionAvailability(..)' is functional
====================================================

Caller shall either throws an exception if method returns false
or issues a state reset.

In case 'setGLFunctionAvailability(..)' throws an exception itself,
the states are no issue.
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile02NEWTNoARBCtx.java
The file was modifiedsrc/jogl/classes/jogamp/opengl/egl/EGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/x11/glx/X11GLXContext.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile01NEWT.java (diff)
The file was modifiedmake/scripts/make.jogl.all.win32.bat (diff)
The file was modifiedmake/scripts/make.jogl.all.win64.bat (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLContext.java (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLContext.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/x11/glx/X11ExternalGLXContext.java (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile03NEWTOffscreen.java
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/GLProfile0XBase.java
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfile04NEWTOffscreenNoARBCtx.java
Commit a572f44f7a07171b34c18dee0b78a95ca577d2e4 by Sven Gothel
GLContext glVersionString: Group all 'compat' flags to save space, add ES32 compatibility
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/GLContext.java (diff)
Commit 900f1f2a877aacfa750388419f05c0c13d6c5f26 by Sven Gothel
Bug 1150 - Fix unit tests: Use same definition as in GLProfile for 'disableOpenGLARBContext', i.e. exclude OSX

Also add 'TestGLProfileXXNEWTPost',
run w/o any properties after TestGLProfile*NoARBCtx
to be sure follow-up unit tests are tested under default conditions.
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestGLProfileXXNEWTPost.java
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/GLProfile0XBase.java (diff)
Commit bb6a8fdc8decdbec64bbab0fe2175e76211d0e77 by Sven Gothel
Bug 1116 - Add OculusVR DK2 Support - Part-2 (DK1 and DK2 on DK2 SDK w/ Eye Tracker if available)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceFactory.java (diff)
The file was modifiedoculusvr-sdk (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceRenderer.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/oculusvr/classes/com/jogamp/oculusvr/OVRVersion.java (diff)
The file was modifiedmake/config/oculusvr/oculusvr.c (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRUtil.java (diff)
Commit e626312c79f49b2244b5fdae8dbbf1ee22520817 by Sven Gothel
Bug 1116: Oculus SDK 0.4.4 support for JOGL - Part-3: New set of C-files, adapt to new SDK API

- Tested on Windows and working StereoDemo01 w/ DK2!
The file was modifiedmake/config/oculusvr/oculusvr.cfg (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceFactory.java (diff)
The file was modifiedsrc/oculusvr/classes/com/jogamp/oculusvr/OVRVersion.java (diff)
The file was removedsrc/oculusvr/native/OVRImplMisc.cpp
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceRenderer.java (diff)
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was modifiedmake/config/oculusvr/oculusvr-common.cfg (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was modifiedmake/config/oculusvr/oculusvr.c (diff)
The file was modifiedmake/build-oculusvr.xml (diff)
The file was modifiedoculusvr-sdk (diff)
Commit eae39dbad70d6ecfe0f47766ee8afe99890e7337 by Sven Gothel
Bug 1116: Oculus SDK 0.4.4 support for JOGL - Fix OSX build
The file was modifiedmake/build-oculusvr.xml (diff)