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
Ryan Pavlik
b621fef75d
tests: Equivalent tests for the non-integer low pass filter
2022-02-22 09:58:19 -06:00
Ryan Pavlik
4156cabedf
a/tracking: Add an integer version of the low-pass filter.
2022-02-22 09:58:19 -06:00
Ryan Pavlik
928254ffed
a/math: Add a rational number struct template.
2022-02-22 09:58:19 -06:00
Mateo de Mayo
b04c26e522
a/math: Expose quat_{exp, ln} and test them
2022-02-22 13:34:45 +00:00
Ryan Pavlik
d70feaea42
tests: Clean up build script for tests.
2022-02-19 01:17:11 +00:00
Jakob Bornecrantz
16658b7d6a
tests: Stop clang-format versions to disagreeing (NFC)
2022-02-15 01:37:10 +00:00
Ryan Pavlik
a904914e6e
a/util: Wrap "just enough" of the ring buffer stuff for generic use from C.
2022-02-08 13:18:15 -06:00