Jarvis Huang
210a6908cd
ipc/android: Avoid deadlock on Android
2021-10-27 13:44:20 +00:00
Christoph Haag
13f7fa3b82
ipc: Pack ipc message structs to make valgrind happy
2021-10-26 23:20:28 +02:00
Moses Turner
0dee9094b3
aux/math: encourage people to use normalized inputs to math_quat_from_plus_x_z
2021-10-26 10:56:41 +00:00
Ryan Pavlik
409541427d
st/oxr: MSVC-specialized version of macro in oxr_xrResultToString
2021-10-19 16:49:23 -05:00
Ryan Pavlik
05ed361601
t/psvr: Fix some truncation warnings.
2021-10-19 16:49:13 -05:00
Ryan Pavlik
b62fb33e36
d/wmr: Fix some truncation warnings.
2021-10-19 16:11:34 -05:00
Ryan Pavlik
4ae1a1753c
util: Fix typo
2021-10-19 16:11:34 -05:00
Ryan Pavlik
d4d6a1a73f
util: Fix some truncation warnings, mostly by explicitly casting
2021-10-19 16:11:34 -05:00
Ryan Pavlik
5f8cb4e227
a/math: Fix some truncation warnings.
2021-10-19 15:31:29 -05:00
Mateo de Mayo
1095c3a2c1
d/rs: Add pose correction for Basalt
2021-10-16 17:03:02 -03:00
Mateo de Mayo
ab2da01631
build: Add Basalt as an external SLAM system
2021-10-16 17:02:27 -03:00
Ryan Pavlik
782aa11754
comp/main: Initial wiring, but don't actually allow closing the window on Windows for now.
2021-10-15 15:29:58 -05:00
Ryan Pavlik
cb3fc65f14
comp/main: Win32: Spawn a thread for our windowed output.
2021-10-15 15:13:00 -05:00
Ryan Pavlik
c47463b4eb
aux/util: Fix log message formatting on Windows.
2021-10-15 15:05:34 -05:00
Ryan Pavlik
c40553580d
util: Fix copyright typo.
2021-10-15 14:55:12 -05:00
Ryan Pavlik
d6177777e5
os: Fix os_nanosleep on Windows.
2021-10-15 13:05:18 -05:00
Ryan Pavlik
3351ef5396
os: Add new thread helper methods
2021-10-15 13:05:18 -05:00
Ryan Pavlik
793a7d659d
os: Improve docs for thread helper.
2021-10-15 11:57:44 -05:00
Ryan Pavlik
2790f6d29f
comp: Fix windows build - near and far are keywords.
2021-10-15 10:15:16 -05:00
Moses Turner
d440a23888
d/dai: rename things to either 'monocular' or 'grayscale'
2021-10-13 16:26:26 -05:00
Jakob Bornecrantz
0d07971ebb
st/gui: Make it possible to use depthAI as a stereo and single source
2021-10-13 15:47:48 -05:00
Jakob Bornecrantz
21f6842e49
st/gui: Add some debugging to the paranoia
2021-10-12 20:44:32 +01:00
Jakob Bornecrantz
be9a91fd12
d/dai: Explicitly close queue to avoid use after free errors from asan
2021-10-12 20:44:32 +01:00
Jakob Bornecrantz
6f22d4d819
d/dai: Handle cameras without calibration data
2021-10-12 15:37:42 +01:00
Jakob Bornecrantz
c5b2c5827b
d/dai: Some tidy
2021-10-11 21:45:38 +01:00
Jakob Bornecrantz
a5fc2fa49e
d/dai: Expose function to get stereo calibration
2021-10-10 00:16:39 +01:00
Jakob Bornecrantz
3fd740e6e9
d/dai: Add support for a stereo pipeline via slam_stream_start
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
344b5d9755
d/dai: Refactor out create function
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
e1dd59f749
d/dai: Refactor out pipeline setup to helper function
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
b8e2cbd9ee
d/dai: Add code to extract calibration of gray stereo cameras
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
8c242c1bc1
d/dai: Work around RGB_OV_9782 not yet being supported on main
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
c2b00ebb18
d/dai: Switch default logging to info
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
580a2f6fff
u/sink: Add u_sink_combiner helper to combine frames to stereo frames
2021-10-09 22:28:11 +01:00
Jakob Bornecrantz
e8f7f2de0a
t/util: Add function to dump a stereo camera calibration
2021-10-09 22:28:11 +01:00
Mateo de Mayo
7f247604e3
build: Use pkg-config for finding SLAM systems in CMake and other minor improvements
2021-10-07 14:33:10 -03:00
Mateo de Mayo
9b21b7d36c
t/slam: Use debug assertions and ensure timestamps come in order
2021-10-06 16:41:18 -03:00
Mateo de Mayo
df3c36ba0c
d/rs: Improve how hdev handles IMU samples
...
- Prevent race conditions with a lock
- Check that timestamps "domains" are the same across samples
- Use faster sensor to push the IMU sample instead of always gyro
2021-10-06 16:41:18 -03:00
Mateo de Mayo
67a5946778
xrt: Add units to xrt_imu_sample fields
...
After using the structure a bit more, and realizing that while different components
sometimes use different units, it is easier to force them to send the imu_samples
in a standardized unit.
2021-10-06 16:41:18 -03:00
Mateo de Mayo
5845155229
xrt: Use doubles in xrt_vec3_f64
2021-10-06 15:23:28 -03:00
Moses Turner
5abd3b3570
d/ht: Switch to new get_hand_tracking signature and update tracking
2021-10-02 23:09:36 +01:00
Moses Turner
322d5b8f2d
d/remote: Switch to new get_hand_tracking signature
2021-10-02 23:09:25 +01:00
Moses Turner
621681ffb4
d/vive: Switch to new get_hand_tracking signature
2021-10-02 23:09:14 +01:00
Moses Turner
9f0de997d1
d/ulv2: Switch to new get_hand_tracking signature
2021-10-02 23:08:12 +01:00
Moses Turner
193dcc8776
d/survive: Switch to new get_hand_tracking signature
2021-10-02 23:08:09 +01:00
Moses Turner
bec03a09bc
d/multi: Switch to new get_hand_tracking signature
2021-10-02 23:08:06 +01:00
Moses Turner
8fdeaccbc7
st/oxr: Switch to new get_hand_tracking signature
2021-10-02 23:06:43 +01:00
Moses Turner
1a4dd31b5e
ipc: Switch to new get_hand_tracking signature
2021-10-02 23:06:29 +01:00
Moses Turner
ca007be4d5
xrt: Switch to new get_hand_tracking signature
2021-10-02 23:05:46 +01:00
Moses Turner
e134b24f8f
u/var: Add u_var_draggable_f32
2021-10-02 23:05:35 +01:00
Moses Turner
5efdea78da
aux/gst: Expose function to get offset from global time to video timestamp
2021-10-02 23:05:26 +01:00
Ryan Pavlik
37c5eee02a
a/math: Refactor one euro filter code
2021-10-02 23:05:22 +01:00
Moses Turner
52f1ce14ca
aux/math: Add m_vec2_lerp
2021-10-02 23:05:19 +01:00
Moses Turner
b067d3b0c2
d/vf: Fix typo
2021-10-02 23:05:16 +01:00
Mateo de Mayo
a409ed6141
d/rs: Fix build errors and warnings when compiling without a SLAM dependency
2021-10-01 23:22:16 -03:00
Moses Turner
140a39f9c4
d/ns: move ns_hmd_create to ns_hmd.h
2021-10-01 13:54:19 -05:00
Ryan Pavlik
884a312011
build: Fix build with CMake before 3.14
2021-10-01 11:21:35 -05:00
Simon Zeni
036eb19343
d/ht: fix stack overflow on hand detection
2021-09-30 14:30:22 -04:00
Jakob Bornecrantz
9a4cc80e87
st/prober: Tidy and re-order functions
2021-09-29 21:38:33 +00:00
Jakob Bornecrantz
874d48a810
st/prober: Add some tracing functions
2021-09-29 21:38:33 +00:00
Jakob Bornecrantz
c8d57a4ff3
d/vive: Add some more tracing
2021-09-29 21:38:33 +00:00
Jakob Bornecrantz
98c1cb5358
d/vive: Add tracing support focusing on device message processing
2021-09-29 21:38:33 +00:00
Jakob Bornecrantz
73d631c775
cmake: Make math depend on util
...
This fixes the build when tracing is enabled.
2021-09-29 21:38:33 +00:00
Christoph Haag
d2e64d8b75
d/survive: Add SURVIVE_LH_GEN env var
...
On some systems libsurvive gets randomly confused and misdetects lh2 as lh1.
This causes the config to be pruned and is very annoying.
2021-09-29 23:03:20 +02:00
Jakob Bornecrantz
6f66ada6d9
u/vive: Remove old code and tidy camera calibration extraction
2021-09-29 20:48:54 +00:00
Jakob Bornecrantz
08721858dc
u/vive: Compare calibration solutions
2021-09-29 20:48:54 +00:00
Jakob Bornecrantz
4430dbe5d5
u/vive: Rework how calibration is extracted
2021-09-29 20:48:54 +00:00
Jakob Bornecrantz
a15e37587b
u/vive: Add more camera fields
2021-09-29 20:48:54 +00:00
Mateo de Mayo
6f20b6d88f
d/rs: Add host-SLAM tracked device (hdev)
...
This device was tested on a D455 but should work on any other RealSense camera
that supports camera and IMU streams (even the T265), given that you properly
configure the external SLAM config file.
2021-09-28 16:11:42 -03:00
Mateo de Mayo
95e22ae7c8
d/rs: Implement new probing logic to choose between ddev and hdev creation
...
Also adds a rs_container to keep track of RealSense created objects that
are useful to have during execution.
2021-09-28 16:07:14 -03:00
Mateo de Mayo
961c7c8ed1
d/rs: Rename 6dof to ddev
...
This commit introduces the term `ddev` for a "Device-SLAM tracked device",
it will be useful to differentiate itself from the `hdev`
("Host-SLAM tracked device") that will be introduced in next commits.
Note that "config_realsense" json field was renamed to "config_realsense_device"
and the device's serial (used for tracking overrides) changed from
"Intel RealSense 6-DOF" to "Intel RealSense Device-SLAM".
2021-09-28 16:07:08 -03:00
Mateo de Mayo
f70752aeda
d/qwerty: Fix tracking overrides and correct multi typo
2021-09-28 16:07:03 -03:00
Mateo de Mayo
e561d312f6
st/prober: Handle SLAM tracker creation failure for the Euroc player
...
This also adds a do-nothing section to `p_factory_create_tracked_slam`
that could be replicated by new SLAM frame servers.
2021-09-28 16:06:58 -03:00
Mateo de Mayo
f88befbdbc
t/slam: Replace assertion with return -1 if SLAM_CONFIG is not provided
2021-09-28 16:06:52 -03:00
Mateo de Mayo
debdb11e02
t/slam: Miscelaneous NFC changes
...
- Use @todo instead of TODO for doxygen
- Improve the slam_tracker interface documentation
- Move euroc functions declared by macros into extern C
2021-09-28 12:49:36 +00:00
Mateo de Mayo
1a5af03111
t/slam: Move pose corrections into the tracked devices
...
This discards the pose correction logic used that was for the D455 not for
an euroc dataset. It will be reintroduced in a later commit with an
appropriate device.
2021-09-28 12:49:36 +00:00
Moses Turner
1c99e8edb5
meson: add option for tracing; align messages
2021-09-28 12:41:01 +00:00
Mateo de Mayo
d61a695f13
meson: Allow percetto to be used with meson
...
You may need to specify --libdir=$installdir/lib when installing percetto,
otherwise it gets installed on $installdir/lib/x86_64-linux-gnu by default and
meson might not look for the appropriate pkgconfig in there.
2021-09-28 12:41:01 +00:00
quic_zhibinw
f9d0bfb80a
aux/vk: Apply the protected content flag if app pass it when create swapchain
2021-09-28 15:33:15 +08:00
Ryan Pavlik
7b5102dc28
t/oxr-android: Clean up about libraries usage and fix mangled comments.
2021-09-27 09:29:29 -05:00
Ryan Pavlik
61feb03d0e
gradle: Format
2021-09-27 09:26:15 -05:00
Ryan Pavlik
e8ed9c95f6
ipc/android: Require the OpenXR permission.
2021-09-27 09:26:15 -05:00
Ryan Pavlik
52e75e8e27
t/oxr_android: Update Hilt to a stable release
...
Only one change in our usage was needed.
2021-09-27 09:26:15 -05:00
Ryan Pavlik
690141a7ee
gradle: Update Android build tools
2021-09-27 09:26:15 -05:00
Ryan Pavlik
995866a576
cmake: Improve use of percetto
2021-09-27 09:26:15 -05:00
Jakob Bornecrantz
de283a8b0c
t/calibration: Add support for findChessboardCornersSB
2021-09-20 15:54:00 +00:00
Jakob Bornecrantz
d86adce39d
u/historybuf: Tidy code and work around clang-format CI troubles
2021-09-20 15:54:00 +00:00
Ryan Pavlik
a10a4ab123
a/math: Fix truncation warning due to double literal in float parameter.
2021-09-20 10:06:33 -05:00
Mateo de Mayo
0b7f3d92ef
d/euroc: Use new debug frame sinks
2021-09-20 14:59:18 +00:00
Ryan Pavlik
967efb4a12
a/os: SetWaitableTimer wants durations in hundreds of ns.
2021-09-20 09:25:31 -05:00
Christoph Haag
2ef9e0aa61
comp: Don't disconnect from NULL wayland_display
...
Fixes crash when not running on wayland.
2021-09-20 13:54:36 +00:00
Christoph Haag
d54c489738
st/oxr: Enumerate outputs too in xrEnumerateBoundSourcesForAction
...
Fixes #118
2021-09-20 00:28:46 +02:00
Jakob Bornecrantz
b4ce66a5dc
u/var: Remove sink variable tracking
2021-09-17 15:27:23 +01:00
Jakob Bornecrantz
7e8428a4d2
st/gui: Remove U_VAR_SINK support
2021-09-17 15:27:23 +01:00
Jakob Bornecrantz
b0b4034a93
st/gui: Add support for u_sink_debug
2021-09-17 15:27:23 +01:00
Jakob Bornecrantz
bef417b5a8
st/gui: Handle setting recording info from the first frame
2021-09-17 15:27:23 +01:00
Jakob Bornecrantz
2b72672cc2
st/gui: Expose bitrate as a combobox in recording window
2021-09-17 15:27:15 +01:00
Jakob Bornecrantz
7a6412672d
st/gui: Refactor out recording code into own window
2021-09-17 13:39:50 +01:00
Jakob Bornecrantz
9bfabdf706
d/ht: Disable sink variable tracking
2021-09-17 13:39:50 +01:00
Jakob Bornecrantz
5d4adebbbe
d/euroc: Disable sink variable tracking
2021-09-17 13:39:50 +01:00
Jakob Bornecrantz
0157b2d4b0
t/debug: Update HelperDebugSink to use new u_debug_sink
2021-09-17 13:39:50 +01:00
Jakob Bornecrantz
2404257077
t/hsv: Switch to u_sink_debug
2021-09-17 13:39:50 +01:00
Jakob Bornecrantz
8ccd0c3dff
d/v4l2: Use u_sink_debug for debugging
2021-09-17 13:39:50 +01:00
Jakob Bornecrantz
b8055eba6a
u/var: Add u_sink_debug
2021-09-17 13:01:02 +01:00
Jakob Bornecrantz
da628514d8
u/sink: Add u_sink_debug struct helper
2021-09-17 13:01:02 +01:00
Jakob Bornecrantz
d36eec8fbb
c/main: Guard against XRT_HAVE_WAYLAND_DIRECT
2021-09-17 11:54:57 +00:00
Jakob Bornecrantz
02d67a52c5
c/main: Guard use of VK_EXT_acquire_drm_display identifier
2021-09-17 11:54:57 +00:00
Jakob Bornecrantz
f1f4dd7c8a
xrt: Expose XRT_HAVE_WAYLAND and XRT_HAVE_WAYLAND_DIRECT
2021-09-17 11:54:57 +00:00
Jakob Bornecrantz
a58b8df4a9
cmake: Link with WAYLAND_LIBRARIES or SDL gets sad
2021-09-17 11:54:57 +00:00
Christoph Haag
a3b453dae7
t/slam: Print an error when SLAM_CONFIG is not set
...
Fixes crash
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_M_construct null not valid
2021-09-16 23:33:05 +02:00
Christoph Haag
dc15dbf75d
build/meson: Don't build slam if tracking is disabled
...
Fixes build with -Dtracking=disabled
2021-09-16 23:33:05 +02:00
Christoph Haag
ec5b5f9e1d
t/slam: Only warn for incompatible OpenCV
2021-09-16 23:33:05 +02:00
Mateo de Mayo
78e8d3177c
st/prober: Use euroc stream for SLAM tracking
2021-09-15 19:03:55 +00:00
Mateo de Mayo
6de1ab8f8e
d/euroc: Add euroc device
2021-09-15 19:03:55 +00:00
Mateo de Mayo
3c618ec20c
d/euroc: Improve euroc player
...
- Implement xrt_slam_source instead of xrt_fs
- Merge intermediate sink pointers into xrt_slam_sinks in_sinks
- Add out_sinks for downstream passage of data
- Make speed playback option a double (float was not precise enough)
- Add use_source_ts playback option to optionally use original dataset timestamps
- Fix colored datasets not working
2021-09-15 19:03:55 +00:00
Mateo de Mayo
549c59a493
t/slam: Add SLAM tracking module
2021-09-15 19:03:55 +00:00
Mateo de Mayo
8e8a9c14a9
external: Add slam_tracker.hpp and SLAM build flow
2021-09-15 19:03:55 +00:00
Mateo de Mayo
caa9192a26
xrt: Add xrt_tracked_slam interface
2021-09-15 19:03:55 +00:00
Mateo de Mayo
cbc74bc9c1
xrt: Add stream_start alternative to xrt_fs for SLAM streaming
2021-09-15 19:03:55 +00:00
Mateo de Mayo
552c03bb2b
xrt: Add SLAM sinks
2021-09-15 19:03:55 +00:00
Simon Zeni
47be806428
c/main: Implement WINDOW_DIRECT_WAYLAND
2021-09-15 18:44:18 +00:00
Simon Zeni
26c684d42f
aux/vk: Add VK_EXT_acquire_drm_display functions
2021-09-15 18:44:18 +00:00
Moses Turner
56f34d23b9
d/vive: Use m_relation history for HMD
2021-09-15 12:13:14 -05:00
Moses Turner
7f88583d37
d/survive: Use m_relation_history for HMD and controllers
2021-09-15 12:13:14 -05:00
Moses Turner
f9d540aee0
d/rs: Use m_relation_history for 6DOF
2021-09-15 12:13:14 -05:00
Moses Turner
947bac9e54
aux/math: Implement m_relation_history
...
to keep track of past poses of HMDs, controllers, etc.
2021-09-15 12:13:14 -05:00
Moses Turner
7f69dc795f
d/ht; aux/util: Move ringbuffer implementation into aux/util
2021-09-15 12:13:00 -05:00
Moses Turner
9960f0ab22
aux/math: Add tracing for m_predict
2021-09-15 12:13:00 -05:00
Jakob Bornecrantz
c5c07eced2
c/render: Remove the hacks
2021-09-14 16:15:27 +00:00
Jakob Bornecrantz
5bff6f3c9b
c/render: Add ATW support for compute rendering
2021-09-14 16:15:27 +00:00
Jakob Bornecrantz
3795004208
c/main: Add compute distortion rendering backend
2021-09-14 16:15:27 +00:00
Moses Turner
ee429ac279
d/ht: make blackbar work with non-square inputs
2021-09-14 14:09:03 +01:00
Jakob Bornecrantz
cb7563ecd6
m/predict: Add C++ extern guards
2021-09-14 13:42:20 +01:00
Jakob Bornecrantz
608bb987d9
u/[rt|ft]: Adjust margins
...
This commit adds more margins to both the app and the compositor, with the
compute work this yeilds basically no frame misses for the compositor.
2021-09-13 21:50:20 +01:00
Jakob Bornecrantz
dda80836c6
u/ft: Rename min_margin_ns to margin_ns
2021-09-13 21:49:31 +01:00
Jakob Bornecrantz
5192e82948
d/ht: Tidy includes
2021-09-13 21:47:05 +01:00
Jakob Bornecrantz
4cdfadf3e0
d/ht: Tidy view creation
2021-09-13 21:47:04 +01:00
Christoph Haag
79fe29f674
c/main: Use ns_to_ms helper for nominal frame interval
2021-09-13 21:28:10 +01:00
Christoph Haag
fb6cf9b4cc
st/oxr: Only advertise hand tracking funcs if compiled with ext
2021-09-13 21:28:01 +01:00
Christoph Haag
2b7e8d8dce
st/oxr: Add ifdef for XR_EXT_hand_tracking
2021-09-13 21:27:58 +01:00
Christoph Haag
d114b8bb34
st/oxr: Move XR_EXT_thermal_query #endif to the correct place
2021-09-13 21:27:54 +01:00
Mateo de Mayo
d9482d0b76
u/var: Add f64 kind
2021-09-13 18:59:03 +01:00
Christoph Haag
83e194e9d3
comp: Wait for release/acquire fence before destroying swapchain
...
Fixes validation warning when quitting Vulkan OpenXR applications
like hello_xr -G Vulkan2:
VUID-vkDestroyImage-image-01000(ERROR / SPEC): msgNum: -221078694 - Validation Error: [ VUID-vkDestroyImage-image-01000 ] Object 0: handle = 0x55d4d96e4960, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0xf2d29b5a | Cannot call vkDestroyImage on VkImage 0xcb1c7c000000001b[] that is currently in use by a command buffer. The Vulkan spec states: All submitted commands that refer to image, either directly or via a VkImageView, must have completed execution (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkDestroyImage-image-01000 )
Objects: 1
[0] 0x55d4d96e4960, type: 3, name: NULL
This is an addition to commit 778515739f
that
introduced this fence.
2021-09-07 11:51:03 +02:00
Christoph Haag
cc53994b4f
d/survive: Count ahead of time how many configs to wait for
...
On recent libsurvive versions, loading the config of the HMD takes quite
long when only a HMD is active without controllers.
Instead of adjusting the timeout value all the time, rework how we wait for
the device configs.
Previously we just waited for device configs to arrive until no new configs
arrive for a predefined timeout.
Now we count how many objects of interest libsurvive actually knows, and then
only wait until the configs for this many devices are loaded.
This should make initialization of the survive driver faster and more robust.
2021-09-04 02:35:59 +02:00
Jakob Bornecrantz
129902750d
u/sink: Add conversion from L8 to R8G8B8
2021-09-03 22:16:21 +01:00
Moses Turner
d7fc516cfb
d/vive: Use hand tracking if VIVE_USE_HANDTRACKING is set
2021-09-03 21:06:18 +00:00
Moses Turner
db4a50410c
d/survive: Use hand tracking if there aren't any controllers
...
rebase-survive
2021-09-03 21:06:18 +00:00
Moses Turner
624a676f56
d/ht: Change everything
2021-09-03 21:06:18 +00:00
Moses Turner
8068912953
targets: Don't probe handtracking driver
2021-09-03 21:06:18 +00:00
Moses Turner
cef922946a
aux/vive: Parse camera calibration
2021-09-03 21:06:18 +00:00
Moses Turner
efbc4cd9e5
d/survive: Allow users to set wait time through config_v0.json
...
Necessary for Moses - for some reason, with no controllers, his headset takes forever to probe
2021-09-03 21:06:18 +00:00
Moses Turner
a1b683385f
aux/util: Add u_frame_clone
2021-09-03 21:06:18 +00:00
Moses Turner
815aa47ac2
d/vf: Add new format for stereo hand tracking
2021-09-03 21:06:18 +00:00
Christoph Haag
2609502150
aux/vk: Add and document tegra specific dedicated allocation workaround
2021-09-03 15:32:35 +00:00
Christoph Haag
4982a14541
aux/vk: Add Tegra detection
2021-09-03 15:32:35 +00:00
Christoph Haag
e7d047f956
aux/vk: debug print preferred/required dedicated allocation
2021-09-03 15:32:35 +00:00
Christoph Haag
7dcd420df8
aux/vk: Add VK_FORMAT_R16G16B16A16_UNORM to vk_color_format_string
2021-09-03 15:32:35 +00:00
Christoph Haag
527efd379f
comp: debug print the numeric format
...
helps to see which format it is when it can not be translated to a string
2021-09-03 15:32:35 +00:00
Jakob Bornecrantz
3bab14fa3b
t/psmv: Fix misconception with disparity transform
2021-09-01 22:00:46 +01:00
Jakob Bornecrantz
992642bdf8
d/vive: Tidy warning
2021-09-01 22:00:46 +01:00
Jakob Bornecrantz
407461fd4f
d/vive: Silence warnings from when the camera is running
2021-09-01 22:00:46 +01:00
Mateo de Mayo
91db53572b
st/prober: Make euroc start by hooking it into the prober
2021-08-27 18:39:37 +01:00
Mateo de Mayo
97c59bd59f
d/euroc: Add EuRoC dataset reader driver.
...
A squash of the following commits.
d/euroc: Add Euroc driver initial boilerplate
d/euroc: Implement xrt_frame_node interface
d/euroc: Implement mainloop thread start flow
d/euroc: Parse samples from data.csv files
d/euroc: Determine dataset information at start
Also use that information to provide a xrt_fs mode and to know if
right camera images are available to use.
d/euroc: Produce frames for left and right sinks
d/euroc: Implement xrt_imu_sink
d/euroc: Implement playback properties
d/euroc: Implement pausing with UI state machine
d/euroc: Show IMU and progress data in UI
d/euroc: Make sure to give in nullptr or valid pointers to wrapL8
d/euroc: Unreference frames when done with them
d/euroc: Fix leaks with debug sinks, and work around free issue
d/euroc: Refactor playback to produce samples with current timestamps
d/euroc: Fix double free by separating debug sinks from downstream sinks
2021-08-27 18:38:40 +01:00
Mateo de Mayo
00a2f891a2
xrt: Add xrt_imu_sink interface
2021-08-27 13:02:18 +00:00
Mateo de Mayo
92fc2784e1
xrt: Add xrt_imu_sample
2021-08-27 13:02:18 +00:00
Mateo de Mayo
de3bfc193d
u/var: Add button and u64 var kinds
...
Also: fix on_ff_vec3_var
2021-08-27 13:02:18 +00:00
Mateo de Mayo
167fe78af0
st/gui: Handle NULL pdev in video listing scene.
2021-08-27 13:02:18 +00:00
Christoph Haag
08c136b712
ipc: Fix warning and paranoia check
2021-08-27 12:34:08 +00:00
Christoph Haag
7c285be9e8
st/oxr: Support XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR
...
Trivial, because XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND and
XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_KHR enum values are aliased.
2021-08-27 02:38:05 +02:00
Christoph Haag
cc4e46b3ec
xrt: typedef EGLenm too for GLES
...
Used in XrSwapchainStateSamplerOpenGLESFB added in OpenXR SDK 1.0.16
2021-08-27 02:21:58 +02:00
Christoph Haag
5e0891404e
scripts: Add XR_KHR_swapchain_usage_input_attachment_bit extension
2021-08-27 02:21:58 +02:00
Jakob Bornecrantz
8b8891f60f
u/sink: Make sure to add deinterleaver sink to context
2021-08-23 20:25:52 +01:00
Jakob Bornecrantz
c83dc7b323
u/sink: Make sure to add split sink to context
2021-08-23 20:25:08 +01:00
Jakob Bornecrantz
a8251815af
t/framemat: Update confusing comments, sorry.
2021-08-23 19:42:45 +01:00
Christoph Haag
602ce70a0a
aux/vk: Only use dedicated allocation when it is required
...
On tegra, when VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT is set for color image usage
with VK_FORMAT_R16G16B16A16_SFLOAT, dedicated allocation is preferred, but not required.
When using dedicated allocation in this case, we get only a black texture,
and when blitting from that texture, we get a kernel driver error:
gk20a_fifo_handle_mmu_fault_locked:1721 [ERR] fake mmu fault on engine 0, engine subid 1 (hub), client 1 (ce0), addr 0x46cd8aa000, type 15 (poisoned), access_type 0x00000000,inst_ptr 0x212ef3000
Only using dedicated allocation when it is required works around this issue.
2021-08-23 13:01:05 +00:00
korejan
42af354f65
c/multi: Fixes some uninitialized mutexes.
...
Fixes some uninitialized/null mutexes that causes crash bug during the creation of the multi compositors (seen on Windows).
2021-08-21 11:34:33 +01:00
Jakob Bornecrantz
49e6514a3d
u/sink: Make sure to free frame when we fail to decode
2021-08-20 18:55:21 +01:00
Jakob Bornecrantz
8225539178
st/gui: Make sure to unreference any frames pending for upload
2021-08-20 17:35:32 +01:00
Jakob Bornecrantz
36a8f949d5
st/gui: Make sure to add ogl texture sink to context
2021-08-20 17:18:42 +01:00
Jakob Bornecrantz
022bf18200
u/sink: Make sure to add quirk sink to context
2021-08-20 17:14:43 +01:00
Jakob Bornecrantz
601a6832b8
d/vive: Use u_device_free to free distortion mesh data
2021-08-20 17:09:05 +01:00
Jakob Bornecrantz
df484c508d
d/vive: Tidy
2021-08-20 16:56:15 +01:00
Jakob Bornecrantz
d61cf5dc78
d/vive: Make sure to properly destroy controller
2021-08-20 16:56:15 +01:00
Jakob Bornecrantz
a89c8309c7
u/vive: Pass in logging level to parse function
2021-08-20 13:42:11 +01:00
Jakob Bornecrantz
00aca14832
u/vive: Add vive_config_teardown function to free any pointers that needs freeing.
2021-08-20 13:42:11 +01:00
Jakob Bornecrantz
3b62f9e6fb
t/gui: Add sanitizers
2021-08-20 12:28:30 +01:00
Jakob Bornecrantz
4d8fa41c5e
t/ctl: Add sanitizers
2021-08-20 12:28:30 +01:00
Jakob Bornecrantz
5f66236de6
t/cli: Add sanitizers
2021-08-20 12:28:30 +01:00
Moses Turner
6dcf10a4fc
d/rs: clean up device list
2021-08-20 12:28:30 +01:00
Moses Turner
9febede5c6
ipc/server: Clean up the hack if we exit early
2021-08-20 12:28:26 +01:00
Moses Turner
74c93f83f7
d/survive: Use u_device_free to free distortion mesh data
2021-08-20 12:28:22 +01:00
Moses Turner
e8907afeed
d/rs: Free JSON
2021-08-20 12:28:19 +01:00
Jakob Bornecrantz
003ade3006
d/ht: Don't leak when we can't create the hand-tracker tracker
2021-08-19 23:20:24 +01:00
Moses Turner
6e5efc850e
aux/math: Add euro filtering
2021-08-18 18:56:10 +00:00
Moses Turner
a1574312d2
d/v4l2: more paranoid logging
2021-08-18 13:17:17 -05:00
Jakob Bornecrantz
ea2aa56af8
st/oxr: Add debug variable for adding extra sleep in wait frame
2021-08-17 12:04:49 +01:00
Jakob Bornecrantz
f27b50ff5a
d/dummy: Add option to rotate around up axis
2021-08-17 12:04:49 +01:00
Jakob Bornecrantz
9178e0ef59
c/main: Constify argument
2021-08-17 12:04:49 +01:00
Jakob Bornecrantz
05c61511ab
m/vec2: Add a few more scalar functions
2021-08-17 12:04:49 +01:00
Jakob Bornecrantz
70ceabb56e
m/mat4: Add Matrix 4x4 f64 functions
2021-08-17 12:04:49 +01:00
Jakob Bornecrantz
521f066e72
xrt: Add a Matrix4x4 with f64
2021-08-17 12:04:49 +01:00
Moses Turner
bcddb4cff3
targets/service: Use address sanitizer on monado-service if desired
2021-08-16 21:18:52 +01:00
Jakob Bornecrantz
a6bdf92fd0
d/vf: Remove debug message
2021-08-16 21:18:52 +01:00
Moses Turner
b2ef01af10
d/vf: Add trace marker
2021-08-16 21:18:46 +01:00
Moses Turner
13f2b3b7c4
aux/util: Add get_vec3_f64_array
2021-08-16 21:02:27 +01:00
Moses Turner
0b2dd35b60
aux/os: Add os_mutex_trylock
2021-08-16 21:02:27 +01:00
Moses Turner
7356100696
aux/math: Add m_vec3_project, m_vec3_orthonormalize, m_vec3_lerp, m_vec2_normalize, math_lerp
2021-08-16 21:02:27 +01:00
Moses Turner
cda56ddfbd
xrt: Add xrt_vec3_f64 struct
2021-08-16 21:02:27 +01:00
Christoph Haag
778515739f
comp: Guard acquire/release with a fence
...
Fixes validation warning when acquiring images before the command buffer
of the previous acquire or release on the same queue has finished.
VUID-vkQueueSubmit-pCommandBuffers-00071(ERROR / SPEC): msgNum: 774851941 - Validation Error: [ VUID-vkQueueSubmit-pCommandBuffers-00071 ] Object 0: handle = 0x558634c5c750, type = VK_OBJECT_TYPE_DEVICE; | MessageID = 0x2e2f4d65 | vkQueueSubmit(): pSubmits[0].pCommandBuffers[0] VkCommandBuffer 0x558634b85a10[] is already in use and is not marked for simultaneous use. The Vulkan spec states: If any element of the pCommandBuffers member of any element of pSubmits was not recorded with the VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT, it must not be in the pending state (https://www.khronos.org/registry/vulkan/specs/1.2-extensions/html/vkspec.html#VUID-vkQueueSubmit-pCommandBuffers-00071 )
Objects: 1
[0] 0x558634c5c750, type: 3, name: NULL
2021-08-16 15:52:57 +02:00
Christoph Haag
32d09aadc3
aux/vk: Add vkGetFenceStatus function
2021-08-16 15:37:29 +02:00
Jakob Bornecrantz
7d8b83aba5
xrt: Add docu
2021-08-11 18:28:27 +01:00
Jakob Bornecrantz
77a67387b4
ipc/server: Paranoia
2021-08-11 18:09:52 +01:00
Christoph Haag
b249af9415
comp: Bind the correct GL texture for importing memory objects
2021-08-09 15:17:25 +02:00
Christoph Haag
1b179306dc
comp: Only use dedicated allocation when supported/preferred
...
Fixes OpenGL depth formats on Tegra
2021-08-09 15:17:25 +02:00
Christoph Haag
b4145a1543
aux/vk: Print all used device extensions in XRT_LOG=trace
2021-08-09 15:15:57 +02:00
Moses Turner
e8e977faa2
inc/xrt, aux/bindings: fix typo XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHTT -> XRT_OUTPUT_NAME_XBOX_HAPTIC_RIGHT
2021-07-29 20:45:05 +00:00
humbletim
0b36586fe7
add 'Vive MV.' model_number variant
2021-07-27 20:02:33 -04:00
Jakob Bornecrantz
9d9879ca3e
c/multi: Make sure there are at least some predicted data
...
To avoid asserts in non-service mode.
2021-07-22 17:19:45 +01:00
Jakob Bornecrantz
fb92a3f27f
d/vf: Add tracing support
2021-07-16 15:29:27 +00:00
Jakob Bornecrantz
a6a5b3dda6
d/vf: Refactor frame handling
2021-07-16 15:29:27 +00:00
Jakob Bornecrantz
f04a113693
d/vf: Tidy
2021-07-16 15:29:27 +00:00
Christoph Haag
162915f022
p/prober: disable all drivers when qwerty is enabled
...
qwerty is auto probed, making HMDs that are not auto probed always take precedence.
When setting QWERTY_ENABLE=1 the intent is usually to exclusively use qwerty.
Therefore we default to disabling all other drivers when this variable is set.
To make the old behavior of adding qwerty devices with lower priority than actual
devices, the variable QWERTY_COMBINE=1 is introduced.
2021-07-16 15:15:28 +00:00
Christoph Haag
c6b5c5322c
aux/vk: Print info for setting CAP_SYS_NICE
2021-07-15 16:35:06 +00:00
Christoph Haag
c676020bdb
aux/vk: Add VK_ERROR_NOT_PERMITTED_EXT error code string
2021-07-15 16:35:06 +00:00
Christoph Haag
82140ea83b
aux/vk: Print vkCreateDevice error num too
2021-07-15 16:35:06 +00:00
Christoph Haag
be0b4f496a
d/ulv2: fix maybe uninitialized warning
...
../src/xrt/drivers/ultraleap_v2/ulv2_driver.cpp: In function 'void* leap_input_loop(void*)':
../src/xrt/drivers/ultraleap_v2/ulv2_driver.cpp:290:29: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized]
290 | int hi; // hand index
| ^~
2021-07-15 01:35:49 +02:00
Christoph Haag
ab209bcf18
c/main: Add return value for when asserts are disabled
...
It's not worth introducing a new error code for this case, just
return XRT_ERROR_VULKAN.
Fixes error with asserts disabled
../src/xrt/compositor/main/comp_compositor.c: In function 'compositor_mark_frame':
../src/xrt/compositor/main/comp_compositor.c:186:1: warning: control reaches end of non-void function [-Wreturn-type]
186 | }
| ^
2021-07-15 01:31:19 +02:00
Christoph Haag
86e42858b7
d/qwerty: Add reasonable alternative code paths for asserts
...
In release builds asserts will be disabled, so we should try to handle the
assert cases reasonably.
This commit fixes several unused variable warnings when asserts are disabled.
2021-07-15 01:19:13 +02:00
Christoph Haag
2b94b2b165
d/ns: Fix may be used uninitialized warnings
2021-07-15 01:10:40 +02:00
Christoph Haag
bc8ac9ca3c
st/oxr: Use OXR_MAX_BINDINGS_PER_ACTION instead of hardcoded 32
...
The hardcoded value 32 was actually wrong and caused a warning
../src/xrt/state_trackers/oxr/oxr_input.c:668:9: warning: 'oxr_binding_find_bindings_from_key' accessing 256 bytes in a region of size 128 [-Wstringop-overflow=]
668 | oxr_binding_find_bindings_from_key(log, profile, act->act_key, binding_points, &num);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-07-15 01:08:20 +02:00
Christoph Haag
e2e13b7ac3
st/gui: Don't access first vec3 member as float array
...
It produces a warning
../src/xrt/state_trackers/gui/gui_scene_debug.c:141:9: warning: ‘igInputFloat3’ accessing 12 bytes in a region of size 4 [-Wstringop-overflow=]
141 | igInputFloat3(name, (float *) &value.x, "%+f", ImGuiInputTextFlags_ReadOnly);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-07-15 00:59:09 +02:00
Jakob Bornecrantz
cb9ce8b34e
t/calibration: Add support for RGB images
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
dbb6b1f43c
t/calibration: Make it possible to select number distortion parameters
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
9aff6fb9b3
u/sink: Add special converter sink that passes through YUV, L8 and RGB
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
f725924723
st/gui: Make it possible to select the DepthAI camera in Video select UI
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
6beb57bf98
st/gui: Add support to record from ELP 3D camera
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
33563ccb7e
st/gui: Correct order of arguments to xrt_fs_stream_start
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
ae3a2179b9
st/gui: Check that we actually opened the video device
2021-07-13 15:01:00 +00:00
Jakob Bornecrantz
9e5df0f504
st/oxr: Calculate normalized sub-image offsets and sizes
2021-07-10 17:59:17 +01:00
Jakob Bornecrantz
390b06b22a
st/oxr: Put all sub-image handling in one place (NFC)
2021-07-10 17:59:17 +01:00
Jakob Bornecrantz
570e7a5702
st/oxr: Tidy oxr_session_frame_end.c (NFC)
2021-07-10 17:59:17 +01:00
Jakob Bornecrantz
189aea97aa
st/oxr: Refactor out end frame function into own file
2021-07-10 17:59:17 +01:00
Jakob Bornecrantz
b8d88113c2
st/oxr: Add gfx to session gfx files
2021-07-10 17:59:17 +01:00
Jakob Bornecrantz
7bd1dba1d8
xrt: Add normalized sub-image offset and size in layer data
...
This makes the compositor not have to care about texture size.
2021-07-10 17:58:54 +01:00
Moses Turner
e312422e61
t/gui: Add tracing support
2021-07-09 20:24:38 -05:00
Jakob Bornecrantz
94d029ed15
d/dai: Add tracing support
2021-07-09 20:23:49 -05:00
Jakob Bornecrantz
09513d73af
d/v4l2: Add tracing support
2021-07-09 21:43:21 +01:00
Jakob Bornecrantz
c278618ec1
t/hsv: Add tracing support
2021-07-09 21:38:02 +01:00
Jakob Bornecrantz
cdf30b00e1
u/sink: Add tracing support
2021-07-09 21:36:57 +01:00
Jakob Bornecrantz
e04decbe64
u/trace_marker: Add sink category
2021-07-09 19:19:50 +01:00
Christoph Haag
9ba24e3b15
t/ctl: Fix error message when toggling io fails
2021-07-07 00:50:07 +02:00
Christoph Haag
e21f4a2458
t/ctl: Add usage information
2021-07-07 00:49:28 +02:00
Christoph Haag
250ef94d71
st/oxr: Don't go to READY after EXITING
...
The STOPPING state has two possible follow up paths:
STOPPING -> IDLE -> READY
STOPPING -> IDLE -> EXITING
After EXITING, the application must call xrDestroySession; there is no meaningful
session state after EXITING.
To go to the READY state again, the application should first create a new session.
Applications that are lazy and drain the entire event queue and only handle
the last encountered state would be affected by "skipping" the EXITING state.
2021-07-02 15:19:00 +00:00
Jakob Bornecrantz
5838d737b3
u/sink: Tidy and add some comments to queue sink (NFC)
2021-06-27 00:59:24 +00:00
Jan Schmidt
8192e74f76
d/wmr: Compute visible region for render rectangle.
...
Use the distortion function to calculate the visible limits of the
display and then configure the rendered FoV angles accordingly.
2021-06-26 03:52:32 +10:00
Jan Schmidt
dfe932ffd7
d/wmr: Add an extensible headset map.
...
Add a mechanism for recognising known headsets and handling specific
init/deinit sequences for those that need it.
2021-06-26 03:52:29 +10:00
Dan Weatherford
6bb3577b1b
d/wmr: Implement Lenovo explorer support.
...
Recognise the Lenovo explorer device
2021-06-26 03:52:29 +10:00
Jan Schmidt
bad625965a
d/wmr: Extract JSON configuration from the firmware.
...
Pull in the WMR config obfuscation key and extract the JSON
calibration data.
Based on a patch from Dan Weatherford <sabretooth@gmail.com>
2021-06-26 03:52:26 +10:00
Dan Weatherford
3ca80e9607
d/wmr: Add functions to read raw config data
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2021-06-26 03:52:26 +10:00
Jan Schmidt
0cf7b4a9b3
d/wmr: Add render distortion configuration
...
Take the parameters from the headset configuration and the existing
render FoV, and use them to instantiate a distortion mesh.
TODO: Reverse the distortion in order to calculate good FoV range
that covers the full view for each headset.
2021-06-26 03:52:23 +10:00
Jan Schmidt
f663727b07
d/wmr: Add some groundwork for config parsing.
...
Sketch out some groundwork for parsing WMR config blocks,
using some hard-coded values from my headset for now. Later,
this will be parsed from the headset JSON blob.
2021-06-26 03:52:16 +10:00
Dan Weatherford
fabf01ff39
aux/math: Add math_quat_slerp()
2021-06-25 17:40:07 +01:00
Jan Schmidt
4581a7a9a6
aux/math: Implement math_matrix_3x3_inverse.
...
Add a function to invert 3x3 matrices, to reverse 2D
affine transforms.
2021-06-25 17:40:07 +01:00
Christoph Haag
bcc50dbd4f
st/oxr: Add checks for Vulkan graphics bindings
2021-06-25 01:10:25 +02:00
Moses Turner
7461c57043
cmake: make ulv2 build a little better
2021-06-23 23:40:43 +01:00
Jakob Bornecrantz
47470cc8e2
d/ns: Use fread when reading from config file
2021-06-21 12:29:31 -05:00
Moses Turner
3569e4f2ed
d/ns: Fix 3D distortion FOV calc
...
co-authored-by: Nico Zobernig <nico.zobernig@gmail.com>
2021-06-21 12:29:31 -05:00
Moses Turner
bcadbea3aa
d/ns: Clean utility_northstar a bit
2021-06-21 12:29:31 -05:00
Moses Turner
7e385aa810
d/ns: Big refactor
2021-06-21 12:29:31 -05:00
Moses Turner
93ec678110
aux/util: Add North Star "VIPD" and "polynomial 2D" distortion methods
2021-06-21 12:29:31 -05:00
Moses Turner
017997fba3
aux/math: Add math_map_ranges function
2021-06-21 12:29:31 -05:00
Moses Turner
01bfed1694
aux/util: Make new u_extents_2d as alternative to u_device_simple_info
2021-06-21 14:49:35 +00:00
Jakob Bornecrantz
e554f9ee02
ipc: Fix NULL check stopping main app visibility events from working
2021-06-18 20:13:46 +01:00
Christoph Haag
ccb9777a47
d/vive: Set hand tracking values to actives
...
fixes !716 which introduced the need for setting hand joint active status.
2021-06-16 23:17:07 +02:00
Ryan Pavlik
ad44f42b24
aux/vk: Add fence import for windows
2021-06-15 17:37:14 -05:00
Ryan Pavlik
2d20a6436c
comp: Wrap a unistd include for Windows.
2021-06-15 17:37:14 -05:00
Jakob Bornecrantz
ebc2208a73
c/main: Also resize on VK_SUBOPTIMAL_KHR
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
9996d686e4
c/main: Tidy
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
1eebc12780
c/main: Refactor out viewport calculation into own function
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
6d011e25d4
c/main: Give the correct queue family argument to vkGetPhysicalDeviceSurfaceSupportKHR
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
f38932cb64
c/main: Tidy comp_renderer fence creation a bit
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
65ca3113f8
c/main: Allow to specifiy image usage for target images
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
fd1a916e0b
c/main: Tidy and add a bit of debug to comp_target_swapchain
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
0f07e5b899
c/main: Tweak swapchain formats a bit
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
928ae5b27a
c/render: Add support for non-freeable descriptor pools
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
6c033658a8
c/render: Add support for storage image descriptors
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
8a7d857dde
aux/vk: Add the option to handle optional device features
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
4bbc13f5d4
aux/vk: Add support for VK_EXT_robustness2 and tidy
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
bf27691280
aux/vk: Refactor out optional extension handling
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
57d24ecdbb
aux/vk: Make it possible to get a compute only queue
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
c42d681db0
aux/vk: Add vkCmdCopyBufferToImage and vkCmdCopyImageToBuffer
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
8899b267a6
aux/vk: Add vkCmdDispatch, vkCreateComputePipelines and vkResetDescriptorPool functions
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
4b9b1f991c
xrt: Add xrt_device_compute_distortion helper
2021-06-15 19:45:14 +00:00
Jakob Bornecrantz
b805742a53
c/main: Do not list VK_FORMAT_A2B10G10R10_UNORM_PACK32 as a supported format
2021-06-15 14:27:07 +00:00
Jakob Bornecrantz
aa3f071d2b
u/trace_marker: Refactor init to fix bug
2021-06-14 19:12:14 +01:00
Jakob Bornecrantz
c2c49cb6d3
u/trace_marker: Make sure to include headers outside of extern block
2021-06-14 19:12:12 +01:00
Moses Turner
6285223fd2
d/dai: Even more tidy
2021-06-11 18:49:50 +01:00
Jakob Bornecrantz
576593010f
d/dai: Add code so we can open mono cameras with compile time option
2021-06-11 16:48:30 +00:00
Jakob Bornecrantz
96248931cc
d/dai: Refactor a bit so we can at compile time support OAK-D
2021-06-11 16:48:30 +00:00
Moses Turner
d555b255fe
st/gui: Add support for depthAI camera in record scene
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2021-06-10 14:32:07 -05:00
Moses Turner
37cbbb6660
d/dai: Add simple DepthAI driver
...
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2021-06-10 14:32:07 -05:00