Commit graph

7242 commits

Author SHA1 Message Date
Jakob Bornecrantz b47b9748a5 st/oxr: Tidy code style 2019-03-27 13:35:26 +00:00
Jakob Bornecrantz 5a7b5cf247 aux/math: Tidy whitespace 2019-03-27 13:34:58 +00:00
Ryan Pavlik 605005b7c2 oh: Compare current and previous quaternion to detect old data.
Bitwise comparison because we have no timestamp to check.
2019-03-25 16:37:12 -05:00
Ryan Pavlik ef633d79fb st/oxr: Silence Clang warnings about typeof 2019-03-25 19:20:23 +00:00
Ryan Pavlik cfb315d714 oh: Use finite differencing to find ang velocity.
Only if we can't get it from OpenHMD directly,
and only if not disabled explicitly.
2019-03-25 12:28:54 -05:00
Ryan Pavlik d29dc04e05 aux/math: Add quat finite difference function 2019-03-25 12:28:54 -05:00
Ryan Pavlik 9004ea80bb xrt: Devices get a timekeeping object, must return a timestamp.
Updates drivers to match.
2019-03-25 12:28:54 -05:00
Ryan Pavlik 294be21392 d/oh: Populate nominal frame interval 2019-03-25 12:28:54 -05:00
Ryan Pavlik 3e7b9169d6 d/hdk: Populate nominal frame interval 2019-03-25 12:28:54 -05:00
Ryan Pavlik aa38b70ac7 xrt: Add nominal frame interval to device interface. 2019-03-25 12:28:54 -05:00
Ryan Pavlik 94cd1908db aux/util: Add time_ns_to_s and time_s_to_ns 2019-03-25 12:28:54 -05:00
Jakob Bornecrantz 992c176143 st/oxr: Fix verify prototype and add extern C attributes 2019-03-25 01:18:17 +00:00
Benjamin Saunders c8515e142d st/oxr: Ignore graphics bindings from disabled extensions 2019-03-24 15:03:23 -07:00
Benjamin Saunders 3c9eafc1f0 st/oxr: Implement XR_KHR_headless 2019-03-24 13:25:30 -07:00
Benjamin Saunders b7023c2ec6 st/oxr: More accurate xrGetReferenceSpaceBoundsRect return code 2019-03-23 10:05:27 -07:00
Benjamin Saunders f016492a81 build: Add missing GLX dependency
Fixes loading by applications that do not themselves link GLX.
2019-03-22 20:11:51 -07:00
Ryan Pavlik a06a9eaac2 hdk: Skip apparent matches that have weird USB props. 2019-03-22 17:05:02 -05:00
Ryan Pavlik d1e024b57f gitignore: Ignore build dirs, vscode config, and .orig files 2019-03-22 14:36:10 -05:00
Ryan Pavlik 3385dd75f1 readme: Fix markdown issue 2019-03-22 14:26:27 -05:00
Ryan Pavlik c38026e571 comp: Fix comment typo. 2019-03-22 14:19:19 -05:00
Ryan Pavlik 5b4c3a2f94 comp: Use U_TYPED_CALLOC/U_TYPED_ARRAY_CALLOC 2019-03-22 13:50:29 -05:00
Ryan Pavlik f7d990c7e3 xrt: Use U_TYPED_CALLOC 2019-03-22 13:47:51 -05:00
Ryan Pavlik e57e858351 aux/util: Add U_TYPED_CALLOC macro to wrap calloc and casting. 2019-03-22 13:47:51 -05:00
Ryan Pavlik 142a9a77eb d/hdk: clarify display transforms and add an ifdef to not rotate. 2019-03-22 17:35:18 +00:00
Ryan Pavlik 3a1a120238 d/hdk: Fix orientation and angular velocity of tracker 2019-03-22 17:35:18 +00:00
Ryan Pavlik 32fd930ada d/hdk: Neatly handle disconnects 2019-03-22 17:35:18 +00:00
Ryan Pavlik 9d0888cd7d d/hdk: Harden against USB issues in prober. 2019-03-22 17:35:18 +00:00
Ryan Pavlik b74e7c74e2 d/hdk: Handle more models 2019-03-22 17:35:18 +00:00
Ryan Pavlik 1d6207eee8 st/oxr: Fix some type issues 2019-03-22 16:54:14 +00:00
Ryan Pavlik d1ec5fa66a oh: Fix type issues 2019-03-22 16:54:14 +00:00
Ryan Pavlik afd20250ed comp: Fix Vulkan type issues. 2019-03-22 16:54:14 +00:00
Daniel Stone 23df51d14b Add GitLab CI pipeline
Add a GitLab CI build pipeline, using the two-stage CI templates from
Wayland. This allows us to do really quick builds of Monado itself,
insulating ourselves from the longer and more failure-prone parts of
pulling and building our dependencies.
2019-03-22 16:43:48 +00:00
Christoph Haag b8c5ba4bc9 comp: handle acquiring direct mode failing 2019-03-22 16:41:53 +00:00
Christoph Haag 00803ffc36 readme: fix XR_RUNTIME_JSON example
Fixes #4
2019-03-22 17:32:13 +01:00
Jakob Bornecrantz 0b7a620c02 st/oxr: Do not enumerate the XR_KHR_headless extension as it is not supported yet 2019-03-21 18:54:05 +00:00
Ryan Pavlik 0ec31120f2 readme: Fix typo in reference to docs. 2019-03-18 14:39:24 -07:00
Lubosz Sarnecki 52e11ac4c5 comp: Move VIVE distortion properties to UBO. 2019-03-18 14:45:31 +01:00
Lubosz Sarnecki 6f5ef7a0cb comp: Rename ubo_data to ubo_pano. 2019-03-18 14:45:31 +01:00
Lubosz Sarnecki a87e6e664e oh: Initialize VIVE distortion parameters with default values from my VIVE. 2019-03-18 14:45:31 +01:00
Lubosz Sarnecki cdfe8b8d4a xrt: Define VIVE distortion parameters. 2019-03-18 14:41:57 +01:00
Jakob Bornecrantz 15a97422ba xrt: Add all of Monado 2019-03-18 05:52:32 +00:00
Jakob Bornecrantz 618c73f24b Initial commit 2019-03-18 05:50:31 +00:00