Christoph Haag
|
256e2c68d8
|
xrt: Implement & hook up hand joint tracking infrastructure
Include <inttypes.h> to satisfy older compilers
|
2020-10-12 22:13:47 +02:00 |
|
Ryan Pavlik
|
5522c7317a
|
st/oxr: Replace __typeof__ usage with portable syntax.
Needed for building on MSVC
|
2020-10-08 17:26:22 -05:00 |
|
Jakob Bornecrantz
|
942ba178a0
|
st/oxr: Add extension support for XR_KHR_composition_layer_equirect2
|
2020-10-05 16:45:48 +01:00 |
|
Jakob Bornecrantz
|
02b33c668b
|
st/oxr: Destroy client compositor when session is destroyed
Fixes #99
|
2020-10-04 13:04:57 +01:00 |
|
Jakob Bornecrantz
|
9dd8bfef28
|
st/oxr: Use xrt_comp_native_destroy helper
|
2020-10-04 13:04:55 +01:00 |
|
Jakob Bornecrantz
|
2aaa3acfdf
|
st/oxr: Do not destroy native compositor in sub-classed session creation functions
So it's owned by the instance.
|
2020-09-24 19:07:01 +01:00 |
|
Jakob Bornecrantz
|
6961bf885f
|
st/oxr: Don't create a new native compositor in android session
Spotted by Jarvis.
|
2020-09-24 19:06:51 +01:00 |
|
Jakob Bornecrantz
|
9ebf1c4d4d
|
st/oxr: Fix warning
|
2020-09-18 20:51:31 +01:00 |
|
Ryan Pavlik
|
7e600dd244
|
build: Adjust/fix missing dependencies
|
2020-09-18 18:25:27 +01:00 |
|
Ryan Pavlik
|
dae3ab3a4f
|
xrt: Be sure to include config headers
|
2020-09-18 13:56:24 +01:00 |
|
Ryan Pavlik
|
a0c8839a71
|
xrt: Remove un-needed includes of unistd
|
2020-09-18 13:56:16 +01:00 |
|
Jakob Bornecrantz
|
c411caf0cd
|
st/oxr: Fix return length from oxr_action_get_input_source_localized_name
|
2020-09-17 23:04:37 +01:00 |
|
Jakob Bornecrantz
|
4a62e88f09
|
st/oxr: Return identifier name for bindings
|
2020-09-17 23:04:37 +01:00 |
|
Jakob Bornecrantz
|
b6786f5bfc
|
st/oxr: Return controller name for bindings
|
2020-09-17 15:28:59 +01:00 |
|
Jakob Bornecrantz
|
33713c790c
|
st/oxr: Correctly return sub path for input source
|
2020-09-17 00:26:12 +01:00 |
|
Christoph Haag
|
ddf3eb5789
|
st/oxr: Use space graph in global-to-local space transform
This takes care of transforming the velocities.
|
2020-09-11 19:06:16 +02:00 |
|
Christoph Haag
|
f41edee4b4
|
st/oxr: Use space graph resolve result relation flags instead of pure pose relation
|
2020-09-11 18:52:01 +02:00 |
|
Christoph Haag
|
19acc7be25
|
st/oxr: Pass actual ViewStateFlags to application with xrLocateViews
These flags are originally set by the driver, then processed by the space graph resolver.
|
2020-09-11 18:52:01 +02:00 |
|
Christoph Haag
|
2b90b4ea89
|
st/oxr: Destroy compositor on instance destroy
Fixes direct mode on subsequent instance creation in the same process
when no session was created.
|
2020-09-11 18:52:01 +02:00 |
|
Christoph Haag
|
844daee844
|
st/oxr: Check xrLocateViews quaternion only if orientation valid
|
2020-09-11 18:52:01 +02:00 |
|
Jakob Bornecrantz
|
8e24dda794
|
xrt: Remove out_timestamp argument to xrt_device::get_tracked_pose
|
2020-09-07 23:37:09 +01:00 |
|
Jakob Bornecrantz
|
eaffa05a37
|
xrt: Remove acceleration components from xrt_space_relation
|
2020-09-07 23:36:34 +01:00 |
|
Jakob Bornecrantz
|
d60cce8977
|
st/oxr: Use new xrt_space_graph
|
2020-09-07 23:33:28 +01:00 |
|
Jakob Bornecrantz
|
557dacbb02
|
st/oxr: Special case the any path for pose actions
|
2020-08-28 10:34:19 +00:00 |
|
Jakob Bornecrantz
|
deb5633bf9
|
d/psmv: Introduce proper grip and aim poses
Correctly rotate the grip pose to follow the spec more closely.
|
2020-08-27 10:42:05 +01:00 |
|
Ryan Pavlik
|
ff603d3acd
|
st/oxr: Add layer type conditionals around depth-image manipulation
|
2020-08-26 12:28:43 -05:00 |
|
Ryan Pavlik
|
2ac0013e25
|
st/oxr: Verify that the compositor created can actually do the layer types claimed.
|
2020-08-26 12:28:35 -05:00 |
|
Jakob Bornecrantz
|
cac588bbf2
|
st/oxr: Get maximum layers from the compositor info
|
2020-08-26 15:25:00 +01:00 |
|
Jakob Bornecrantz
|
bf9f0e6e39
|
st/oxr: Use the right depth projection function
|
2020-08-25 14:55:43 +01:00 |
|
Christoph Haag
|
2cd010b65f
|
st/oxr: Verify that projection layer has 0 or view count depth layers
|
2020-08-24 12:29:47 +02:00 |
|
Christoph Haag
|
a9193b0e89
|
st/oxr: Pass through depth layer to compositor
The compositor does not make use of this layer yet.
|
2020-08-24 10:30:23 +02:00 |
|
Christoph Haag
|
4f2d421903
|
st/oxr: Verify depth layer
|
2020-08-24 10:30:23 +02:00 |
|
Christoph Haag
|
5a854fc806
|
st/oxr: projection layer swapchain NULL check
|
2020-08-24 10:18:12 +02:00 |
|
Jakob Bornecrantz
|
a4693f3162
|
st/oxr: Include m_mathinclude.h and tidy includes
|
2020-08-21 12:18:09 +01:00 |
|
Christoph Haag
|
8a17481301
|
st/oxr: handle subimage rect in submit_cylinder_layer
|
2020-08-21 02:11:03 +02:00 |
|
Ryan Pavlik
|
3b8c8ddc1a
|
xrt: Move the android globals functionality to the new android aux lib.
|
2020-08-19 16:07:00 -05:00 |
|
Ryan Pavlik
|
54149b12b9
|
st/oxr: Handle the android extension
|
2020-08-19 11:01:12 -05:00 |
|
Jakob Bornecrantz
|
8a4db7b3ef
|
st/oxr: Make sure that an identity transform is only inserted when needed
|
2020-08-18 19:44:26 +01:00 |
|
Jakob Bornecrantz
|
1109bc7cfb
|
st/oxr: Better logging when creating transforms
|
2020-08-18 19:43:27 +01:00 |
|
Jakob Bornecrantz
|
25c78287a2
|
st/oxr: Slightly better logging when we fail to transform
|
2020-08-18 17:06:07 +01:00 |
|
Jakob Bornecrantz
|
a3c4cba7f5
|
st/oxr: Reject bindings that we can't transform
|
2020-08-18 17:06:07 +01:00 |
|
Ryan Pavlik
|
00abdb358a
|
st/oxr: Proper gles support for Android
|
2020-08-17 17:30:33 -05:00 |
|
Christoph Haag
|
0a667281f9
|
st/oxr: Print invalid quaternion values in xrLocateView
Gives a hint whether it was zeroed, almost normalized, or not normalized at all.
|
2020-08-17 12:39:08 +02:00 |
|
Ryan Pavlik
|
54dbb4d128
|
st/oxr: Use the XR_ERROR_GRAPHICS_REQUIREMENTS_CALL_MISSING code added in OpenXR 1.0.11.
|
2020-08-14 17:42:19 -05:00 |
|
Ryan Pavlik
|
2c126e08ff
|
st/oxr: Handle XRT_ERROR_IMAGE_CREATE_FLAG_UNSUPPORTED from compositor.
|
2020-08-14 19:58:01 +00:00 |
|
Jakob Bornecrantz
|
8846c88eb1
|
st/oxr: Implement cylinder layer
|
2020-08-14 19:15:02 +00:00 |
|
Jakob Bornecrantz
|
7eeab2aca6
|
st/oxr: Implement the layer verification functions
|
2020-08-14 19:15:02 +00:00 |
|
Ryan Pavlik
|
146218b346
|
xrt: Some clang tidy fixes.
A few suppressions as well where clang-tidy did the wrong thing.
|
2020-08-12 17:11:42 -05:00 |
|
Jakob Bornecrantz
|
38703fc1d2
|
st/oxr: Add plumbing for layers
|
2020-08-11 01:51:24 +01:00 |
|
Jakob Bornecrantz
|
1e3508d2ce
|
st/oxr: Fix crash in oxr_session_poll in headless mode
Spotted and reported by svillar (IRC).
|
2020-08-10 16:49:20 +01:00 |
|