<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1116</bug_id>
          
          <creation_ts>2015-01-08 13:24:09 +0100</creation_ts>
          <short_desc>Add OculusVR DK2 Support</short_desc>
          <delta_ts>2015-09-27 01:11:11 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2.3.2</version>
          <rep_platform>All</rep_platform>
          <op_sys>all</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1021</dependson>
    
    <dependson>1147</dependson>
    
    <dependson>1149</dependson>
          <blocked>1151</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>rami.santina</cc>
    
    <cc>sgothel</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs>gluegen 030b580cf8bb7f1e91eed6e47a341eb50fc2e6be
oculusvr-sdk e2c8888763eb304f92dcea89047655f402f3a9c5
oculusvr-sdk 6affd0dec1bb50d2df258e114d20ec848efad6e0
oculusvr-sdk 232cdbe43ca11477bc32ef7a7ce2f9fa31f9e05f
oculusvr-sdk cbbd775b6c754927632c333ff01424a0d2048c7c
oculusvr-sdk 2374cb20cfe6d129e10b35a49be96bce273b97fb
oculusvr-sdk 05bb4364bfd9930fb1902efec86446ef035ee07a
oculusvr-sdk e490c3c7f7bb5461cfa78a214827aa534fb43a3e
oculusvr-sdk 0c5c4be020c2d55540058a49b2a879f46d5a1e13
oculusvr-sdk 633f70342fe270fd91bca8f724049aceec602337
oculusvr-sdk 3c7b8a17e907f4ef2afd9f77db566a3f6179cbe4
jogl 32fc8f3a64cfeee8936af98ae49f8e7c8dfe982f
jogl 9a8ae7c79cb6a89626eeb6a9a00fc9e32f9c0a71
jogl bb6a8fdc8decdbec64bbab0fe2175e76211d0e77
jogl e626312c79f49b2244b5fdae8dbbf1ee22520817
jogl eae39dbad70d6ecfe0f47766ee8afe99890e7337
jogl 3b7a8f5f4e89adf84fd871c1440859ed3d89802e
jogl d09a50bdc7aca2d441fe7c595711a44fe9dc4a23
jogl ee2c18211a5128f5cde5312a7bbb5c0e80674903</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4516</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-01-08 13:24:09 +0100</bug_when>
    <thetext>- Enhance current OculusVR DK1 module to work w/ DK2
- Create DK2 binding to support head tracking driver blob, 
  w/ limited platform support</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4657</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-20 02:41:21 +0100</bug_when>
    <thetext>DK2&apos;s screen on X11 (at least) starts in rotated mode.

At least we need to rotate the screen.
We are blocked by Bug 1147, i.e. issue w/ our X11RandR13 code ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4659</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-20 21:51:51 +0100</bug_when>
    <thetext>gluegen 030b580cf8bb7f1e91eed6e47a341eb50fc2e6be

Fix DynamicLibraryBundle.isToolLibComplete() no tool-lib case, regression of commit 12feaa7d3b1544098f684d851e3caff1ec88cbc8
    
    Regression of commit 12feaa7d3b1544098f684d851e3caff1ec88cbc8
    
    &apos;isToolLibComplete()&apos; returned false if dynLinkGlobal is null,
    even if no tool-lib has been used. In which case dynLinkGlobal
    has not been initialized and hence is always null.
    
    &apos;isToolLibComplete()&apos; now takes no tool-lib into consideration!
    
    Currently only &apos;OVRDynamicLibraryBundleInfo&apos; of JOGL&apos;s &apos;oculusvr&apos; binding
    used this configuration within JogAmp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4662</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-21 04:43:46 +0100</bug_when>
    <thetext>Part-1 (DK2 on DK1 SDK w/o Eye Tracker) completed!

oculusvr-sdk e2c8888763eb304f92dcea89047655f402f3a9c5
  Product 3 (DK2) not properly detected
oculusvr-sdk 6affd0dec1bb50d2df258e114d20ec848efad6e0
  Fixing DK2 screen parameters for linux, windows and osx
oculusvr-sdk 232cdbe43ca11477bc32ef7a7ce2f9fa31f9e05f
  Adopt to JOGL commit 32fc8f3a64cfeee8936af98ae49f8e7c8dfe982f

jogl 32fc8f3a64cfeee8936af98ae49f8e7c8dfe982f
    - DK2&apos;s screen on X11 (at least) starts in rotated mode,
      detect and apply MonitorDevice rotation via NEWT&apos;s OpenGL StereoDeviceUtil
    
    - Move StereoDevice.Config -&gt; 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
  
jogl 9a8ae7c79cb6a89626eeb6a9a00fc9e32f9c0a71
  Bump oculusvr-sdk - Bug 1116</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4667</commentid>
    <comment_count>4</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-23 13:34:22 +0100</bug_when>
    <thetext>Depends on Bug 1149, since PCPP is not capable of dealing 
w/ new cpp macros within DK2 header files. Hence need JCPP,
which does a better job ..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4678</commentid>
    <comment_count>5</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 03:04:54 +0100</bug_when>
    <thetext>oculusvr-sdk cbbd775b6c754927632c333ff01424a0d2048c7c
oculusvr-sdk 2374cb20cfe6d129e10b35a49be96bce273b97fb
oculusvr-sdk 05bb4364bfd9930fb1902efec86446ef035ee07a
oculusvr-sdk e490c3c7f7bb5461cfa78a214827aa534fb43a3e
oculusvr-sdk 0c5c4be020c2d55540058a49b2a879f46d5a1e13
oculusvr-sdk 633f70342fe270fd91bca8f724049aceec602337
 Cleanup and merge w/ vanilla_0.4.4

oculusvr-sdk 3c7b8a17e907f4ef2afd9f77db566a3f6179cbe4
 Use new &apos;HEADLESS_APP&apos; mode, i.e. drop all display related code.
    
 HEADLESS_APP (new CPP define) is required to drop all display related code.
    
 TODO: JOGL needs to display the HSW (Health and Safety Warning) messages
 to comply w/ license!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4680</commentid>
    <comment_count>6</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 03:13:15 +0100</bug_when>
    <thetext>jogl bb6a8fdc8decdbec64bbab0fe2175e76211d0e77
  Add OculusVR DK2 Support - 
  Part-2 (DK1 and DK2 on DK2 SDK w/ Eye Tracker if available)

jogl e626312c79f49b2244b5fdae8dbbf1ee22520817
  Oculus SDK 0.4.4 support for JOGL - 
  Part-3: New set of C-files, adapt to new SDK API

StereoDemo01 is working w/ SDK 0.4.4 on Windows w/ DK2,
i.e.:
  - Installed Windows runtime
  - Using ExtendedDisplay mode,
    since we are running &apos;headless&apos; w/ client rendering.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4681</commentid>
    <comment_count>7</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 12:16:38 +0100</bug_when>
    <thetext>jogl eae39dbad70d6ecfe0f47766ee8afe99890e7337
  Oculus SDK 0.4.4 support for JOGL - Fix OSX build</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4682</commentid>
    <comment_count>8</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 12:17:22 +0100</bug_when>
    <thetext>While adding support for 0.4.4 SDK 
SDK 0.5.0.1 was released :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4683</commentid>
    <comment_count>9</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 13:12:01 +0100</bug_when>
    <thetext>StereoDemo01 is working w/ SDK 0.4.4 on Linux w/ DK2,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4684</commentid>
    <comment_count>10</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 15:14:11 +0100</bug_when>
    <thetext>jogl 3b7a8f5f4e89adf84fd871c1440859ed3d89802e
   StereoDeviceUtil: Only rotate if current mode doesn&apos;t match 
   required rotation. Add verbosity.
    
   Allowing user to permanently rotate the device ..

jogl d09a50bdc7aca2d441fe7c595711a44fe9dc4a23
    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().   

jogl ee2c18211a5128f5cde5312a7bbb5c0e80674903
  Add ShutdownHook for all factories and devices 
  to StereoDeviceFactory using NativeWindowFactory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4686</commentid>
    <comment_count>11</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2015-03-27 15:16:24 +0100</bug_when>
    <thetext>Moved OculusVR SDK 0.5.* support to Bug 1151.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>