Commit graph

1170 commits

Author SHA1 Message Date
Jakob Bornecrantz 889c89590c st/oxr: Implement action stubs in oxr_input.c 2019-06-10 14:47:05 +01:00
Jakob Bornecrantz de6bf55116 aux/util: Add hashmap 2019-06-10 14:47:05 +01:00
Jakob Bornecrantz 2d6cb08c48 aux/util: Fix uninitialized errors 2019-06-10 14:15:53 +01:00
Christoph Haag 706e916bdb build: Add ${OPENHMD_ROOT_DIR}/build to OpenHMD library search 2019-06-05 12:34:08 +02: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
Ryan Pavlik fa8047fed3 st/oxr: Add oxr_chain.h header
This should replace all manual poking of the next chain.
Prefer the macros over the functions since they'll do your casting for you.
2019-06-03 22:52:28 +00:00
Ryan Pavlik e944bcb96f st/oxr: Parenthesize macro args.
Found by upcoming modifications.
2019-06-03 22:52:28 +00:00
Ryan Pavlik 74065d49dd st/oxr: Remove incorrect check in OXR_VERIFY_TYPE_AND_NULL
We are to ignore any unexpected types in a next chain.
2019-06-03 22:52:28 +00:00
Ryan Pavlik 9c979099e3 st/oxr: Fix some error message formatting in oxr_verify 2019-06-03 17:48:59 -05:00
Ryan Pavlik 0696203858 st/oxr: Document message style for oxr_error 2019-06-03 17:48:39 -05:00
Jakob Bornecrantz c0008199ae aux/util: Remove meta prober 2019-05-16 20:41:35 +01:00
Jakob Bornecrantz 43dfb400a6 prober: Add small helper program to debug st/prober 2019-05-16 20:41:35 +01:00
Jakob Bornecrantz 702eba0f53 openxr: Use prober target 2019-05-16 20:41:35 +01:00
Jakob Bornecrantz d97df04c11 xrt: Add new prober interface and code 2019-05-16 20:41:35 +01:00
Jakob Bornecrantz e2bd986bc5 os: Add a minimal hidraw wrapper 2019-05-13 18:26:02 +01:00
Jakob Bornecrantz d9cdd04b7a openxr: Don't unconditionally link with OpenHMD driver 2019-05-13 18:09:40 +01:00
Christoph Haag 09e9771a2d st/oxr: fix path length verification
We can't assume the string is null terminated.
2019-05-09 17:49:03 +00:00
Jakob Bornecrantz d5f5d9f354 st/oxr: Set session on action spaces 2019-05-09 12:42:28 +01:00
Jakob Bornecrantz defc4f9eef build: Tidy auxiliary 2019-05-09 12:42:26 +01:00
Jakob Bornecrantz 83159a02c1 d/psvr: Add to meta prober and OpenXR target
Still hidden behind a env variable.
2019-05-06 16:46:10 +00:00
Jakob Bornecrantz 42cddb2580 d/psvr: Add a experimental PSVR driver
Hidden behind a env variable.
2019-05-06 16:46:10 +00:00
Benjamin Saunders 74165d7e0e comp: Support sRGB swapchain under OpenGL 2019-05-04 13:25:24 -07:00
Jakob Bornecrantz 406565f71a ci: Make sure to install libudev-dev in debian 2019-05-03 22:30:17 +01:00
Jakob Bornecrantz e0adc25124 aux/util: Add a device helper function to setup the fields for a common HMD setup 2019-05-03 18:56:14 +01:00
Jakob Bornecrantz a70fdba30e st/oxr: Move CMakeLists.txt into base directory 2019-05-03 18:53:24 +01:00
Jakob Bornecrantz dc9ab44a5a xrt: Rename xrt_prober to xrt_auto_prober 2019-05-03 18:53:07 +01:00
Jakob Bornecrantz ade0594914 build: Add libudev on Linux 2019-05-02 14:08:11 +01:00
Jakob Bornecrantz 1436dcaea8 build: Fix typos in hidapi cmake file 2019-05-02 14:08:11 +01:00
Jakob Bornecrantz fd74f48529 xrt: Code style 2019-05-02 14:07:52 +01:00
Jakob Bornecrantz 690a354bd1 comp: Code style 2019-05-02 14:07:41 +01:00
Benjamin Saunders 13cef1b8b9 comp: Support rendering individual array layers 2019-05-01 17:45:43 -07:00
Benjamin Saunders b6f2013bc5 st/oxr: Frame end uses the most recently released image 2019-05-01 17:45:43 -07:00
Benjamin Saunders f6b8cb25b8 comp: Respect swapchain array size 2019-05-01 17:45:43 -07:00
Jakob Bornecrantz c8cdf3ee38 d/ohmd: Tidy code style 2019-04-30 14:02:00 +01:00
Jakob Bornecrantz 9c05e853cc build: Refactor flags and definitions (and fix fallout)
Defines:
* XRT_HAVE_[name] is a external dep indicator.
* XRT_DRIVER_[name] if a internal driver is built.

CMake variables:
* BUILD_WITH_[name] is a external dep indicator.
* BUILD_DRIVER_[name] tells if we should build a specific driver.
2019-04-29 17:18:09 +01:00
Jakob Bornecrantz 831b52f71e d/ohmd: Refactor quirking some more 2019-04-27 09:21:12 +01:00
Jakob Bornecrantz 8675142e32 d/ohmd: Refactor quirking code 2019-04-27 09:06:33 +01:00
Jakob Bornecrantz 79d7555449 d/ohmd: Make rotate in be more correct 2019-04-27 08:32:44 +01:00
Jakob Bornecrantz 2caa08f8a8 comp: Debug print more info 2019-04-25 06:46:20 +01:00
Jakob Bornecrantz 95f24f4735 comp: Debug print Vulkan device and version 2019-04-25 06:34:34 +01:00
Ryan Pavlik 3a4e020920 st/oxr: Fix conformance issue in begin session. 2019-04-24 02:41:34 +00:00
Jakob Bornecrantz 6f41fbc43d build: Tidy whitespace 2019-04-24 02:19:53 +01:00
Jakob Bornecrantz dfe5e3935f build: Make libusb, libuvc, FFMPEG and OpenCV usable in build
Only libusb is required.
2019-04-24 02:19:53 +01:00
Jakob Bornecrantz e40e17d079 ci: Add FFMPEG and OpenCV to CI 2019-04-23 17:18:27 +00:00
Jakob Bornecrantz 6ea904f961 ci: Add libusb and libuvc where available to CI 2019-04-23 17:18:27 +00:00
Benjamin Saunders 570ba1ae88 st/oxr: Initialize action act_set pointer
Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
2019-04-22 09:19:59 -07:00
Jakob Bornecrantz bc77052493 st/oxr: Tidy code style 2019-04-20 02:54:23 +01:00
Jakob Bornecrantz e39260eb67 d/ohmd: Add quirk for PSVR
The OpenHMD driver does not have any sensible panotools values
2019-04-19 14:56:47 +01:00