Commit graph

108 commits

Author SHA1 Message Date
Ryan Pavlik 3e34060777 st/oxr: Ignore view config type in monado headless mode. 2019-08-14 17:15:15 -05:00
Ryan Pavlik 225bac0cfb st/oxr: Enforce 0 session create flags 2019-08-14 17:14:59 -05:00
Ryan Pavlik 761c4d7ca8 Fix build. 2019-08-14 17:14:46 -05:00
Ryan Pavlik 1fd9936f95 st/oxr: Fix enumerating swapchain formats on headless 2019-08-14 12:28:30 -05:00
Jakob Bornecrantz 5fa58efcbf st/oxr: Verify width and height on swapchain create 2019-08-01 07:39:50 +01:00
Jakob Bornecrantz 4ebc308a37 st/oxr: Update version for OpenXR 1.0 support 2019-08-01 07:34:33 +01:00
Jakob Bornecrantz 57c6078a69 st/oxr: Update to OpenXR 1.0 2019-07-29 16:43:39 +01:00
Jakob Bornecrantz 08a4b40f77 st/oxr: Fix API negotiation code 2019-07-29 16:34:48 +01:00
Ryan Pavlik bf45f2bc21 st/oxr: Hack the fixed bindings to add support for the Hydra 2019-07-29 04:08:06 +01:00
Jakob Bornecrantz 9a4fee3896 st/oxr: Code style 2019-07-25 00:57:51 +01:00
Jakob Bornecrantz d66cd05445 st/oxr: Fix warnings during release builds 2019-07-25 00:53:04 +01:00
Jakob Bornecrantz e7a933a168 st/oxr: Verify poses in space create functions 2019-07-21 14:57:45 +00:00
Jakob Bornecrantz 223206dc24 st/oxr: Refactor function returning to actually raise error this time 2019-07-21 14:15:17 +01:00
Jakob Bornecrantz 97939accda st/oxr: Slightly improve swapchain image status
The current code is not up spec at all anyways, but this at least
helps to avoid some bad situations in the current code.
2019-07-02 17:54:13 +01:00
Jakob Bornecrantz 79364eaf4c st/oxr: Validate that Swapchain has at least one released image 2019-07-02 17:54:13 +01:00
Jakob Bornecrantz b7defdb0ae st/oxr: Use new prober function helpers 2019-06-30 14:35:27 +01:00
Jakob Bornecrantz ccac11ac1d st/prober: Remove auto-wrapper 2019-06-30 14:35:27 +01:00
Jakob Bornecrantz 699bb8d5ad st/prober: Implement camera listing function 2019-06-28 14:03:50 +01:00
Jakob Bornecrantz 16f8b013ec st/prober: Save usb path and product name 2019-06-28 14:03:50 +01:00
Jakob Bornecrantz de4dc03ab7 st/oxr: Save people from shooting themselves in the foot 2019-06-25 18:36:14 +01:00
Ryan Pavlik 1f84814721 st/prober: Allow "found" functions called by prober to make more than one device. 2019-06-22 11:34:51 +01:00
Ryan Pavlik a673a4d469 st/oxr: Make the binding finder return bool so we can chain it. 2019-06-22 11:34:51 +01:00
Ryan Pavlik 257cf6b5a8 prober: Fix typo 2019-06-21 13:17:55 -05:00
Jakob Bornecrantz 80cf616355 st/prober: Improve printing order of dumping 2019-06-21 17:10:57 +01:00
Jakob Bornecrantz cf8dfe6357 st/prober: Prefer deb_path for finding usb bus and addr 2019-06-21 17:04:27 +01:00
Jakob Bornecrantz a3ae5ae453 st/prober: Probe for V4L devices 2019-06-21 17:04:27 +01:00
Jakob Bornecrantz cb44c822d2 st/prober: Refactor hidraw enumeration code in udev file 2019-06-21 17:04:27 +01:00
Jakob Bornecrantz dfdc794272 st/prober: Refactor libuvc code to own file 2019-06-21 17:04:27 +01:00
Jakob Bornecrantz d9b820c834 st/prober: Refactor libusb code to own file 2019-06-21 17:04:25 +01:00
Jakob Bornecrantz 7f07cee387 st/prober: Guard libudev usage 2019-06-21 17:03:20 +01:00
Jakob Bornecrantz d30cd0b639 st/oxr: Fix segfault due to bad U_ZERO of sub_paths 2019-06-18 21:32:08 +01:00
Ryan Pavlik e70a28b912 st/oxr: Fix enumerating swapchain formats on headless
Operating on the assumption that it's OK to pass a null countOutput sometimes.
2019-06-18 15:17:53 -05:00
Ryan Pavlik 93c5ae105f st/oxr: Fix typo. 2019-06-18 14:46:51 -05:00
Ryan Pavlik c327d5e48c st/oxr: Banish remaining bare calloc calls. 2019-06-18 14:14:01 -05:00
Ryan Pavlik 661fa79057 st/prober: Use U_ZERO 2019-06-18 14:14:01 -05:00
Ryan Pavlik bc4b36ed61 st/oxr: Use U_ZERO 2019-06-18 14:14:01 -05:00
Jakob Bornecrantz 739b6b7895 st/oxr: Code style fix 2019-06-18 13:09:59 -05:00
Ryan Pavlik 58f5d56d48 st/oxr: Code style fix 2019-06-18 13:09:59 -05:00
Ryan Pavlik 2228a00b08 st/oxr: Codespell fix 2019-06-18 13:09:59 -05:00
Jakob Bornecrantz e745a28374 st/oxr: Basic foundation for input and output
This commits lays the foundation for actions in Monado (input and output).
There are lots of things missing and non-conformant in there. But once in
more people then just me can test it out and work on it.
2019-06-18 17:56:10 +01:00
Benjamin Saunders 41ad2b872c st/oxr: Accept nonnull subactionPaths when countSubactionPaths is 0
It's not clear that this is forbidden, and it can make the caller's
life a little easier.
2019-06-14 12:06:00 -07:00
Ryan Pavlik 06cb5d680b st/oxr: Check requested OpenXR API version.
Conformance.
2019-06-12 15:40:19 -05:00
Ryan Pavlik 0bdb4e4aeb st/oxr: Unify checking of system ID, and do so in createSession 2019-06-12 15:40:19 -05:00
Ryan Pavlik 052728d515 st/oxr: Don't break on function unsupported errors. 2019-06-12 15:39:26 -05:00
Jakob Bornecrantz 8aec512de3 xrt: Update prober interface 2019-06-10 14:47:19 +01:00
Jakob Bornecrantz 1f64f714f6 xrt: Add input, hmd_parts and tracking interface
This patch has been spun of the rather massive amount of work for adding input
devices into Monado. The interfaces feels somewhat stable now so could do
with another pair of eyes on them, before too much work is done on st/oxr.
2019-06-10 14:47:19 +01:00
Jakob Bornecrantz 889c89590c st/oxr: Implement action stubs in oxr_input.c 2019-06-10 14:47:05 +01:00
Ryan Pavlik acec80da2f st/oxr: Fix graphics binding error codes/messages 2019-06-03 22:52:28 +00:00
Ryan Pavlik dab52d319d st/oxr: Support arbitrary next chains in session creation. 2019-06-03 22:52:28 +00:00
Ryan Pavlik 0a523bef05 st/oxr: Fix verifying XrSessionCreateInfo and graphics bindings structs.
Don't enforce next == NULL, and look through entire chain for structure
type enum, using oxr_chain.h
2019-06-03 22:52:28 +00:00