SuccessChanges

Summary

  1. Unit test for bug 1160; context sharing between an offscreen drawable (details)
  2. Refine Frustum definition: Adding Frustum.FovDesc; Clarify makeFrustum (details)
  3. Clarify code in stereo/ovr: Comments, states, names, formatting. (details)
  4. StereoDevice (Generic/OVR): Add knowledge about LocationSensorParameter (details)
  5. Bug 1151 - Fix using DK1 on OVR 0.5*; Minor changes (details)
  6. Bug 1146, Bug 1158: Add unit test for GLContext creation after showing (details)
  7. Bug 1146, Bug 1158: Add missing GLClearColor class (details)
  8. Bug 1160: Fix unit test name and some minor details .. (convention) (details)
  9. GLContextImpl: Update uncommented code (method name changed) (details)
  10. Bug 1160: Fix test case (Avoid blocking/concurrent master context usage (details)
  11. Bug 1160: Fix/Refine test case: Stable master thread; Disable (details)
Commit b006563ded0b2ad0c5cf091c4ab1b6df06a0ccaa by tom.nuydens
Unit test for bug 1160; context sharing between an offscreen drawable and an external GL context
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/offscreen/ShareWithExternalContextTest.java
Commit befd56510a781e65509256ae37e18888ff58181d by Sven Gothel
Refine Frustum definition: Adding Frustum.FovDesc; Clarify makeFrustum argument constraints -> Exceptions
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/FloatUtil.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/geom/Frustum.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/Matrix4.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/PMVMatrix.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/ProjectFloat.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/math/FovHVHalves.java (diff)
Commit d9674620bc4f03dff9611a785a27dd41b1b72648 by Sven Gothel
Clarify code in stereo/ovr: Comments, states, names, formatting.
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceRenderer.java (diff)
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/ViewerPose.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/EyeParameter.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/demos/es2/GearsES2.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDevice.java (diff)
Commit d99b7bf16fe316a10784e9588408ab28b204e506 by Sven Gothel
StereoDevice (Generic/OVR): Add knowledge about LocationSensorParameter and allow reset origin of location-sensor
The file was modifiedsrc/jogl/classes/jogamp/opengl/util/stereo/GenericStereoDevice.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/stereo/StereoDevice.java (diff)
The file was modifiedsrc/oculusvr/classes/com/jogamp/oculusvr/OVRVersion.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/LocationSensorParameter.java
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDevice.java (diff)
Commit 5d58f63300771843687db18ad4da67c5882fd52e by Sven Gothel
Bug 1151 - Fix using DK1 on OVR 0.5*; Minor changes
The file was modifiedsrc/newt/classes/com/jogamp/newt/opengl/util/stereo/StereoDeviceUtil.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/stereo/StereoDemo01.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDeviceRenderer.java (diff)
The file was modifiedsrc/oculusvr/classes/jogamp/opengl/oculusvr/OVRStereoDevice.java (diff)
Commit f60a737b18d6763ac1f443fce0b61c844666e2a8 by Sven Gothel
Bug 1146, Bug 1158: Add unit test for GLContext creation after showing tool-tip within JDialog

Test passes on GNU/Linux X11 and Windows - both using NVidia driver.

Unit test is based on Robin Provost's code as attached in Bug 1158.
The file was modifiedmake/scripts/tests.sh (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestBug1146GLContextDialogToolTipAWT.java
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/DumpGLInfo.java (diff)
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/util/AWTRobotUtil.java (diff)
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/JoglVersion.java (diff)
Commit 53cc42950597d3604eca9fcacad643f5fb868929 by Sven Gothel
Bug 1146, Bug 1158: Add missing GLClearColor class
The file was addedsrc/test/com/jogamp/opengl/test/junit/util/GLClearColor.java
Commit ff90b5405b253a820643d4de820728aad37fdf8e by Sven Gothel
Bug 1160: Fix unit test name and some minor details .. (convention)
The file was modifiedmake/scripts/tests-x64-dbg.bat (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedExternalContextAWT.java
The file was modifiedmake/scripts/tests-win.bat (diff)
The file was modifiedmake/scripts/tests.sh (diff)
The file was removedsrc/test/com/jogamp/opengl/test/junit/jogl/offscreen/ShareWithExternalContextTest.java
Commit c47ebe36a3676aae9a6a334b31e6c73f221d65aa by Sven Gothel
GLContextImpl: Update uncommented code (method name changed)
The file was modifiedsrc/jogl/classes/jogamp/opengl/GLContextImpl.java (diff)
Commit e50190e6d300e05f083974938a4d7cc8b38ddd62 by Sven Gothel
Bug 1160: Fix test case (Avoid blocking/concurrent master context usage on AWT)

+              // We cannot use EventQueue.invokeAndWait(..) since it will
+              // block this will block the current thread, holding the context!
+              // The whole issue w/ an external shared context is make-current
+              // synchronization. JOGL attempts to lock the surface/drawable
+              // of the master context to avoid concurrent usage.
+              // The semantic constraints of a shared context are not well defined,
+              // i.e. some driver may allow creating a shared context w/ a master context
+              // to be in use - others don't.
+              // Hence it is up to the user to sync the external master context in this case,
+              // see 'masterLock' of in this code!
+              //    EventQueue.invokeAndWait(initializer);
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedExternalContextAWT.java (diff)
Commit 6436b49405a7436d7df4ffd83602615cb9ae10a0 by Sven Gothel
Bug 1160: Fix/Refine test case: Stable master thread; Disable 'masterLock' in slave-creation (causes failure on windows)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/acore/TestSharedExternalContextAWT.java (diff)