Commit graph

7434 commits

Author SHA1 Message Date
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
Jakob Bornecrantz 2d6b3c2113 openxr: Use meta prober 2019-04-15 09:52:44 +01:00
Jakob Bornecrantz aa4a0eb9f7 aux/util: Add meta proper helper 2019-04-15 09:52:44 +01:00
Benjamin Saunders 53e7ff3990 README: Fix typo 2019-04-15 09:52:44 +01:00
Benjamin Saunders 1da5cd9914 st/oxr: Initialize action set session pointer
Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
2019-04-15 09:52:40 +01:00
Benjamin Saunders 9b774cbd72 st/oxr: Verify action names 2019-04-15 09:52:37 +01:00
Benjamin Saunders f32cab368f st/oxr: Fix error code for empty path segments 2019-04-15 09:52:34 +01:00
Benjamin Saunders a776b94147 st/oxr: Fix localized name validation 2019-04-15 09:52:30 +01:00
Ryan Pavlik 81fc9587db Update .gitlab-ci.yml
Actually use $ARCH_CONTAINER_IMAGE
2019-04-12 17:53:10 +00:00
Jakob Bornecrantz ab6defc610 d/*: Add a bit of documentation organization 2019-04-12 14:08:46 +01:00
Jakob Bornecrantz a6ea2816cb st/oxr: Tidy off by one error 2019-04-12 11:48:25 +01:00
Jakob Bornecrantz 98c91ccb25 st/oxr: Tidy code style 2019-04-12 11:46:59 +01:00
Jakob Bornecrantz fcdfd9d97d st/oxr: Pipe some path functions down into the path store 2019-04-12 11:30:01 +01:00
Jakob Bornecrantz 77b3b7b840 st/oxr: Add a path store 2019-04-12 11:30:01 +01:00
Jakob Bornecrantz 9173e1d31c st/oxr: Add code to verify full paths 2019-04-12 11:30:01 +01:00
Jakob Bornecrantz 51b5d55e61 st/oxr: Use correct error returns in single level path
Spotted by Ryan.
2019-04-12 11:30:01 +01:00
Jakob Bornecrantz e4a779f19b aux/util: Add a size calloc helper 2019-04-12 10:47:13 +01:00
Jakob Bornecrantz a36565c5b7 aux/util: Add string hashset 2019-04-12 10:47:13 +01:00
Jakob Bornecrantz b8e4a5f8d1 aux/math: Add simple string hashing function 2019-04-12 10:47:13 +01:00
Ryan Pavlik 918b834a3b ci: Add arch linux build 2019-04-11 23:26:07 +00:00
Jakob Bornecrantz d353149679 xrt: Tidy whitespace 2019-04-10 12:45:48 +01:00
Ryan Pavlik 35f62087be cmake: Use pkg-config to help know if we need libsubunit. 2019-04-09 10:36:59 -05:00
Ryan Pavlik dc513e032b cmake: Fix FindLibcheck - doesn't always require libsubunit 2019-04-09 10:36:54 -05:00
Ryan Pavlik 917366a730 build: Fix typo.
Left over from an abandoned alternate approach.
2019-04-08 15:19:18 -05:00
Ryan Pavlik 606ee6ca41 cmake: Quote more strings in if(). 2019-04-08 15:18:57 -05:00
Ryan Pavlik cd97d12fc9 include: Trigger compiler error if debugbreak isn't known. 2019-04-08 19:49:38 +00:00
Ryan Pavlik 611febab5a st/oxr: Switch logger to using XRT_DEBUGBREAK 2019-04-08 19:49:38 +00:00
Ryan Pavlik b7b27cc5a0 include: Add XRT_DEBUGBREAK to xrt_cmmpiler.h 2019-04-08 19:49:38 +00:00
Ryan Pavlik 891eb7f1c4 st/oxr: Add a debug option to break/trap on error.
Might be useful for debugging, since once the consuming call has returned,
you've lost most of the context of what led to the error.
2019-04-08 19:49:38 +00:00
Ryan Pavlik d7850f2c79 cmake: Fix quoting issue in FindOpenHMD.cmake 2019-04-08 14:34:51 -05:00
Ryan Pavlik 87d13d9a00 build: Remove unused BUILD_TESTS option.
BUILD_TESTING is the normal one used in CMake projects,
as far as I can tell.
2019-04-08 19:11:04 +00:00
Ryan Pavlik d4b47a0edb build: Don't say CMAKE_INSTALL_PREFIX in an install destination
This can make it harder for packagers, or at least isn't
"best practices" without a good reason.
2019-04-08 19:11:04 +00:00
Ryan Pavlik 5cfa0907b6 build: Use and obey config options for driver selection.
We had BUILD_WITH_OPENHMD but it was unused,
while the HDK driver always built if the deps were found.
2019-04-08 19:11:04 +00:00
Ryan Pavlik eec53ca35d build: Use FindOpenHMD.
Fixes a gripe/todo in the build system, too :D
2019-04-08 19:11:04 +00:00
Ryan Pavlik 78007e4670 fixup other two 2019-04-08 19:11:04 +00:00
Ryan Pavlik a06e8c237e cmake: Add a new FindOpenHMD and FindLibcheck.
FindLibcheck name used because there is a supplied FindCheck.cmake from upstream
that isn't as robust as we might want.
2019-04-08 19:11:04 +00:00
Ryan Pavlik d1b76db672 cmake: Overhaul FindHIDAPI to handle multiple backends 2019-04-08 19:11:04 +00:00