Commit graph

352 commits

Author SHA1 Message Date
Lubosz Sarnecki a074c6ebe1 doc: Document MR417. 2020-07-09 13:50:16 +02:00
Jakob Bornecrantz c5b930903e st/oxr: Fix conformance failure and tidy up action set attached logic
This caused a action set to act as if it has been attached, one might say that
this commit fixes a overly attached action set.

Extreme programmed with Ryan Pavlik, which I also ~~stole~~ borrowed the header
comments from verbatim.
2020-07-06 20:11:35 +01:00
Jakob Bornecrantz 20208750b6 doc: Add changelog for !408 and !409 2020-07-06 15:58:37 +01:00
Jakob Bornecrantz 4ef1726f7a doc: Docment MR 410 2020-07-06 12:13:33 +01:00
Jakob Bornecrantz 8ee7086ea6 xrt: Introduce xrt_swapchain_create_info 2020-07-04 11:04:07 +00:00
Lubosz Sarnecki dc0f7634db doc: Document MR406. 2020-07-02 19:34:27 +02:00
Lubosz Sarnecki 7df50139de doc: Document MR405. 2020-07-02 19:28:52 +02:00
Lubosz Sarnecki 0dbbe423d9 c/layer_renderer: Implement eye visibility. 2020-06-18 16:03:49 +01:00
Jakob Bornecrantz e76f698463 c/main: Respect alpha blending layer flag 2020-06-18 16:03:49 +01:00
Ryan Pavlik 1a5d31b82b st/oxr: New input transform implementation, fixes conformance failures.
Includes unit tests for oxr_input_transform, add to CI

This is a revised implementation using "variants" instead of
"inheritance" in a linked-list.
2020-06-17 10:03:32 +00:00
Jakob Bornecrantz 2dcf4a819b st/oxr: Improve xrSuggestInteractionProfileBindings validation of input 2020-06-14 23:01:13 +01:00
Ryan Pavlik 707ef862bc doc/changelog: Fix typo and formatting quirk that was confusing doxygen 2020-06-09 15:35:07 -05:00
Ryan Pavlik 435f6c5c89 build: Allow enabling inter-procedural optimization in CMake builds, if supported. 2020-06-09 12:03:08 -05:00
Christoph Haag 9c470ddc29 Add changelog for MR 369 2020-06-05 16:06:32 +02:00
Jakob Bornecrantz dab96ef356 st/oxr: Validate view configuration type 2020-06-04 21:56:08 +00:00
Ryan Pavlik b60219445a doc: Fix typo in changelog fragment. 2020-06-04 15:06:36 +00:00
Ryan Pavlik c39df58763 st/oxr: Additional doxygen improvements. 2020-06-03 17:26:35 -05:00
Ryan Pavlik bc6cc85e7d xrt: Improve doxygen documentation. 2020-06-03 16:28:18 -05:00
Jakob Bornecrantz a36753443a st/oxr: Make all oxr_error calls uniform and improve output 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz f4fadc6f55 st/oxr: Validate xrSuggestInteractionProfileBindings better 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz 2b60f70d30 st/oxr: Validate attachmentness of action sets and actions better 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz 6fc410dadd st/oxr: Do dup checking on actions and action sets 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz e5c9636f10 st/oxr: Correct the error messages on sub action paths errors 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz 6d61b9dec2 st/oxr: Correct localized name validation 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz a69cae7516 st/oxr: Improve subImage bounds checking 2020-06-03 09:30:18 +01:00
Jakob Bornecrantz 981bae8d0a st/oxr: Return correct error on bad sub action path 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 00818881de st/oxr: Use correct path for gamepad 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 57af7a7ce4 st/oxr: Correctly wait with emitting sync event 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz f0e160f45c st/oxr: Improve the xrGetReferenceSpaceBoundsRect stub-ness 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz d693bc2ef9 st/oxr: Enforce static swapchain acquire semantics 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz cdfd03a762 st/oxr: Overhaul the acquire, wait, release handling 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz b3523a7259 st/oxr: Protoct event queue with a mutex 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 76e4092e30 st/oxr: Purge event queue of destroyed sessions 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 185036489c st/oxr: Ensure get gfx requirements has been called 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 12d78144f6 st/oxr: Verify XrViewConfigurationType in xrEnumerateEnvironmentBlendModes 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz fb867b02c3 xrt: Remove array_size field on xrt_swapchain 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 09baeb91bc c/swapchain: Close and remaining open FDs 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 753b910b5a c/swapchain: Don't only give out the zero index 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 5b0085f1c1 c/client: Mark consumed FDs as invalid 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 9ec0b559d4 ipc/util: Don't follow null pointers and add alignment paranoia 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 05827abd8e ipc/server: Fix swapchain handling 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz d295ca49a8 doc: Add IPC section 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz ebd5773fb8 util: Add function for u_hashset to allocate a item 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 0d2a24b9a0 util: Add a index fifo 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 371622c199 d/psvr: Normalize rotation 2020-06-02 13:02:04 +01:00
Jakob Bornecrantz 77c2b9cb5d c/main: Include <math.h> in comp_layer_renderer.c 2020-05-29 23:37:22 +01:00
Jakob Bornecrantz ace4d0e825 os/threading: Incude xrt_compiler.h 2020-05-29 23:36:23 +01:00
Jakob Bornecrantz b572577014 st/oxr: Update OpenXR headers to 1.0.9 2020-05-29 23:36:23 +01:00
Jakob Bornecrantz 739f5f13c7 doc: Remove old changelog fragments 2020-05-29 11:00:22 +01:00
Jakob Bornecrantz b48fd8b178 doc: Update CHANGELOG.md 2020-05-29 11:00:22 +01:00
Jakob Bornecrantz f9ed82914b doc: Make changelog snippets uniform 2020-05-29 11:00:22 +01:00
Jakob Bornecrantz 9c44f2194d doc: Add .gitignore to big 2020-05-29 11:00:22 +01:00
Jakob Bornecrantz 9e8844eb68 doc: Changelog for !356 2020-05-29 11:00:22 +01:00
Lubosz Sarnecki eced139598 doc/changes: Document MR 340. 2020-05-28 23:18:09 +01:00
Jakob Bornecrantz 03f802de77 st/oxr: Correctly validate time in xrLocateSpace 2020-05-28 22:56:59 +01:00
Jakob Bornecrantz dd04379209 st/oxr: Now that layers are supported up the max layers to what the spec requires 2020-05-28 22:56:59 +01:00
Jakob Bornecrantz d3b90e9548 doc: Changelogs for !349 2020-05-28 15:50:47 +01:00
Jakob Bornecrantz 28d8bea9b9 doc: Changelogs for !348 2020-05-28 15:50:47 +01:00
Jakob Bornecrantz 3ecb5f762d doc: Changelogs for !345 2020-05-28 15:50:47 +01:00
Jakob Bornecrantz 7cd9dfabc8 st/oxr: Translate swapchain usage flags 2020-05-28 15:50:47 +01:00
Jakob Bornecrantz 23b882df08 st/oxr: Write out pose values on failure, better say which layer failed and also check projection layer poses 2020-05-28 15:50:47 +01:00
Jakob Bornecrantz 9d791cdfd3 math: Use non-squared 'length' of quat in validation
Correctly validate quaternion using non-squard "length" instead of squard
"length", certain combinations of elements would produce valid regular "length"
but not valid squard ones.
2020-05-28 15:50:47 +01:00
Ryan Pavlik dcaff91d10 doc: Update target/instance docs following removal of xrt_prober_create 2020-05-27 18:45:07 -05:00
Ryan Pavlik e1e9503cd1 doc: Add documentation about target structure/architecture 2020-05-26 19:36:28 +00:00
Ryan Pavlik 40c0ef74b3 doc: Fix typo and markdown-lint warnings. 2020-05-26 19:36:27 +00:00
Ryan Pavlik 86b375409b doc: Link to changelog from main page. 2020-05-26 19:36:27 +00:00
Ryan Pavlik 24e466b56f doc: Enable use of images by Doxygen. 2020-05-26 19:36:27 +00:00
Ryan Pavlik 0e5c084a95 doc: Fix include paths shown by doxygen 2020-05-26 11:25:03 -05:00
Ryan Pavlik eb8c36cb3d doc: More cleanup of !314 description. 2020-05-14 15:06:02 +00:00
Jakob Bornecrantz 62615e43d5 doc: Fix !314 text 2020-05-13 13:38:40 +01:00
Ryan Pavlik 4638b0af7b build: Switch all CMake options to XRT_... to match what's used in source.
Also revise other small related parts of the build to make them more clear and consistent.
2020-05-12 11:52:51 -05:00
Ryan Pavlik acbac4f1a6 t/service: Add ability to generate, link, install systemd unit files 2020-05-07 16:54:17 -05:00
Jakob Bornecrantz f8550ebfcf doc: Avoid Windows reserved filesystem name by renaming aux to auxiliary
Closes #77
2020-05-05 17:40:05 +01:00
Ryan Pavlik 45ee58065c doc: Add changelog fragment for !294 2020-04-29 17:44:07 -05:00
Jakob Bornecrantz 018e37c0a1 doc: Document MR295 2020-04-29 18:33:01 +01:00
Jakob Bornecrantz 8328577b88 cmake: Tidy whitespace (NFC) 2020-04-29 09:12:19 +01:00
Ryan Pavlik bbb5543f66 doc: Add changelog fragments for !292 2020-04-28 16:45:54 -05:00
Jakob Bornecrantz 80dd892987 xrt: Add serial and manufacturer to xrt_prober video device probing interface 2020-04-28 18:51:07 +00:00
Jakob Bornecrantz 1871653a36 doc: Document MR 283 2020-04-28 11:46:31 +00:00
Christoph Haag 40f4790436 doc: Document MR 281 2020-04-28 10:22:42 +00:00
Ryan Pavlik 75d5e5b9f2 t/psmv: Fix FTBFS on PPC.
Apparently EIGEN_PI isn't a double by default.
2020-04-27 20:18:31 +00:00
Jakob Bornecrantz a10e7fe968 d/psmv: Move led and rumble update to thread 2020-04-25 16:24:28 +01:00
Ryan Pavlik d58b4b43f2 doc: Add a reference to a changelog entry. 2020-04-24 16:38:01 -05:00
Ryan Pavlik 5160ed3e85 doc: Fix typos in changelog fragments. 2020-04-24 16:35:02 -05:00
Ryan Pavlik cc8eb50a7d doc: Add changelog fragments. 2020-04-24 16:35:02 -05:00
Lubosz Sarnecki ba3b220ad2 c/renderer: Use gray as idle image color. 2020-04-22 22:00:13 +01:00
Jakob Bornecrantz 01c479468c d/psvr: Use the simple 3dof imu filter 2020-04-22 22:00:13 +01:00
Pete Black ccb1b911f6 c/client: Get the supported formats from the fd compositor 2020-04-22 22:00:13 +01:00
Jakob Bornecrantz 0ad9a7406c os/threading: Add #pragma once 2020-04-22 21:59:20 +01:00
Jakob Bornecrantz e37d8f4cf5 xrt: Remove timestate from xrt_device interface 2020-04-16 17:29:34 +01:00
Jakob Bornecrantz 76f83364e3 os/ble_dbus: Check if bluetooth is available
Closes #65
2020-04-16 13:48:34 +00:00
Jakob Bornecrantz 530cbf0d6c os/ble: Detect errors better 2020-04-16 13:48:34 +00:00
Jakob Bornecrantz c8b4a00482 comp: Delay swapchain destruction until a safe time, like end frame. 2020-04-15 19:57:46 +01:00
Jakob Bornecrantz 061dbefbd0 u/threading: Add a new higher level threading helpers 2020-04-15 17:33:35 +00:00
Lubosz Sarnecki 8dca8d8987 doc/changes: Document MR 277. 2020-04-15 18:07:17 +02:00
Jakob Bornecrantz b5354c4d83 st/gui: Remove old video test 2020-04-11 12:31:55 +01:00
Jakob Bornecrantz 3b084b5c91 xrt: Add new xrt_instance object 2020-04-10 13:32:25 +01:00
Jakob Bornecrantz 452c1c0ba3 d/v4l2: Tweaks for the ELP stereo camera 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz 231d39185e t/file: Remove hacky file handling functions 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz 2063bc30b8 st/prober: Load tracking config from json and use new settings struct 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz a11aa689a7 st/gui: Save camera and calibration data using new settings 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz bc31233570 xrt: Add new "settings" interface for sharing camera settings across components 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz de20d87f87 xrt: Make it possible for the prober to pass in JSON data to the drivers 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz 06b915496f doc: Add XRT Interfaces changelog heading 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz 7b049a9d65 t/file: Expose non-hack version of the calibration data save function 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz f47c384b79 u/json: Add bool getter function 2020-04-10 12:29:21 +00:00
Jakob Bornecrantz b5dd07f2fa u/file: Add file helpers 2020-04-10 12:29:21 +00:00
Lubosz Sarnecki 414ac75a13 doc/changes: Document MR 271. 2020-04-09 16:15:17 +00:00
Jakob Bornecrantz 6fe02588f9 comp: Get num_images from the fd compositor 2020-04-08 15:20:36 +01:00
Jakob Bornecrantz 9d009784b6 st/gui: Show name of device when no modes are found 2020-04-08 10:51:12 +01:00
Jakob Bornecrantz f4143d7017 doc: Expand changelog entries for !242, !245, and !249. 2020-04-07 18:25:16 +01:00
Jakob Bornecrantz 817ec2f2bc u/hashset: Fix ISO C++ warning 2020-04-07 16:19:55 +01:00
Lubosz Sarnecki 5b334d2663 doc/changes: Document MR 263. 2020-04-07 13:45:11 +00:00
Lubosz Sarnecki 48a51ddb23 doc/changes: Document MR 262. 2020-04-07 15:00:17 +02:00
Lubosz Sarnecki 8fcef41c28 doc/changes: Document MR 259. 2020-04-07 14:25:51 +02:00
Lubosz Sarnecki c101840d77 doc/changes: Document MR 258. 2020-04-07 14:25:51 +02:00
Lubosz Sarnecki d1a4accb3a doc/changes: Document MR 257. 2020-04-07 14:25:45 +02:00
Lubosz Sarnecki 46f5500898 doc/changes: Add compositor category. 2020-04-07 14:00:39 +02:00
TheOnlyJoey 6454778e0b README: Update with some compatibility info
Added information to the README containing OpenHMD version requirement and information regarding the requirement of GL_EXT_memory_object_fd and limitations on Monado's compositor.
2020-04-03 21:10:58 +01:00
Jakob Bornecrantz 46f51e8139 os/ble: Fix memory leak if we fail to find a device 2020-04-03 17:21:55 +01:00
Jakob Bornecrantz 78d13d9220 st/prober: Add changelog entry 2020-04-03 14:28:31 +01:00
Lubosz Sarnecki 7d5d43a1c0 doc/meson: Remove install arg.
The project currently is set to meson version 0.49.0 but uses features
the install argument for configure_file was introduced with meson 0.50.0.

This patch removes the unused parameter fixes the following warnings:
```
WARNING: Project targeting '>=0.49.0' but tried to use feature introduced in '0.50.0': install arg in configure_file
WARNING: Project specifies a minimum meson_version '>=0.49.0' but uses features which were added in newer versions:
* 0.50.0: {'install arg in configure_file'}
WARNING: Deprecated features used:
* 0.50.0: {'install arg in configure_file'}
```

In an initial patch I just bumped the meson version, but this introduced
problems in our Debian CI.
An increase in the meson version would be possible by using a meson
distribution from pip, as it's done for old distros in xrdesktop.
2020-03-31 18:26:56 +02:00
Jakob Bornecrantz a8a4d8c3dd d/arduino: Add new flexible arduino based input device 2020-03-27 10:22:19 +00:00
Ryan Pavlik bc53be8562 t/imu_fusion: Clean up and improve comments 2020-03-26 12:00:26 +00:00
Ryan Pavlik 4c54ccd0fb d/psmv: Switch to using pre-filter 2020-03-26 12:00:26 +00:00
Ryan Pavlik c6a574191d aux/tracking: Add image undistort/normalize cache mechanism 2020-03-26 12:00:26 +00:00
Ryan Pavlik e5224cf02e doc: Add an aux section to changelog config 2020-03-26 12:00:26 +00:00
Jakob Bornecrantz 9ff0ee2e6a st/gui: Fix compilation issue with OpenCV
Closes #63
2020-03-25 19:59:16 +00:00
Jakob Bornecrantz 3d991c97f6 doc: Add changelog entries 2020-03-25 13:58:51 +00:00
Jakob Bornecrantz d67b72326d doc: Stop changelog snippits from showing up in 'Related Pages'
By excluding the doc/changes directory from Doxygen.
2020-03-25 13:58:00 +00:00
Ryan Pavlik 68b866f604 doc: Unify meson and cmake configured files. 2020-03-23 17:29:43 -05:00
Ryan Pavlik a974562d43 t/openxr: Unify configured files for Meson and CMake. 2020-03-23 17:29:43 -05:00
Ryan Pavlik 377ae07e53 xrt: Add missing SPDX tags 2020-03-23 17:29:43 -05:00
Ryan Pavlik 09c189b6ba build: Install more targets 2020-03-23 17:29:43 -05:00
Ryan Pavlik e6edaa9caf doc: Add some retroactive changelog fragments for post-0.1.0 merge requests. 2020-03-13 17:52:54 -05:00
Ryan Pavlik 22d951a0ef doc: Add the rest of the Proclamation scaffolding. 2020-03-13 17:52:54 -05:00
Ryan Pavlik 6df722c5dd doc: Move changelog fragment. 2020-03-13 17:34:51 -05:00
Jakob Bornecrantz f8847912a7 os/ble: Fix error on not finding any device 2020-03-13 11:07:32 +00:00
Jakob Bornecrantz dbb5bb2acb doc: Apply extract options to Doxygen.meson_in as well 2020-03-02 20:14:52 +00:00
Jakob Bornecrantz a5f9fa4cae doc: Make it slightly more obvious that there are two Doxygen files 2020-03-02 20:14:11 +00:00
Ryan Pavlik 1f81e674af docs: Extract static functions.
Needed to extract static inline utilities, etc.
2020-03-02 14:00:03 -06:00
Jakob Bornecrantz b07af5cfc6 doc: Strip correct doc path from files 2020-02-26 12:04:43 +00:00
Jakob Bornecrantz 7666a70c03 doc: Put Monado in the project name 2020-02-26 12:02:57 +00:00
Jakob Bornecrantz 265425a9bc doc: Start a writing a driver document page 2020-02-26 12:01:30 +00:00
Jakob Bornecrantz 5f0ba12236 doc: Also update for meson 2020-01-28 19:20:07 +00:00
Jakob Bornecrantz 467a540959 doc: Create a new mainpage for Doxygen 2020-01-26 19:29:02 +00:00
Jakob Bornecrantz 854a9b023e doc: Update roadmap 2020-01-26 19:28:39 +00:00
Jakob Bornecrantz 41b7c0e764 doc: Update roadmap 2019-10-28 19:05:33 +00:00
Drew DeVault 064aef3526 build: port to meson 2019-09-26 15:05:22 +00:00
Ryan Pavlik 051c298369 docs: Fix include paths for doxygen 2019-08-23 09:28:50 -05:00
Ryan Pavlik 24184969ab doc: Doxyfile extension update 2019-08-19 17:12:33 -05:00
Jakob Bornecrantz 15a97422ba xrt: Add all of Monado 2019-03-18 05:52:32 +00:00