Christoph Haag
256e2c68d8
xrt: Implement & hook up hand joint tracking infrastructure
...
Include <inttypes.h> to satisfy older compilers
2020-10-12 22:13:47 +02:00
Christoph Haag
2a07c1034e
d/ns: Don't create rs tracker twice on v1
2020-10-12 16:06:25 +02:00
Ryan Pavlik
38ab579b19
readme: Add minimal dependency info for Windows
2020-10-08 17:26:23 -05:00
Ryan Pavlik
9d8af39b4f
t/cli: Fix build on Windows.
2020-10-08 17:26:23 -05:00
Ryan Pavlik
835beedcca
u_handles: Add Win32 handle utilities
2020-10-08 17:26:22 -05:00
Ryan Pavlik
5522c7317a
st/oxr: Replace __typeof__ usage with portable syntax.
...
Needed for building on MSVC
2020-10-08 17:26:22 -05:00
Ryan Pavlik
3faa32753d
inc/xrt: have the vulkan includes include windows.h neatly.
...
The Vulkan header itself already does it, we just want to do it first
with the right defines.
2020-10-08 17:26:22 -05:00
Ryan Pavlik
39ede92287
build: Link aux_util against threads explicitly
2020-10-08 17:26:22 -05:00
Ryan Pavlik
8b416da12b
xrt: Add Win32 Vulkan platform define when needed
2020-10-08 17:26:22 -05:00
Ryan Pavlik
938e8cb393
inc/xrt: Windows uses Win32 HANDLEs for things.
2020-10-08 17:26:22 -05:00
Ryan Pavlik
60b4fc2ba1
inc/xrt: Add a header for minimally including Windows.h
2020-10-08 17:26:22 -05:00
Ryan Pavlik
3f83b1da92
u_json: Properly silence secure CRT warnings.
2020-10-08 17:26:22 -05:00
Ryan Pavlik
48eb00f1c8
u_bitwise: Switch from static const int to defines.
...
Sadly MSVC didn't believe those were constant,
and this is a C file so no constexpr.
2020-10-08 17:26:22 -05:00
Jakob Bornecrantz
1750bb672f
c/main: Remove none shaders
2020-10-08 15:02:52 +01:00
Jakob Bornecrantz
39ec39dbee
c/main: Add more logging levels
2020-10-08 14:57:59 +01:00
Jakob Bornecrantz
813487c2f5
ipc: Use new none distortion code
2020-10-07 23:45:46 +01:00
Jakob Bornecrantz
96046d1315
d/ohmd: Use new none distortion code
2020-10-07 23:45:45 +01:00
Jakob Bornecrantz
7baf90d3d8
d/hdk: Use new none distortion code
2020-10-07 23:45:43 +01:00
Jakob Bornecrantz
cd2ea960b9
d/dummy: Use new none distortion code
2020-10-07 23:45:41 +01:00
Jakob Bornecrantz
51c8575323
u/mesh: Add back none distortion generation
2020-10-07 23:45:39 +01:00
Jakob Bornecrantz
b5e5322f49
c/main: Use log levels
2020-10-06 20:37:01 +01:00
Lubosz Sarnecki
bbeab1da3f
c/main: Use u_logging.
...
Remove comp_compositor_print.
2020-10-06 20:04:52 +01:00
Christoph Haag
dc29c3f97e
build/meson: Build daydream and arduino driver when dbus is enabled
2020-10-05 16:05:02 +00:00
Christoph Haag
5bea856f20
build/meson: Add XRT_HAVE_DBUS when dbus is found
2020-10-05 16:05:02 +00:00
Christoph Haag
5ca90343ab
build/meson: Fix formatting for survive driver enablement
2020-10-05 16:05:02 +00:00
Jakob Bornecrantz
92caeae39c
xrt: Define XRT_FEATURE_COMPOSITOR_MAIN and XRT_FEATURE_OPENXR
2020-10-05 16:46:06 +01:00
Jakob Bornecrantz
942ba178a0
st/oxr: Add extension support for XR_KHR_composition_layer_equirect2
2020-10-05 16:45:48 +01:00
Jakob Bornecrantz
708dc80bbc
external: Update OpenXR headers to 1.0.12
2020-10-05 16:34:12 +01:00
Jakob Bornecrantz
c5b696cfd7
t/cli: Add lighthouse command
2020-10-05 16:22:02 +01:00
Jakob Bornecrantz
0804dc20d1
os/ble: Use logging
2020-10-05 16:22:02 +01:00
Jakob Bornecrantz
40c764a290
os/ble: Large refactor of code
2020-10-05 14:19:52 +01:00
Jakob Bornecrantz
5af976a510
os/ble: Add os_ble_broadcast_write_value function
2020-10-05 14:19:52 +01:00
Jakob Bornecrantz
5b4d45ffcc
os/ble: Correct documentation on os_ble_notify_open function
2020-10-05 14:19:52 +01:00
Jakob Bornecrantz
33879da21a
xrt: Add XRT_HAVE_DBUS
2020-10-05 14:19:52 +01:00
Christoph Haag
a0dd182dae
build/ctl: Explicitly depend on generated ipc client header
...
Including a header in the build target is the documented solution for depending on
the generation of files via custom targets.
Fixes build on alpine linux.
2020-10-04 23:44:16 +02:00
Jakob Bornecrantz
02b33c668b
st/oxr: Destroy client compositor when session is destroyed
...
Fixes #99
2020-10-04 13:04:57 +01:00
Jakob Bornecrantz
9dd8bfef28
st/oxr: Use xrt_comp_native_destroy helper
2020-10-04 13:04:55 +01:00
Jakob Bornecrantz
3729f2e8c9
ipc: Free client side compositor
2020-10-04 13:04:53 +01:00
Jakob Bornecrantz
309037a445
c/client: The client compositors doesn't own the native compositor
2020-10-04 13:04:52 +01:00
Jakob Bornecrantz
6ec6c2eac9
d/dummy: Make view rotate slightly with time
2020-10-01 23:49:12 +01:00
Jakob Bornecrantz
9f39410b64
d/dummy: Make the view move slightly with time
2020-10-01 15:50:51 +01:00
Jakob Bornecrantz
9a675cc7f3
xrt: Rename xrt_uv_triplet
2020-09-30 15:35:57 +01:00
Christoph Haag
2ef1affb2b
doc: Add changelog for MR 538
2020-09-30 02:20:45 +02:00
Christoph Haag
bb56e5f3c5
d/openhmd: Make struct oh_device private and refactor
2020-09-30 02:08:03 +02:00
Christoph Haag
f6c3998d29
xrt: Use struct vive_values for u_compute_distortion_vive
2020-09-30 02:05:05 +02:00
Christoph Haag
29188d681c
xrt: Remove all but mesh distortion values from xrt_hmd_parts::distortion
...
Move vive values to struct u_vive_values in u_distortion_mesh.
Move openhmd values to private struct inside ohmd driver.
2020-09-30 02:05:05 +02:00
Christoph Haag
c5209c5ed4
comp: Move mesh generation to comp_renderer init
...
Use none shader when XRT_DISTORTION_MODEL_NONE is set.
Fall back to none distortion if mesh generation fails or unsupported
distortion model is set.
comp_render init updates comp_settings::distortion_model.
u_compute_distortion_mesh: Don't touch xdev::distortion::preferred,
just add XRT_DISTORTION_MODEL_MESHUV mesh to xdev::distortion::models.
2020-09-30 02:05:05 +02:00
Christoph Haag
f82f247c19
comp: Rename distortion.vert to none.vert
...
After removing the other shaders, it is only used for no distortion anymore.
2020-09-30 02:05:05 +02:00
Christoph Haag
bc7a948975
comp: More replacing of binding indices with variables
2020-09-30 02:05:05 +02:00
Christoph Haag
2e7451ca5e
comp: Support only mesh and no istortion, remove pano and vive shaders
...
Also changes hardcoded binding indices into variables to make following the code easier
e.g. when adding new UBOs.
2020-09-30 02:05:04 +02:00