Commit graph

439 commits

Author SHA1 Message Date
Jakob Bornecrantz daccde940e d/wmr: Fix accel axis conversion 2021-04-28 23:26:09 +00:00
Ryan Pavlik c6a3dec08e doc: Rename sample NorthStar config for file extension reasons, and add schema 2021-04-28 21:13:34 +00:00
Ryan Pavlik 23c73e145b a/util: Make JSON reading more robust.
We were missing some null checks.
2021-04-28 21:13:34 +00:00
Ryan Pavlik a11ce715ae doc: Add JSON Schema 2021-04-28 21:13:34 +00:00
Jakob Bornecrantz f51851d0e6 doc: Document !800 2021-04-27 22:47:11 +00:00
Ryan Pavlik 8a936f2474 doc: Extract static file members when set to extract all. 2021-04-27 22:05:00 +00:00
Jakob Bornecrantz e9839f3fe9 doc: Document !794 2021-04-27 02:11:13 +01:00
Jakob Bornecrantz 323eebf126 doc: Document !767 and !787 2021-04-26 20:28:32 +00:00
Ryan Pavlik f1ca54376c doc: Fix date on IPC docs and add copyright header 2021-04-26 14:08:57 +00:00
Jakob Bornecrantz 2d408384c6 doc: Document !768 2021-04-21 18:03:10 +00:00
Ryan Pavlik 6fb2241948 doc: Add license sidecar file for config_v0.json.northstar_lonestar example config. 2021-04-21 11:19:31 -05:00
nima01 027ce21bd5 d/wmr: Initial 3DoF WinMR driver
Only supports HP Reverb G1 and G2 for now.

Squash of the following commits:

Initial boilerplate code for HP Reverb G1 driver implementation
Detect and open MS HoloLens Sensors interface
Power up HMD display when headset is detected, and som general code cleanup
Add Reverb G2 PID
reverb_g1: Fix defines
reverb_g1: Run clang format
wmr: Rename Reverb G1 driver to WMR driver
d/wmr: Code style
d/wmr: Flesh out driver a bit more
d/wmr: Code style
Add basic 3dof rotational tracking
d/wmr: Code style
d/wmr: More tidy
xrt: Remove XRT_DEVICE_REVERB_G1
d/wmr: Even more tidy
d/wmr: Changes for Reverb G2
d/wmr: Fixes since last commit
wmr: Fix the meson build and auto-enable the driver
d/wmr: Sleep for compositor to get modes
d/wmr: Use os_hid for control device
d/wmr: Remove hidapi as a dependancy
d/wmr: Move sensor reading to own thread and fix locking
d/wmr: Read from control device and handle more unknown messages
d/wmr: Decode IPD value from control device
d/wmr: Remove all left over dummy driver fields

Co-author: nima01 <nima_zero_one@protonmail.com>
Co-author: Jakob Bornecrantz <jakob@collabora.com>
Co-author: Jan Schmidt <jan@centricular.com>
2021-04-19 13:33:01 +00:00
Christoph Haag b9b72280bf doc: Add MR 741 changelog 2021-04-19 12:53:47 +02:00
Christoph Haag e8b18131f3 doc: Add xrt_input_name to northstar example config 2021-04-19 12:53:47 +02:00
Christoph Haag a6be5ca0eb doc: Add MR 565 changelog 2021-04-15 21:42:06 +00:00
Jakob Bornecrantz c42198b86f doc: Document !721 & !754 2021-04-13 23:21:38 +01:00
Jakob Bornecrantz 7c77625da9 st/oxr: Set visibility and z_order if multi compositor controls are available 2021-04-13 16:56:17 +00:00
Jakob Bornecrantz b48cdfed44 c/main: Fix xrt_compositor::wait_frame 2021-04-13 16:56:17 +00:00
Ryan Pavlik f537d115fe doc: Exclude Android in-tree build artifacts from doxygen's scanning. 2021-04-13 11:46:53 -05:00
Moses Turner c54a6bef0a doc: Document !749 2021-04-11 04:08:49 -05:00
Ryan Pavlik c591fe770e doc: Clean up render timing docs. 2021-04-09 18:22:42 -05:00
Jakob Bornecrantz ac1acfa7d4 doc: Document !721 2021-04-07 15:41:47 +01:00
Jakob Bornecrantz 727612c0a5 doc: Document !715 2021-04-03 03:07:21 +01:00
Ryan Pavlik d34e1464fd comp: Update file header. 2021-04-02 18:02:10 -05:00
Christoph Haag e5a77ea80d doc: Add mr 742 changelog 2021-04-02 15:48:10 +00:00
Jakob Bornecrantz 9695e90d95 d/vive: Setup the variable tracking for imu fusion 2021-04-02 16:00:42 +01:00
Jakob Bornecrantz cebc8ebed5 st/oxr: No longer need to work around depth Swapchain on Unreal 2021-04-02 16:00:42 +01:00
Moses Turner 55b86fe815 d/ulv2: Create the driver.
Co-authored-by: Moses Turner <mosesturner@protonmail.com>
Co-authored-by: Christoph Haag <christoph.haag@collabora.com>
2021-04-01 02:10:33 +02:00
Ryan Pavlik a5db039486 doc: Add changelog fragments. 2021-03-31 12:05:24 -05:00
Ryan Pavlik 942091c10d comp: Enable VK_EXT_debug_report extension 2021-03-31 12:02:41 -05:00
Jakob Bornecrantz 11bf681e3b doc: Document !735 2021-03-30 21:28:40 +01:00
Jakob Bornecrantz 63f5c86257 xrt: Make xrt_swapchain be reference counted 2021-03-24 17:50:08 +00:00
Jakob Bornecrantz a71b3d35d1 m/3dof: Add assert for timestamp paranoia 2021-03-17 01:10:02 +00:00
Jakob Bornecrantz c73146c6fd d/psvr: Ensure that timestamps are always after each other 2021-03-17 01:10:02 +00:00
Jakob Bornecrantz a9a706cbbd doc: Document !705 2021-03-12 00:06:36 +00:00
Christoph Haag fcc77edb8b doc: Add changelog for MR 712 2021-03-10 02:04:58 +01:00
Jakob Bornecrantz 3e13e20c4c doc: Document !697 2021-03-08 11:20:52 +00:00
Jakob Bornecrantz adf1bd952d doc: Add frame timing documentation 2021-03-08 11:20:52 +00:00
Christoph Haag cd69816872 doc: Add changelog for MR !704 2021-03-02 19:55:35 +01:00
Christoph Haag 15365a2acd doc: add northstar example config 2021-03-02 19:43:19 +01:00
Christoph Haag d270828cfc doc: Add changelog for MR 695 2021-03-02 19:43:19 +01:00
Ryan Pavlik 7477873682 doc: Update mr.676.md to mention another MR. 2021-03-02 17:20:02 +00:00
Jakob Bornecrantz d6eda06ae2 doc: Remove md prefix from all Markdown pages 2021-03-01 19:42:52 +00:00
Jakob Bornecrantz a387202352 doc: Tidy mainpage.md 2021-03-01 19:30:57 +00:00
Ryan Pavlik 1963e313b1 ipc/android: Switch to using client push mutex to avoid cond var wait in server. 2021-02-24 15:25:28 -06:00
Ryan Pavlik ccf6ac4b94 ipc/android: Remove old workaround 2021-02-24 15:23:26 -06:00
Ryan Pavlik 28c84af396 doc: Add Android details to the IPC doc 2021-02-24 15:23:26 -06:00
Jakob Bornecrantz eb00bbe5f2 doc: Document !692 2021-02-22 23:20:05 +00:00
Ryan Pavlik f15a14b193 ipc/server: Factor out the mainloop code that may vary between platforms 2021-02-22 17:03:16 -06:00
Ryan Pavlik d829fac08c doc: Add IPC design/details doc, with only the existing Android details 2021-02-22 16:50:00 -06:00
Ryan Pavlik ab5af29d05 doc: Fix doxygen warning 2021-02-22 16:50:00 -06:00
Jakob Bornecrantz 1b692c6381 doc: Document !964 2021-02-20 00:51:28 +00:00
Christoph Haag 3162f8050c doc: Add changelog for MR 691 2021-02-17 20:03:34 +01:00
Jakob Bornecrantz 1934897a1b doc: Document !960 2021-02-17 14:42:15 +00:00
Jakob Bornecrantz 2b539f9750 doc: Document !689 2021-02-16 18:08:49 +00:00
Jakob Bornecrantz 85c69a4312 doc: Document !688 2021-02-16 18:08:47 +00:00
Jakob Bornecrantz da2691aac0 doc: Document !686 2021-02-15 16:13:07 +00:00
Ryan Pavlik 268738c45d doc: Cleanup howto-release 2021-02-11 09:43:08 -06:00
Christoph Haag 850cb96e87 doc: Add mr 677 changelog 2021-02-03 02:44:17 +01:00
Christoph Haag bec70c476c doc: Add changelog for MR 674 2021-02-01 15:23:19 +00:00
Jakob Bornecrantz 3c60afdd24 doc: Remove old changelog fragments 2021-01-28 16:02:50 +00:00
Jakob Bornecrantz bda64b8f48 doc: Update CHANGELOG.md 2021-01-28 16:02:50 +00:00
Jakob Bornecrantz f46c93f752 doc: Add HOWTO release document 2021-01-28 16:02:45 +00:00
Jakob Bornecrantz eec3446e5b u/sink: Add Bayer format converter 2021-01-27 16:09:07 +00:00
Jakob Bornecrantz 5b6e6bf6a6 xrt: Add XRT_FORMAT_BAYER_GR8 format 2021-01-27 16:09:07 +00:00
Jakob Bornecrantz bfdd3a0a5b d/v4l2: More buffers 2021-01-27 16:09:07 +00:00
Jakob Bornecrantz bd257500b8 d/v4l2: Expose more information 2021-01-27 16:09:07 +00:00
Jakob Bornecrantz fa2748637a xrt: Expose more information on frame servers 2021-01-27 16:09:07 +00:00
Jakob Bornecrantz 18fb3e7024 c/main: Lower priority on sRGB format
This works around a bug in the OpenXR CTS and mirrors better what at least on
other OpenXR runtime does.
2021-01-27 15:41:15 +00:00
Jakob Bornecrantz 0673c2e375 doc: Document !666 and !667 2021-01-25 00:12:03 +00:00
Jakob Bornecrantz 3e028a7952 st/oxr: Correctly validate quats to be within 1% of unit length 2021-01-21 00:33:32 +00:00
Jakob Bornecrantz 026fa2cebb math: Add quat valdiate that only checks within 1% of unit length 2021-01-21 00:33:32 +00:00
Christoph Haag 844d2c9d58 doc: add changelog for MR 638 2021-01-20 18:23:09 +01:00
Jakob Bornecrantz afea93f297 xrt: Remove prepare function from xrt_compositor 2021-01-20 15:04:09 +00:00
Jakob Bornecrantz 2b8c835b68 xrt: Introduce xrt_system_compositor 2021-01-20 15:04:09 +00:00
Lubosz Sarnecki 6455b1b829 doc: Document MR 645. 2021-01-13 12:33:15 +01:00
Christoph Haag 030e43e7d1 doc: Add changelog for 633 2021-01-06 13:40:59 +00:00
Christoph Haag 58900f1db9 doc: add changelog for mr 635 2021-01-06 13:34:31 +00:00
Christoph Haag 057f65630f doc: Add changelog for mr 636 2021-01-06 13:23:28 +00:00
Christoph Haag 712763c5c6 doc: Add changelog for mr 634 2021-01-06 13:03:47 +00:00
Lubosz Sarnecki 80c837d62a doc: Document MR 627. 2020-12-28 14:21:03 +00:00
Christoph Haag d5183336b3 d/ohmd: Add display left rotation for Oculus Rift DK2 2020-12-23 11:51:51 +01:00
Jakob Bornecrantz c30c4c011d c/main: Silence warnings and make sure that layer configs are picked up 2020-12-15 14:27:31 +00:00
Lubosz Sarnecki 669303cd6d doc: Document MR 620. 2020-12-14 18:59:28 +00:00
Christoph Haag 30d7001df1 ipc: Make OXR_DEBUG_GUI=1 work with monado-service 2020-12-14 18:53:07 +00:00
Ryan Pavlik fba01f656a doc: Update changelog. 2020-12-06 23:07:05 +00:00
Ryan Pavlik 5893213496 doc: Document the Vulkan extensions used, in a table in Doxygen.
Duplication of information, yes, but it's a lot more readable in table format...
2020-12-06 23:07:05 +00:00
Lubosz Sarnecki aa308609af doc: Document MR 611. 2020-12-01 17:36:15 +01:00
Ryan Pavlik 6fbd12bde4 comp/main: near and far are keywords on Windows. 2020-11-23 14:27:21 -06:00
Ryan Pavlik 66811b436a xrt: Have the vk_helper vk_create_device take in a list of device extensions, and fix usages. 2020-11-23 14:27:21 -06:00
Jakob Bornecrantz e12598c0a3 doc: Add changelogs for MR 599 2020-11-20 03:20:33 +00:00
Jakob Bornecrantz ef6c8430d2 m/space: Make sure to not drop positions 2020-11-18 18:05:07 +00:00
Jakob Bornecrantz d1aa04e402 st/gui: Add remote hand tracking controls 2020-11-18 17:37:39 +00:00
Jakob Bornecrantz 5ce0a0b3ab d/remote: Add hand tracking support 2020-11-18 17:37:39 +00:00
Jakob Bornecrantz e0a7df0f1d st/oxr: Make sure to restore old EGL display/context/drawables when creating a EGL compositor 2020-11-15 22:47:42 +00:00
Christoph Haag ef7bbc5876 doc: Add changelog for MR 600 2020-11-12 16:04:00 +01:00
Lubosz Sarnecki cd8a108ab4 doc: Document MR 601. 2020-11-12 16:02:10 +01:00
Ryan Pavlik 451a9c5150 android: Update to AboutLibraries 8.5.0
This includes my submission allowing licenses to be
included explicitly in the gradle files.
2020-11-10 18:44:03 +00:00
Ryan Pavlik fe7a66393b docs: Disable LaTeX output, to silence warnings. 2020-11-10 03:09:07 +00:00
Ryan Pavlik d2955a3967 aux/util: Adjust conditional log macros to handle msvc correctly 2020-11-10 03:09:07 +00:00
Jakob Bornecrantz 97ebeda78e doc: Add MR 597 changelogs 2020-11-10 00:49:03 +00:00
Ryan Pavlik d4011ed78a d/ns: Fix memory leak in math 2020-11-09 16:06:14 -06:00
Christoph Haag 1a5dde79af doc: Add changelog for MR 583 2020-11-09 19:21:27 +00:00
Christoph Haag 4001bae5cb doc: Add changelogs for MR 591 2020-11-06 01:05:54 +01:00
Ryan Pavlik 25967f906b t/oxr_android: Generate license resource at build time. 2020-11-05 17:04:53 -06:00
Jakob Bornecrantz 7c807a8605 xrt: Add device driver provided bindings 2020-11-05 14:41:55 +00:00
Jakob Bornecrantz f88ce679cc doc: Remove old changelog fragments 2020-11-04 13:37:13 +00:00
Jakob Bornecrantz bdb3159aff doc: Update CHANGELOG.md 2020-11-04 13:37:13 +00:00
Christoph Haag 37e4578cd3 doc: Add changelog for MR 589 2020-11-04 14:09:56 +01:00
Jakob Bornecrantz a4018708eb doc: Remove old changelog fragments 2020-11-02 20:24:48 +00:00
Jakob Bornecrantz e7323e985a doc: Update CHANGELOG.md 2020-11-02 20:24:48 +00:00
Ryan Pavlik ae62cfbaf6 doc: Add spdx tags. 2020-11-02 17:04:51 +00:00
Ryan Pavlik 9aeb3f50c5 doc: Document merge request changes. 2020-10-30 18:20:36 -05:00
Lubosz Sarnecki f4113ef15b d/android: Add Android sensors driver. 2020-10-30 18:20:35 -05:00
Ryan Pavlik a0bbca572d comp: Basic Android compositor window.
Also makes the service feature not depend on other options:
it can be used without those other parts.

comp/window_android: Remove unused EGL code for now, as it is crashing.

comp/window_android: Use MonadoView async method to create surface.

comp/window_android: Use custom surface as intended

Co-authored-by: Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
2020-10-28 09:41:30 -05:00
Ryan Pavlik d0187cee9a aux/android: Add Java code 2020-10-28 09:33:26 -05:00
Jakob Bornecrantz 5b3bf8ce23 doc: Add a bunch of change logs 2020-10-26 23:05:06 +00:00
Christoph Haag c0a5b3b76c d/survive: Implement haptic feedback 2020-10-13 19:39:28 +02:00
Christoph Haag cc8f82807c doc: Add MR 555 changelog 2020-10-12 22:55:33 +02:00
Christoph Haag 2ef1affb2b doc: Add changelog for MR 538 2020-09-30 02:20:45 +02:00
Christoph Haag 49d5d3bf40 doc: Add MR 536 changelog 2020-09-28 17:07:46 +01:00
Jakob Bornecrantz 7817d2ea04 doc: Document !532 2020-09-17 23:04:37 +01:00
Jakob Bornecrantz 8e24dda794 xrt: Remove out_timestamp argument to xrt_device::get_tracked_pose 2020-09-07 23:37:09 +01:00
Jakob Bornecrantz eaffa05a37 xrt: Remove acceleration components from xrt_space_relation 2020-09-07 23:36:34 +01:00
Jakob Bornecrantz 4d85db6051 xrt: Add xrt_space_graph 2020-09-07 16:14:46 +01:00
Jakob Bornecrantz 80fb9b722b doc/wand: Add a tiny blurb about prober 2020-09-04 16:50:39 +01:00
Jakob Bornecrantz 4e6a137c62 ipc: Make it possible to toggle inputs on and off 2020-08-28 11:33:38 +00:00
Jakob Bornecrantz 557dacbb02 st/oxr: Special case the any path for pose actions 2020-08-28 10:34:19 +00:00
Jakob Bornecrantz deb5633bf9 d/psmv: Introduce proper grip and aim poses
Correctly rotate the grip pose to follow the spec more closely.
2020-08-27 10:42:05 +01:00
Jakob Bornecrantz 516212fef4 c/main: Test if a format is supported before adding to list 2020-08-26 14:28:10 +00:00
Jakob Bornecrantz 3ce4ed2a1f doc: Add 501 changelogs 2020-08-26 15:25:00 +01:00
Christoph Haag ac6edb94c2 doc: Add changelog for 498 2020-08-24 10:35:39 +02:00
Christoph Haag f964d41bde doc: Add changelog for 495. 2020-08-21 02:24:48 +02:00
Ryan Pavlik 7c0df6506b ipc/client: Use Android allocator on client side. 2020-08-19 16:07:00 -05:00
Ryan Pavlik a57507518d aux/android: New aux library, add image allocator for Android 2020-08-19 16:06:30 -05:00
Ryan Pavlik fa34c65ed3 xrt: Make xrt_image_native::size optional.
Not all allocators can supply it.
2020-08-19 16:06:30 -05:00
Ryan Pavlik e48f68deb6 aux/ogl: Add helper header for OpenGL. 2020-08-19 16:06:30 -05:00
Ryan Pavlik 5cccb77403 doc: Add mistakenly-omitted changelog fragment. 2020-08-19 16:06:30 -05:00
Ryan Pavlik 54149b12b9 st/oxr: Handle the android extension 2020-08-19 11:01:12 -05:00
Christoph Haag d11f5cb558 doc: Add changelogs for 489 and 494 2020-08-19 15:06:06 +02:00
Jakob Bornecrantz 201b5337df ipc: It's okay to send zero handles 2020-08-19 11:45:31 +00:00
Jakob Bornecrantz 132b0c541d d/rs: Use a thread to get the poses
Tested by moses from Discord.
2020-08-17 11:58:18 +01:00
Ryan Pavlik 54dbb4d128 st/oxr: Use the XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING code added in OpenXR 1.0.11. 2020-08-14 17:42:19 -05:00
Ryan Pavlik 2c126e08ff st/oxr: Handle XRT_ERROR_IMAGE_CREATE_FLAG_UNSUPPORTED from compositor. 2020-08-14 19:58:01 +00:00
Ryan Pavlik 9087d1c7a9 xrt: Use our generic graphics buffer typedefs all over.
This adds some Android support in composition clients,
and fixes the breakage from 2 commits ago.

Thanks to Jakob for finding my error in an earlier version.
2020-08-13 17:34:05 -05:00
Jakob Bornecrantz d27044a18d ipc: Add a disabled loopback allocator 2020-08-12 15:26:43 +01:00
Jakob Bornecrantz a834c9977e ipc: Make it possible to give the client compositor a image allocator 2020-08-12 15:26:05 +01:00
Jakob Bornecrantz 01dcf59c53 xrt: Add new image native allocator interface 2020-08-12 15:24:48 +01:00
Jakob Bornecrantz 38703fc1d2 st/oxr: Add plumbing for layers 2020-08-11 01:51:24 +01:00
Jakob Bornecrantz 5e78752a6e xrt: Add a bunch of different layer types 2020-08-11 01:48:31 +01:00