Commit graph

2652 commits

Author SHA1 Message Date
Moses Turner 36bc45b686 util: make sure u_config_json.file_loaded is false if we didn't load the file 2021-05-18 01:22:39 +00:00
Christoph Haag 82d9ed75c2 aux/vk: Check that native handles are importable 2021-05-18 03:01:44 +02:00
zhibinw 92565b7f21 ipc/android: support create surface from runtime. 2021-05-17 16:20:29 +00:00
Jae Lee df9ebf261f d/illixr: Update ILLIXR driver. 2021-05-16 22:59:32 +00:00
Ryan Pavlik bdc53b97a3 gradle: Apply suggestion from android studio 2021-05-14 14:55:08 -05:00
Ryan Pavlik d11ef4ae1e Revert "gradle: Only forward EIGEN3_INCLUDE_DIR definition if we actually have it set."
This reverts commit 0868a90a1f.
2021-05-14 14:54:52 -05:00
Moses Turner 302e72b2fe d/rs: remove superfluous rs_update_offset; add config options 2021-05-13 17:57:34 -05:00
Christoph Haag f6e831d8fb steamvr: Don't crash if we don't have bindings for device 2021-05-13 14:08:24 +02:00
Jakob Bornecrantz 13a5036b24 c/main: Make temp_vk be a pointer 2021-05-11 16:34:10 +00:00
Jakob Bornecrantz 9b6b5b7e6a c/main: Do not copy vk_bundle 2021-05-11 16:34:10 +00:00
Jakob Bornecrantz bd6e15c70c c/main: Follow style of using vk variable for vk_bundle interactions 2021-05-11 16:34:10 +00:00
Jakob Bornecrantz 3af65d60d2 c/client: Follow style of using vk variable for vk_bundle interactions 2021-05-11 16:34:10 +00:00
Christoph Haag 28a29f8152 st/oxr: Fix xrGetSystemProperties crash in headless mode
fixes #125

v2: Handle sys->xsysc being NULL
2021-05-11 02:10:58 +02:00
Moses Turner 4ff7fb74ff aux/util: only do tracing things if XRT_FEATURE_TRACING is enabled 2021-05-10 10:10:18 -05:00
Moses Turner 886a87e5ef meson: add option for tracing 2021-05-10 10:10:07 -05:00
Christoph Haag d384c90104 st/oxr: Check that VkPhysicalDevice in graphics binding matches suggested device
XR_KHR_vulkan_enable2:
physicalDevice VkPhysicalDevice must match the device specified by xrGetVulkanGraphicsDevice2KHR

XR_KHR_vulkan_enable:
physicalDevice VkPhysicalDevice must match the device specified by xrGetVulkanGraphicsDeviceKHR

XR_KHR_vulkan_enable:
Add a trivial check that xrGetVulkanGraphicsDeviceKHR is called before xrCreateSession.
(our cached suggested device will be XR_NULL_HANDLE if it has not been called).
The XR_KHR_vulkan_enable2 code path already contains this check.
2021-05-07 13:42:49 +02:00
Jakob Bornecrantz 35beaeead4 c/client: Add EGL comment (NFC) 2021-05-05 16:14:00 +00:00
Jakob Bornecrantz c1ac7fc679 c/client: s/comp_egl_glue.c/comp_egl_client.c (NFC) 2021-05-05 16:14:00 +00:00
Jakob Bornecrantz 3a537b8374 c/client: Tidy EGL code (NFC) 2021-05-05 16:14:00 +00:00
Jakob Bornecrantz 12489295cb c/client: Do not blindly try to restore no EGLDisplay contexts 2021-05-05 16:14:00 +00:00
Jakob Bornecrantz 41817b6e11 c/client: Tidy EGL code (NFC) 2021-05-05 16:14:00 +00:00
Jakob Bornecrantz b3455555c2 u/trace_marker: Use Percetto/Perfetto for tracing 2021-05-05 17:00:35 +01:00
Jakob Bornecrantz 5c916fd77d d/illixr: Use u_device_get_view_pose helper 2021-05-04 16:37:51 +00:00
Ryan Pavlik b6f440fa26 aux/tracking: Move general docs to a separate header. 2021-05-04 11:21:46 -05:00
Ryan Pavlik 348b7dff3a d/wmr: fix doxygen warning 2021-05-04 11:21:46 -05:00
Ryan Pavlik 77baa8b7e6 aux/android: Move code into official namespaces 2021-05-04 11:21:46 -05:00
Ryan Pavlik 265c49d337 a/math: Move functionality into official namespaces. 2021-05-04 11:04:32 -05:00
Ryan Pavlik 2ae3ce883d a/util: Namespace documentation 2021-05-04 11:04:32 -05:00
Ryan Pavlik d88aefafbc a/tracking: Migrate C++ APIs to the official namespaces now that we have some. 2021-05-04 10:34:43 -05:00
Ryan Pavlik bc4cf1cb93 external/jnipp: Move away from explicit instantiation of function templates.
Makes it too hard to track down errors: they showed up as linker errors, instead of compiler errors.
2021-04-30 17:58:21 -05:00
Ryan Pavlik 4ef5b65487 d/wmr: Fix typo 2021-04-30 17:57:50 -05:00
Ryan Pavlik f35ce4ea9b external: Update android-jni-wrap 2021-04-30 17:57:50 -05:00
Ryan Pavlik d31bab9398 external: Update jnipp 2021-04-30 17:57:50 -05:00
Ryan Pavlik a66f567392 aux/android: Remove unused include 2021-04-30 17:57:50 -05:00
Ryan Pavlik cf2abe7d88 u/process: Fix a warning by marking a function as maybe unused. 2021-04-30 17:57:50 -05:00
Ryan Pavlik 125b0799a3 aux/android: Update wrappers 2021-04-30 17:57:50 -05:00
Ryan Pavlik 45c0ca2ef9 aux/android: Expose native pointer from MonadoView 2021-04-30 17:34:21 -05:00
Ryan Pavlik faa753c667 android: Annotation, docs, and formatting improvements for MonadoView 2021-04-30 17:34:21 -05:00
Ryan Pavlik e4f2ac3286 android: Revise MonadoView so it doesn't require an Activity. 2021-04-30 17:34:21 -05:00
Ryan Pavlik 417de87cb2 a/util: Add a generic callbacks collection.
Based on the work for the Android surface callbacks,
just finished being made generic since we'll need to reuse it.
2021-04-30 17:34:21 -05:00
Ryan Pavlik 928771fddf t/oxr_android: Update recyclerview, and do not use wildcard version 2021-04-30 17:34:21 -05:00
Ryan Pavlik ad31345986 d/qwerty: Fix doxygen warnings.
Comments were a bit too clever to work across doxygen versions.
2021-04-30 17:34:21 -05:00
Jakob Bornecrantz 1af00e7cbe c/client: Fix swapchain leak 2021-04-30 21:56:09 +00:00
Jakob Bornecrantz 61d4d86874 ipc: Remove debug print (NFC) 2021-04-30 21:56:09 +00:00
Jakob Bornecrantz e0bf0a423f st/oxr: Make Vulkan optional 2021-04-30 21:53:21 +00:00
Ryan Pavlik e82fafb186 cmake: Allow C++17 mode on all platforms, all modules.
Remove per-module C++17 settings.
2021-04-30 15:37:04 -05:00
Jakob Bornecrantz daccde940e d/wmr: Fix accel axis conversion 2021-04-28 23:26:09 +00:00
Moses Turner f09e02c517 d/ns: fix resolution from 2880x1440 to 2880x1600 2021-04-28 18:07:07 -05: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