Ryan Pavlik
|
1a5d31b82b
|
st/oxr: New input transform implementation, fixes conformance failures.
Includes unit tests for oxr_input_transform, add to CI
This is a revised implementation using "variants" instead of
"inheritance" in a linked-list.
|
2020-06-17 10:03:32 +00:00 |
|
Ryan Pavlik
|
e011e86fb9
|
external: Add Catch2 header.
|
2020-06-17 10:03:32 +00:00 |
|
Christoph Haag
|
fb103659ef
|
build: Support building with v4l2 installed but driver disabled
|
2020-06-17 11:33:13 +02:00 |
|
Ryan Pavlik
|
adbafad079
|
st/oxr: Rename the remaining oxr_source things to oxr_action
|
2020-06-16 16:42:38 -05:00 |
|
Jakob Bornecrantz
|
d778c236fe
|
c/client: A working but non-spec conforming way to get Vulkan clients working
|
2020-06-16 16:33:04 +01:00 |
|
Jakob Bornecrantz
|
04c150a50d
|
xrt: Add new error and types for Vulkan command buffers
|
2020-06-16 00:01:48 +00:00 |
|
Benjamin Saunders
|
f81f568931
|
aux/vk: Add helper to translate usage bits to Vulkan bits
|
2020-06-16 00:01:48 +00:00 |
|
Benjamin Saunders
|
fe734bb6e2
|
aux/vk: Add functions to create semaphores from FDs
|
2020-06-16 00:01:48 +00:00 |
|
Benjamin Saunders
|
3f744331e1
|
aux/vk: Declare consistent usage for xr swapchain images
|
2020-06-16 00:01:48 +00:00 |
|
Benjamin Saunders
|
27d2163f37
|
aux/vk: Delete nonsensical image usage case
|
2020-06-16 00:01:48 +00:00 |
|
Benjamin Saunders
|
f45f482d5e
|
aux/vk: Store Vulkan queue handle directly
|
2020-06-16 00:01:48 +00:00 |
|
Jakob Bornecrantz
|
65dcc82e3a
|
comp+ipc: Respect view space layer flag
|
2020-06-15 23:59:04 +00:00 |
|
Jakob Bornecrantz
|
abf8d5b8bd
|
st/oxr: More correctly handle spaces for layers
|
2020-06-15 23:59:04 +00:00 |
|
Jakob Bornecrantz
|
fbd41e0413
|
xrt: Add new layer flag for view space poses
|
2020-06-15 23:59:04 +00:00 |
|
Ryan Pavlik
|
1738329138
|
st/oxr: Give oxr_action and oxr_action_set ref-counted backing data
|
2020-06-15 18:11:33 -05:00 |
|
Ryan Pavlik
|
640fa1bbe5
|
st/oxr: Rename the action set and action keys to distinct names.
|
2020-06-15 17:09:20 -05:00 |
|
Ryan Pavlik
|
2f8d1a54a5
|
st/oxr: Reparent action set/action attachment.
They are no longer a linked list and a handle, but simple dynamic arrays.
|
2020-06-15 17:09:15 -05:00 |
|
Ryan Pavlik
|
894aa8d61f
|
st/oxr: Rename some types, functions, and variables for clarity
|
2020-06-15 17:08:05 -05:00 |
|
Ryan Pavlik
|
6fe801e766
|
st/oxr: Re-use a structure
|
2020-06-15 17:04:00 -05:00 |
|
Ryan Pavlik
|
6be05e2107
|
st/oxr: Factor out source cache teardown function
|
2020-06-15 17:04:00 -05:00 |
|
Ryan Pavlik
|
821706e0e4
|
u/hashmap: Add "empty" function.
Used for cleanup assertions to start with: i.e. at some known point,
the hash map should be empty.
|
2020-06-15 17:04:00 -05:00 |
|
Ryan Pavlik
|
4a4bed8df4
|
st/oxr: Handle treadmill user path
|
2020-06-15 17:04:00 -05:00 |
|
Ryan Pavlik
|
2a2157af66
|
st/oxr: Clean up comments
|
2020-06-15 10:46:29 -05:00 |
|
Ryan Pavlik
|
79b2cf6703
|
inc/xrt: Improve docs
|
2020-06-15 10:36:28 -05:00 |
|
Christoph Haag
|
8141a3c761
|
ipc: Reset waitframe semaphore when client disconnects
The semaphore was usually kept at a value of 1 after a client disconnected,
meaning the next client to connect was never blocked on it.
|
2020-06-15 15:47:56 +02:00 |
|
Jakob Bornecrantz
|
cbb91904e9
|
st/oxr: Remove old validation that's now done in api function
|
2020-06-14 23:01:13 +01:00 |
|
Jakob Bornecrantz
|
2dcf4a819b
|
st/oxr: Improve xrSuggestInteractionProfileBindings validation of input
|
2020-06-14 23:01:13 +01:00 |
|
Gonzalo Aguilar Delgado
|
cdde7cd2c2
|
FIX #88: Add required dependencies
|
2020-06-13 17:05:14 +00:00 |
|
Jakob Bornecrantz
|
e4a4a5e7b2
|
st/oxr: Use correct enum type when converting from eye visibility NFC
|
2020-06-13 13:58:14 +01:00 |
|
Ryan Pavlik
|
172ff0f434
|
ipc: Simplify code by just copying a structure.
|
2020-06-09 17:13:06 -05:00 |
|
Ryan Pavlik
|
1881bb6357
|
ipc: Further de-duplication of structures
|
2020-06-09 17:07:22 -05:00 |
|
Ryan Pavlik
|
b6b5052d48
|
ipc: Remove structs that effectively duplicate xrt_layer_data
The only non-duplicate members are the swapchain IDs,
so store those in their own array as already done elsewhere in the
codebase.
|
2020-06-09 17:07:22 -05:00 |
|
Ryan Pavlik
|
f407fb9461
|
ipc: Doc comments
|
2020-06-09 17:07:22 -05:00 |
|
Ryan Pavlik
|
eaa4c186ce
|
ipc: Port to using xrt_sub_image where possible.
This highlighted several places where we are not considering an image rect,
but possibly should be.
|
2020-06-09 16:26:01 -05:00 |
|
Ryan Pavlik
|
26ab046fba
|
comp: Remove no-longer-needed comp_layer_quad struct.
Replaced by xrt_comp_layer_quad.
Also add some comments.
|
2020-06-09 16:19:39 -05:00 |
|
Ryan Pavlik
|
7446dc08d5
|
xrt: Rename output parameter of acquire_image to out_image.
As is tradition.
|
2020-06-09 15:56:26 -05:00 |
|
Ryan Pavlik
|
03f85fcd0a
|
inc/xrt: Doc comment improvements
|
2020-06-09 15:52:33 -05:00 |
|
Ryan Pavlik
|
bbe702475a
|
build: Tell CMake when we expect a config file rather than a find module.
This silences some very large annoying warnings at configure time.
|
2020-06-09 15:35:45 -05:00 |
|
Ryan Pavlik
|
707ef862bc
|
doc/changelog: Fix typo and formatting quirk that was confusing doxygen
|
2020-06-09 15:35:07 -05:00 |
|
Ryan Pavlik
|
d7562ba65c
|
fixup commit
|
2020-06-09 15:32:51 -05:00 |
|
Ryan Pavlik
|
8ffad1112f
|
inc/xrt: Update docs to fix Doxygen warnings
|
2020-06-09 15:32:39 -05:00 |
|
Ryan Pavlik
|
e0e5aeceda
|
xrt: name xrt_swapchain pointers consistently "xsc" or similar.
As is tradition.
|
2020-06-09 15:29:46 -05:00 |
|
Jakob Bornecrantz
|
45c977d199
|
xrt: Introduce xrt_sub_image and xrt_layer_projection_view_data
|
2020-06-09 20:32:53 +01:00 |
|
Jakob Bornecrantz
|
259bd52dbd
|
st/oxr: Convert layer bits from OpenXR to XRT
|
2020-06-09 19:04:48 +00:00 |
|
Jakob Bornecrantz
|
55e026245a
|
xrt: Use new xrt_layer_data in layer functions
|
2020-06-09 19:04:48 +00:00 |
|
Jakob Bornecrantz
|
320c9ab3cb
|
ipc+comp: Use new xrt_layer_data and friends struct
|
2020-06-09 19:04:48 +00:00 |
|
Jakob Bornecrantz
|
5912964ded
|
ipc+comp: Even more make layers the same
|
2020-06-09 19:04:48 +00:00 |
|
Lubosz Sarnecki
|
08d81e5950
|
ipc+comp: Make layer structs more consistent.
Add missing fields.
Sort layer struct members.
ipc/protocol: Move xdev_id and name to common layer struct.
|
2020-06-09 19:04:48 +00:00 |
|
Jakob Bornecrantz
|
15be0209b9
|
xrt: Introduce xrt_layer_[quad|stereo_projection]_data struct
|
2020-06-09 19:04:48 +00:00 |
|
Lubosz Sarnecki
|
cbb8573d35
|
xrt: Move layer enums to compositor header.
|
2020-06-09 19:04:47 +00:00 |
|