Commit graph

225 commits

Author SHA1 Message Date
Ryan Pavlik b70d14f6b0 st/oxr: Convert some more missed subaction path iterations to x-macro usage.
Also make Doxygen expand macros so that these usages still result
in reasonable developer docs.
2020-07-23 15:40:18 -05:00
Ryan Pavlik a9a502952a st/oxr: Fix multiplicity of bound_path per action.
Thanks to @haagch for the start of this patch.
2020-07-23 14:34:38 -05:00
Ryan Pavlik ae59a3ce15 st/oxr: Add design documentation for OpenXR input subsystem. 2020-07-23 14:29:12 -05:00
Jakob Bornecrantz ee6aa4ee1d xrt: Make swapchain static image bit match OpenXR 2020-07-23 12:39:12 +01:00
Ryan Pavlik a04c162ab3 st/oxr: Centralize the lists of subaction paths using x-macros. 2020-07-22 16:00:23 -05:00
Jakob Bornecrantz 7818a5b9cf st/oxr: Implement xrEnumerateBoundSourcesForAction 2020-07-21 22:41:13 +00:00
Jakob Bornecrantz 53a0646e24 st/oxr: Add better verification in xrGetInputSourceLocalizedName 2020-07-21 22:41:13 +00:00
Jakob Bornecrantz 671628aabc doc: Document !448 2020-07-20 19:56:37 +01:00
Jakob Bornecrantz 2fdcddd703 doc: Update roadmap 2020-07-20 18:07:13 +01:00
Jakob Bornecrantz 65a9c27f20 doc: Add changelog snippets for !444 2020-07-20 17:24:35 +01:00
Lubosz Sarnecki 1b50c43ce6 doc/changes: Document MR 436. 2020-07-16 19:37:34 +02:00
Lubosz Sarnecki 3df90986ca doc/changes: Document MR 433. 2020-07-16 19:08:10 +02:00
Ryan Pavlik 1e45e56746 doc: Improve doxyfile 2020-07-16 10:23:27 -05:00
Ryan Pavlik ca5c1568c6 doc: Update prose and diagrams for fd->native renames.
Also now leaving just the SVG with drawio data embedded,
renamed so e.g. the extension for VSCode can hook it.
2020-07-16 10:10:16 -05:00
Ryan Pavlik ebc7a11e70 ipc: Support client->server "in_handles" 2020-07-16 11:51:16 +00:00
Ryan Pavlik 1aa2cdb89a build: Move determination of Vulkan usage to build system.
Vulkan is still required for most actual uses of Monado, but this
makes the coupling weaker.
2020-07-16 10:17:30 +00:00
Ryan Pavlik c3552ed420 xrt: Rename xrt_gfx_fd.h to xrt_gfx_native.h 2020-07-15 17:19:30 -05:00
Ryan Pavlik fb54961942 doc: Document MR 426 2020-07-15 09:19:19 -05:00
Ryan Pavlik 92e4b24b8f doc: Document MR 413 2020-07-14 16:39:20 -05:00
Christoph Haag 8ea86e0423 doc: document MR 421 2020-07-14 02:26:25 +02:00
Jakob Bornecrantz 39be1eaf3d doc: Remove old changelog fragments 2020-07-10 16:43:47 +01:00
Jakob Bornecrantz 26f5e66bb8 doc: Update CHANGELOG.md 2020-07-10 16:43:47 +01:00
Lubosz Sarnecki 2f3380f0fc doc: Document MR418. 2020-07-10 17:19:21 +02:00
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