Jakob Bornecrantz
023d5bf232
c/main: Support compute queue in mirror code
2023-05-19 23:36:41 +01:00
Jakob Bornecrantz
44c81b6ddb
c/main: Refactor out mirror_to_debug_gui code
2023-05-19 23:36:41 +01:00
Jakob Bornecrantz
f359826363
c/main: Fix readback timing information
2023-05-19 23:36:41 +01:00
Jakob Bornecrantz
3b5e84fd6f
c/shaders: Add blit compute shader
2023-05-19 23:36:41 +01:00
Jakob Bornecrantz
53f96ed20d
a/vk: Add vkCmdPushConstants
2023-05-19 23:18:29 +01:00
Jakob Bornecrantz
b5a40a1b50
a/vk: Make it possible to select vk format in readback pool
2023-05-19 23:18:29 +01:00
Jakob Bornecrantz
e10a37d39a
u/pacing: Add env variable to set present to display offset
2023-05-19 21:09:20 +00:00
Jakob Bornecrantz
96e8aba770
u/pacing: Explain min app time more
2023-05-19 21:09:20 +00:00
Jakob Bornecrantz
d5a7b8ad13
u/pacing: Add u_var tracking to app pacer
2023-05-19 21:09:20 +00:00
Jakob Bornecrantz
c658cc7f4d
m/ff: Add comments to C++ wrapper
2023-05-19 21:05:52 +00:00
Jakob Bornecrantz
d7df4f9b9a
m/ff: Rename field to follow style guide in C++ wrapper
2023-05-19 21:05:52 +00:00
Jakob Bornecrantz
2d725756f2
m/ff: Return value from m_ff_vec3_f32_get in C++ wrapper
2023-05-19 21:05:52 +00:00
Jakob Bornecrantz
a519c5ae6b
m/ff: Add function to get internal fifo in C++ wrapper
2023-05-19 21:05:52 +00:00
Jakob Bornecrantz
c19fbce8c3
st/gui: Make it possible to inhibit sinks gui headers
2023-05-19 20:43:06 +00:00
Jakob Bornecrantz
17b8a979e5
st/gui: Make debug sinks be opened by default
2023-05-19 20:43:06 +00:00
Jakob Bornecrantz
06e8ff8350
u/var: Improve documentation
2023-05-19 20:43:06 +00:00
Jakob Bornecrantz
5b529e50cb
ext/tracy: Fix compile when TRACY_HAS_CALLSTACK is not set
2023-05-19 20:43:06 +00:00
Jakob Bornecrantz
e21c3a7afe
st/gui: Add some tracing
2023-05-19 18:32:20 +01:00
Jakob Bornecrantz
667e6e73fa
u/debug_gui: Add some tracing
2023-05-19 18:32:20 +01:00
Jakob Bornecrantz
a5de76095a
u/debug_gui: Refactor loop
2023-05-19 18:32:20 +01:00
Mis012
19f87ba217
d/pssense: Replace uint with uint32_t in pssense_driver.c
...
The type "uint" doesn't seem to exist on some platforms at least
(for example alpine linux), and it's only used in a single file,
so it seems like a good idea to change the two uses to "uint32_t".
Closes #258
2023-05-19 16:17:42 +01:00
Jakob Bornecrantz
66a9131dd9
st/oxr: Guard against xsysc being NULL
2023-05-18 12:22:57 +01:00
Jakob Bornecrantz
d79678aeec
st/oxr: Always create the system compositor
...
Some apps will enable headless and vulkan, then use Vulkan.
2023-05-18 12:22:57 +01:00
Jakob Bornecrantz
288ee57fd2
d/survive: Get FoV from config struct
2023-05-18 11:12:06 +01:00
Jakob Bornecrantz
b84d1dfa00
d/vive: Get FoV from config struct
2023-05-18 11:12:06 +01:00
Jakob Bornecrantz
9f5e8963a9
a/vive: Add tweaks for FoV values
2023-05-18 11:12:06 +01:00
Jakob Bornecrantz
7b691ccab7
a/vive: Generate FoV values in config
2023-05-16 23:34:33 +01:00
Jakob Bornecrantz
62c483301c
a/vive: Order CMakeLists.txt files [NFC]
2023-05-16 23:34:33 +01:00
Jakob Bornecrantz
d984950be1
a/vive: Make imu config return be a out variable [NFC]
2023-05-16 23:34:33 +01:00
Jakob Bornecrantz
b93ed31cce
a/vive: Constify config argument to get functions [NFC]
2023-05-16 23:34:32 +01:00
Jakob Bornecrantz
5e0b21cd18
a/vive: Tidy vive_config.h [NFC]
2023-05-16 23:34:32 +01:00
Jakob Bornecrantz
54083a99de
a/vive: Tidy vive_config.c [NFC]
2023-05-16 23:34:32 +01:00
Jakob Bornecrantz
67dd88ec4a
a/vive: Refactor out calibration getters into own file [NFC]
2023-05-16 23:34:32 +01:00
Jakob Bornecrantz
3487923eab
d/qwerty: Remove old prober code
2023-05-16 22:25:05 +00:00
Jakob Bornecrantz
fb30f5e077
t/common: Put simulated, remote and qwerty higher up in list
2023-05-16 22:25:05 +00:00
Jakob Bornecrantz
be58024ffb
t/common: Add Qwerty builder
2023-05-16 22:25:05 +00:00
Jakob Bornecrantz
76c5d677d7
d/qwerty: Add helper create function
2023-05-16 22:25:05 +00:00
Jakob Bornecrantz
ef59d8e85d
d/qwerty: Tidy header [NFC]
2023-05-16 22:25:05 +00:00
Ryan Pavlik
ae6b0ad445
st/p,t/common: Protect tracker-creation calls
2023-05-16 22:04:53 +00:00
Ryan Pavlik
cd79bef0cf
cmake: Fix build flags on MSVC
2023-05-16 22:04:53 +00:00
Ryan Pavlik
f0cc05d09b
cmake: Turn off two drivers that are currently incompatible with MSVC
2023-05-16 22:04:53 +00:00
Ryan Pavlik
173b36c3a2
t/sdl_test: Fix macro collision on Windows
2023-05-16 22:04:53 +00:00
Ryan Pavlik
8603e5d63e
i/client: Fix return type incompatibility on Windows
2023-05-16 22:04:53 +00:00
bjorn
d16576252f
c/main: Fix XRT_COMPOSITOR_FORCE_WAYLAND_DIRECT;
2023-05-16 14:40:10 -07:00
samuel degrande
ea7ec1bda8
xrt: Fail to build with Clang 16
2023-05-16 14:25:36 +00:00
Christoph Haag
2f4a926184
t/legacy: Ensure all legacy drivers can be disabled [NFC]
2023-05-16 08:53:55 +00:00
samuel degrande
1ad168cfc5
cmake: Fix build failure on msys2/mingw64
...
This is due to the use of `${SDL2_LIBRARIES}` over `SDL2::SDL2`.
On some 'old' OSes such as Ubuntu 20.04, the SDL2 CMake config does
not set an SDL2:SDL2 target but rather defines SDL2_LIBRARIES and
SDL2_INCLUDE_DIRS variables.
This patch creates an SDL2::SDL2 target, if not already set, based on
those 2 variables.
2023-05-15 16:41:34 +00:00
Jakob Bornecrantz
adc609d7c9
t/sdl_test: Compile as UTF-8 to fix MSVC warning
...
Fix the following warning:
sdl_program.cpp(25): warning C4566: character represented by universal-character-name '\u2603' cannot be represented in the current code page (1252)
2023-05-14 15:57:08 +01:00
Ryan Pavlik
4ffb271c6a
cmake: Build all math-heavy code with optimization.
2023-05-14 08:28:37 +00:00
Jakob Bornecrantz
8c97342732
u/pacing: Add minimum compositor time
2023-05-14 06:52:55 +00:00
Jakob Bornecrantz
f5e33e59c8
u/pacing: Add minimum app time option
2023-05-14 06:52:55 +00:00
Jakob Bornecrantz
fd55a0f1ef
u/pacing: Use helpers for ms <-> ns conversion
2023-05-14 06:52:55 +00:00
Jakob Bornecrantz
e3ce39926a
u/pacing: Improve comments
2023-05-14 06:52:55 +00:00
Jakob Bornecrantz
bfb3d7029c
u/time: Add ms to ns helper
2023-05-14 06:52:55 +00:00
Jarett Millard
f1bc10003d
d/pssense: Basic 3DoF pose tracking from IMU data
2023-05-13 10:58:33 -04:00
Jakob Bornecrantz
ca20f359b5
ipc: Allow UWP/AppContainer and others to connect
...
Including: UWP/AppContainer, Authenticated user and Administrator. Currently
guarded with IPC_RELAXED_CONNECTION_SECURITY env variable.
2023-05-06 16:21:30 +01:00
Jakob Bornecrantz
5e19ae6a5b
st/oxr: Refactor wait frame function to avoid setting state before we should
...
We would leak frame_id and active_wait_frames increment that would cause bad
states where we hadn't fully waited but would allow xrBeginFrame to complete.
Also improve error handling so that on error conditions the semaphore is
properly decremented and the application can call xrWaitFrame again.
This was caused by unreal doing something like this:
* xrBeginFrame <-- Error
* xrWaitFrame
* xrBeginFrame
* xrEndFrame
* Called at the same time:
* xrWaitFrame
* xrBeginFrame <-- Would get state from non-completed xrWaitFrame
2023-05-03 16:18:10 +01:00
Jakob Bornecrantz
cfb63abac1
ipc: Do not leak arguments before fully having waited
2023-05-03 16:16:13 +01:00
Jakob Bornecrantz
0fc9796a74
u/pacing: Improve debug printing in app pacer
2023-05-03 16:16:11 +01:00
Jakob Bornecrantz
5511be3c2d
u/pacing: Add variable tracking to fake pacer
2023-05-03 12:23:20 +01:00
Jakob Bornecrantz
04d5942fa5
c/main: Try to detect when we miss frames
2023-05-03 12:23:20 +01:00
Jakob Bornecrantz
73f68fd111
c/main: Prefer only two swapchain images
2023-05-03 12:23:19 +01:00
Jakob Bornecrantz
2ab43f7494
c/main: Only do early acquire if we are ready
2023-05-03 12:23:02 +01:00
Jakob Bornecrantz
27fafacf63
c/main: Refactor frame handling a bit
2023-05-03 12:23:02 +01:00
Jakob Bornecrantz
2a17212d7f
c/main: Use vk_surface_info when creating images
2023-05-03 12:23:01 +01:00
Jakob Bornecrantz
622e09bc19
a/vk: Add vk_surface_info helpers
2023-05-03 00:09:03 +01:00
Jakob Bornecrantz
5432e4c1b0
d/twrap: Log errors in twrap_slam_create_device
2023-05-02 23:39:58 +01:00
Jakob Bornecrantz
1f2d444ffc
t/common: Fix typo
2023-05-02 23:27:57 +01:00
Fernando Velazquez Innella
6096f2199d
c/client: Signal D3D12 fence from GPU instead of CPU
2023-05-02 21:23:19 +00:00
Ryan Pavlik
887b79f577
t/common: Add a missing result and null check in North Star builder
2023-05-02 21:19:40 +00:00
Jan Schmidt
2d418ac14a
d/wmr: Allow direct BT HP Reverb G2 controllers
...
Don't skip HP Reverb G2 controllers when they are directly
connected via bluetooth
2023-05-01 16:32:33 +01:00
Jan Schmidt
51097c9ecd
d/wmr: Implement HP Reverb G2 controller
...
Implement the HP Reverb G2 controller subclass
and device specific input parsing.
2023-05-01 16:32:33 +01:00
Jan Schmidt
3c641c8490
xrt: Add extra HP Reverb G2 controller click controls
...
Add XRT_INPUT defines for HP G2 WMR controller home and squeeze click
inputs
2023-05-01 16:32:33 +01:00
Jan Schmidt
7e18fac224
d/wmr: Differentiate Odyssey+ controller
...
Switch the device name and input/binding mappings for
Odyssey+ controllers to differentiate them from OG WMR
controllers, allowing applications to load the correct
controller model
2023-05-01 16:32:33 +01:00
Jan Schmidt
3d0c898e22
d/wmr: Add Home button click to the OG WMR controller
2023-05-01 16:32:33 +01:00
Jan Schmidt
ea53d274a5
d/wmr: Split out OG WMR controller handling
...
Move the original WMR controller specific handling
into a subclass of wmr_controller_base, and add
a stub placeholder for HP Reverb G2 controllers
2023-05-01 16:32:33 +01:00
Jan Schmidt
f33326e90b
d/wmr: Fix crash on invalid firmware
...
Don't access invalid memory on a short firmware read.
2023-05-01 16:32:33 +01:00
Jan Schmidt
d326ff9890
d/wmr: Split the connection from controller
...
Factor out the bluetooth connection behaviour from
the WMR controller, so the connection can be
provided from the headset as well.
2023-05-01 16:32:33 +01:00
Jan Schmidt
35f72696fb
xrt: Add WMR and Odyssey home click
...
Add xrt input entries to expose the home button on OG and
Odyssey+ WMR controllers
2023-05-01 16:32:33 +01:00
Jakob Bornecrantz
cb6201f297
st/oxr: Set extensions earlier
2023-05-01 14:03:41 +01:00
Jakob Bornecrantz
ce5669aabb
st/oxr: Handle LOCAL_FLOOR enums
2023-05-01 14:03:41 +01:00
Jakob Bornecrantz
2b921ab673
t/slam: Enable some tracing
2023-05-01 14:03:41 +01:00
Jakob Bornecrantz
c0cc22e101
d/wmr: Expand tracing in camera
2023-05-01 14:03:40 +01:00
Jakob Bornecrantz
cfdea265f4
c/client: Avoid using shared context on synchronization
2023-05-01 14:03:01 +01:00
Jan Schmidt
96d188803c
d/wmr: Fix typo in debug output
...
correnntly -> currently
2023-05-01 13:51:44 +01:00
Jan Schmidt
236e732404
d/wmr: Fix prober crash after failing to load fw
...
Fix a double-free. The wmr_hmd_create() method
already cleans up the hid devices on failure.
2023-05-01 13:51:44 +01:00
Jan Schmidt
87d804c7d6
d/wmr: Log larger Device Status messages
...
HP Reverb G2 sends larger device status messages with unknown
content. Log how large they are, and at least dump the first
11 bytes
2023-05-01 13:51:44 +01:00
Jan Schmidt
ed54b7899c
d/wmr: Don't wait forever for HMD firmware
...
Add a 100ms timeout for firmware reads from the HMD,
and error out if it takes longer. Fixes problems
sometimes waiting forever on my G2 when it gets
into a bad state.
2023-05-01 13:51:44 +01:00
Jan Schmidt
7b4fffed8f
d/wmr: Improve readability in the camera source
2023-05-01 13:51:44 +01:00
Jan Schmidt
e9c977243f
u/logging: Add hexdump logging method
...
Add macros for logging hexdumps of memory blocks to help
with driver development. Only macros for trace and debug
level logging are provided, as noone should be logging
hexdumps except for development.
2023-05-01 13:51:44 +01:00
utzcoz
4f171b3d55
ext/openxr: Update headers to 1.0.27
...
Signed-off-by: utzcoz <utzcoz@outlook.com>
2023-04-27 21:48:50 +08:00
Jakob Bornecrantz
5197b4a42f
d/vive: Add a slider to adjust all tracked pose timestamps
2023-04-26 22:17:36 +01:00
Jakob Bornecrantz
ce3c5d59fb
d/wmr: Add a slider to adjust all tracked pose timestamps
2023-04-26 22:17:36 +01:00
Jakob Bornecrantz
9d8668a0a6
cmake: Remove _SLAM suffixes on KIMERA and BASALT have defines
2023-04-26 21:39:16 +01:00
Jakob Bornecrantz
99c1742c82
ext/slam: Use LDFLAGS instead of libraries
...
This lets us avoid LIBRARY_PATH in order to build Monado.
2023-04-26 21:39:16 +01:00
Ryan Pavlik
c924157c59
a/android: Only look up the standardized intent to find our own package.
...
Should allow a constrained query manifest in client apps.
2023-04-25 10:40:58 -05:00
Ryan Pavlik
f57bc4a849
android-jni-wrap: Update to add more things
2023-04-24 11:43:30 -05:00
Christoph Haag
aa052046a8
cmake: Delete active_runtime.json if it already exists
2023-04-24 13:57:00 +00:00
Jakob Bornecrantz
c0d242e1ed
a/vk: Fix doccomment style [NFC]
2023-04-21 14:28:18 +01:00
Jakob Bornecrantz
17ea4a73eb
a/vk: Mark unexported function as static [NFC]
2023-04-21 14:28:18 +01:00