commit b142c7130c05c9c0ae97841b4ff626f528c45438 Author: Sven Gothel Date: Fri Mar 27 15:58:50 2015 +0100 TestVersionSemanticsNOUI: Add version tests: v221 -> v230 and v230 -> v23x (*) (*) Version v230 -> v23x Violates the semantic versioning spec a bit, i.e. minor API change within 'com/jogamp/opengl/util/stereo/' ! 2/ 11: com.jogamp.opengl.util.stereo.StereoDevice.Config : Remove 1, Change 0, Deprecate 0, Add 0 4/ 11: com.jogamp.opengl.util.stereo.StereoDeviceFactory : Remove 1, Change 0, Deprecate 0, Add 4 6/ 11: com.jogamp.opengl.util.stereo.StereoDeviceRenderer : Remove 1, Change 0, Deprecate 0, Add 1 Class com.jogamp.opengl.util.stereo.StereoDevice.Config Removed Class , access public super synchronized Class com.jogamp.opengl.util.stereo.StereoDeviceFactory Removed Method createDevice, desc (ILcom/jogamp/opengl/util/stereo/StereoDevice$Config;Z)Lcom/jogamp/opengl/util/stereo/StereoDevice;, access abstract public Class com.jogamp.opengl.util.stereo.StereoDeviceRenderer Removed Method getSingleSurfaceSize, desc ()Lcom/jogamp/nativewindow/util/DimensionImmutable;, access abstract public commit ee2c18211a5128f5cde5312a7bbb5c0e80674903 Author: Sven Gothel Date: Fri Mar 27 15:10:54 2015 +0100 Bug 1116: Add ShutdownHook for all factories and devices to StereoDeviceFactory using NativeWindowFactory commit d09a50bdc7aca2d441fe7c595711a44fe9dc4a23 Author: Sven Gothel Date: Fri Mar 27 14:25:07 2015 +0100 Bug 1116: Oculus SDK 0.4.4: Add extra DK1 detection; Add call to ovr_Shutdown() and ovrHmd_Destroy(hmdDesc). Add extra DK1 detection - SDK 0.4.4 w/ DK1 (Linux): ovrHmd_Detect() returns zero! - In such case: Try creating one device, which works for DK1 on Linux Add call to ovr_Shutdown() and ovrHmd_Destroy(hmdDesc). - Add StereoDeviceFactory.shutdown() and call ovr_Shutdown() for in OVRStereoDeviceFactory.shutdown(). - Call ovrHmd_Destroy(hmdDesc) in OVRStereoDevice.dispose(). commit 3b7a8f5f4e89adf84fd871c1440859ed3d89802e Author: Sven Gothel Date: Fri Mar 27 13:01:44 2015 +0100 StereoDeviceUtil: Only rotate if current mode doesn't match required rotation. Add verbosity. Allowing user to permanently rotate the device .. commit eae39dbad70d6ecfe0f47766ee8afe99890e7337 Author: Sven Gothel Date: Fri Mar 27 11:28:34 2015 +0100 Bug 1116: Oculus SDK 0.4.4 support for JOGL - Fix OSX build commit e626312c79f49b2244b5fdae8dbbf1ee22520817 Author: Sven Gothel Date: Fri Mar 27 03:07:58 2015 +0100 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! commit bb6a8fdc8decdbec64bbab0fe2175e76211d0e77 Author: Sven Gothel Date: Thu Mar 26 23:36:50 2015 +0100 Bug 1116 - Add OculusVR DK2 Support - Part-2 (DK1 and DK2 on DK2 SDK w/ Eye Tracker if available) commit 900f1f2a877aacfa750388419f05c0c13d6c5f26 Author: Sven Gothel Date: Thu Mar 26 21:14:18 2015 +0100 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. commit a572f44f7a07171b34c18dee0b78a95ca577d2e4 Author: Sven Gothel Date: Thu Mar 26 16:34:39 2015 +0100 GLContext glVersionString: Group all 'compat' flags to save space, add ES32 compatibility commit e0ed09f8e2df570a9542f606a133c8fde074cbfe Author: Sven Gothel Date: Thu Mar 26 16:33:55 2015 +0100 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. commit 590b5bed36622933f452caf1db18b4dd16a75669 Author: Sven Gothel Date: Tue Mar 24 03:56:16 2015 +0100 Bug 1149 - Replacing PCPP w/ JCPP: Update HowToBuild.html commit 1edd563607867a8f3f5cc6d764c6d6462179aa0b Author: Sven Gothel Date: Tue Mar 24 03:55:37 2015 +0100 Adapt to new JNI header location within GlueGen, completes commit 9fb45e70730198fa7be940c5b48dd5c59bf04b93 JNI header moved to GlueGen via commit 532b8df474976b474f0cf4eb2d93588ded2ad3fe commit 9fb45e70730198fa7be940c5b48dd5c59bf04b93 Author: Sven Gothel Date: Tue Mar 24 03:53:34 2015 +0100 Remove all JNI header, as they were unified in GlueGen commit 532b8df474976b474f0cf4eb2d93588ded2ad3fe commit 7438540ee6604cf91e14f12da891834d4cd83cfe Author: Sven Gothel Date: Sat Mar 21 04:37:39 2015 +0100 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. commit 9a8ae7c79cb6a89626eeb6a9a00fc9e32f9c0a71 Author: Sven Gothel Date: Sat Mar 21 04:33:39 2015 +0100 Bump oculusvr-sdk - Bug 1116 - Add OculusVR DK2 Support - Part-1 (DK2 on DK1 SDK w/o Eye Tracker) commit 32fc8f3a64cfeee8936af98ae49f8e7c8dfe982f Author: Sven Gothel Date: Sat Mar 21 04:31:27 2015 +0100 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 commit 2c88b6dfd4eb7e2cd9a50fa48e08ecafc980931a Author: Sven Gothel Date: Fri Mar 20 21:42:23 2015 +0100 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. commit d9fe5c4aee7547bb89571c19c89ad173b63a4598 Author: Sven Gothel Date: Thu Mar 12 13:18:02 2015 +0100 Fix API Doc: GLBufferObjectTracker / GLBufferStorage