Rylie Pavlik
960e723394
xrt: Fix outdated name/email address
2023-12-18 14:29:02 -06:00
Zhongwang Zhang
017e2b2f29
xrt: Enable passing down renderdoc status
2023-11-09 13:45:43 +00:00
Zhongwang Zhang
0f257e1bed
xrt: Enable passing down VK_EXT_debug_utils enabled status
2023-11-09 13:45:23 +00:00
Jakob Bornecrantz
6d0ab43cda
tests: Add uv to tangent lengths test
2023-10-05 12:47:51 +01:00
Ryan Pavlik
ef7b1133c6
a/util: Fix missing include for generic callback structure.
...
Also extend the tests to actually include invocation of callbacks,
and rename a template parameter for clearer usage.
2023-08-16 16:03:58 -05: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
86262e8b4e
a/vk: Remove global command pool
2023-04-14 02:34:49 +01:00
Moshi Turner
c463214157
tests: Fix levenberg-marquardt test
2023-03-13 13:04:31 -05:00
Ryan Pavlik
f6ab734b2e
a/math: Add floating point conversion methods to Rational
2023-03-01 10:53:18 -06:00
Moses Turner
e9f79c45bf
h/mercury: Update hand tracking with new half-artificial model
2023-02-04 15:23:04 -06:00
Jakob Bornecrantz
7130fc57ca
tests: Add some simple relation chain tests
2023-01-24 16:11:56 +00:00
Ryan Pavlik
85a897a0b5
a/d3d,a/vk,c/client,ipc: D3D Depth texture / DXGI handle support
...
a/d3d: Improve allocation
Enable D3D11 and D3D112 depth images using DXGI handles
Allow D3D depth by default
D3D: only use DXGI handles
NT handles don't support depth formats and may fail to properly interop with Vulkan with some image dimensions.
Removed D3D_COMPOSITOR_ALLOW_DEPTH env.
D3D now always imports depth.
Added authorship.
Format pass
Fix D3D compositor tests
ipc: Fix HANDLE bit twiddling code
Merge into commits related to D3D depth changes. Makes the code compile
as C++, useful for Windows traceing
Co-authored-by: Robbie Bridgewater <ebridgewater@magicleap.com>
Co-authored-by: Fernando Velazquez Innella <finnella@magicleap.com>
Co-authored-by: Jakob Bornecrantz <jakob@collabora.com>
2023-01-24 15:35:22 +00:00
Ryan Pavlik
2db2fb94b7
tests: Verify Vulkan import in D3D11 alloc test
2023-01-24 15:35:09 +00:00
Robbie Bridgewater
3802e737bb
a/d3d,a/vk: Add R32_SFLOAT formats
...
Co-authored-by: Catalin Slobodeanu <cslobodeanu@magicleap.com>
2023-01-24 15:35:01 +00:00
Moses Turner
5c68233004
Add test for m_vec3_angle
2022-11-29 03:11:53 -06:00
Moses Turner
352fda971c
tests: Add tests for swing-twist conversions
2022-11-23 13:02:35 -06:00
Jakob Bornecrantz
d48de0d832
u/worker: Use U_TRACE_SET_THREAD_NAME
2022-11-20 13:52:38 +00:00
Moses Turner
a26daf3fb5
tests: Clean up tests_quat_change_of_basis
2022-11-14 21:27:30 -06:00
Moses Turner
d2e2c3a988
cmake: Run cmake-format.sh
2022-09-19 21:57:37 +01:00
Moses Turner
173d55c58b
tests: Add test_quat_change_of_basis
2022-09-19 11:17:34 -05:00
Jakob Bornecrantz
29a43797fc
tests: Fix compile with SDL2
...
This happens on certain old version of SDL2 where SDL2_LIBRARIES isn't a
magical target thingy.
2022-09-07 13:56:33 +01:00
Simon Zeni
210c01c77b
tests: disable OpenGL client compositor test if GLX is not available
2022-08-23 05:41:56 -04:00
Ryan Pavlik
fbdc3db03d
tests: Add tests for the OpenGL client compositor code
2022-08-22 19:53:50 +00:00
Ryan Pavlik
12547e116a
tests: Add basic d3d12 client compositor tests
2022-07-26 14:45:29 +00:00
Ryan Pavlik
576b158a83
a/d3d: Add some d3d12 features
2022-07-26 14:45:29 +00:00
Ryan Pavlik
b37a89e312
tests: Clean up unique_ptr usage
2022-07-26 14:45:29 +00:00
Mateo de Mayo
ae8305f324
u/deque: Add generic wrapper for std::deque
2022-07-25 19:08:46 +00:00
Ryan Pavlik
41b4232f8a
tests: Resolve warnings
2022-07-14 14:17:35 +00:00
Mateo de Mayo
afa7f7ade9
u/vector: Add generic wrapper for std::vector
2022-07-07 15:35:04 +00:00
Mateo de Mayo
d0b00c7d23
tests: Add explicit margin to Approx in tests_pose
...
To avoid an issue with catch2::Approx defaults applied around 0
See https://github.com/catchorg/Catch2/issues/1079
2022-07-05 11:59:27 -03:00
Moses Turner
b4a29e8b29
tests: Add case for Levenberg-Marquardt optimizer
2022-06-20 16:33:48 +01:00
Mateo de Mayo
d773ab4cf2
a/math: Add pose interpolate function and others
...
- math_matrix_4x4_isometry_from_pose
- math_pose_from_isometry
- math_pose_interpolate
- m_vec3_equal
2022-06-18 14:19:01 -03:00
Mateo de Mayo
f904f3f16c
a/math: Repurpose test file for testing pose math
2022-06-18 14:19:01 -03:00
Mateo de Mayo
e7c3376612
a/math: Add disabled test to show problem with current quat_exp implementation
2022-06-02 15:47:57 +00:00
Campbell Suter
0f8da1900b
a/math: Fix math_pose_invert breaking on rotated poses, and add a test
...
Previously, math_pose_invert would apply a multiplication in the wrong
order. This lead to the position of the 'original' pose being rotated.
This patch fixes that, and adds a unit test to check this case.
2022-06-01 16:44:03 +01:00
Charlton Rodda
aa31ac3789
st/oxr: Implement dpad emulation
2022-05-31 13:25:48 +00:00
Ryan Pavlik
596d15a50c
a/d3d: Further namespace the d3d11-specific functions
2022-05-25 18:12:22 +00:00
Jakob Bornecrantz
b56aebff47
tests: Include u_time.h in history_buf
2022-05-23 09:12:54 -05:00
Ryan Pavlik
2168e0b93c
tests: D3D11 and Vulkan client compositor tests
2022-05-20 22:37:15 +01:00
Ryan Pavlik
7ccf622ab3
tests: Add tests for functionality in auxiliary/d3d
2022-05-20 22:37:15 +01:00
Ryan Pavlik
ec3f056199
tests: Word choice/clarity
2022-05-17 17:40:58 -05:00
Ryan Pavlik
f0d5cc1670
tests: Fix conversion warnings
2022-05-03 22:44:33 +01:00
Jakob Bornecrantz
bfd4d811e8
tests: Fix conversion warnings
2022-05-02 17:16:04 +01:00
Jakob Bornecrantz
175ff58f10
build: Remove meson files
2022-04-28 21:36:25 +00:00
Ryan Pavlik
7db9131aab
a/util: Add pop_back to HistoryBuffer
2022-04-27 09:51:12 -05:00
Ryan Pavlik
3e6ec47296
monado: Apply clang-tidy fixes to most of the codebase.
...
All at least visually inspected, some revised from the auto-fixit
2022-04-13 09:34:54 -05:00
Ryan Pavlik
ef89183f02
tests: Add u_worker tests
2022-03-11 15:29:16 +00:00
Ryan Pavlik
7b3a2e7c1a
a/math: C wrapper for the float low-pass filter too.
2022-02-22 16:44:44 -06:00
Ryan Pavlik
cf07791e93
a/math: Add a C wrapper for the integer low-pass filter.
2022-02-22 16:42:53 -06:00
Ryan Pavlik
a0e2df4cf0
tracking/math: Move the generic low pass filters to a/math
2022-02-22 16:42:53 -06:00