Commit graph

5241 commits

Author SHA1 Message Date
Malek 5c013bcecd a/math: Add stdbool include to m_lowpass_integer.h 2022-12-12 00:45:05 -08:00
Christoph Haag 2abcc17178 c/main: Add XRT_COMPOSITOR_DISABLE_DEFERRED env var 2022-12-09 16:38:06 +00:00
SeungHoon Han a594d6d86e a/android: fixed forced applied alpha=0.8 window after Android S 2022-12-08 21:41:16 +00:00
SeungHoon Han a2f5e5f1b9 a/android: hide display cutout to use full screen 2022-12-08 20:24:53 +00:00
Jakob Bornecrantz b18202e5d0 doc: Document !1598 2022-12-08 00:46:34 +00:00
Jakob Bornecrantz 040764c4f1 ipc: Trace around ipc_dispatch 2022-12-08 00:24:42 +00:00
Jakob Bornecrantz 50783a4c35 u/trace_marker: Add U_TRACE_[BEGIN|END] for greater control of zones/tracks 2022-12-08 00:24:42 +00:00
Jakob Bornecrantz f8d2c095ee u/trace_marker: Ensure ENABLE_TRACE is set before including Tracy headers 2022-12-08 00:24:42 +00:00
Jakob Bornecrantz b7748691b7 ext/tracy: Do not define ENABLE_TRACY globally 2022-12-08 00:24:42 +00:00
Jakob Bornecrantz 87f7b3426a t/sdl_test: Fix build on Windows 2022-12-08 00:24:42 +00:00
Jakob Bornecrantz a29a3c5ef3 c/mutli: Error log on failing semaphore wait 2022-12-06 15:26:40 +00:00
Jakob Bornecrantz ebb7c3cac2 d/wmr: Tidy prober code 2022-12-05 15:21:20 +00:00
zhibin wang 828dacc10b c/client: Fix eglDestroyImageKHR error and add AHB buffer release 2022-12-05 14:44:53 +00:00
Jakob Bornecrantz 985fbe4ede doc: Document !1578 2022-12-04 18:46:17 +00:00
Jakob Bornecrantz 9b3f9baff3 ipc: Properly cast assignment 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz 6450cba854 ipc: Clarify code around xrt_comp_begin_session call 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz bc83130354 ipc: Use correct cast 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz 2ffaf7fd46 ipc: Add C++ guards to generated headers 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz 09975b0d24 ipc: Use XRT_STRUCT_INIT 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz 4a8448fcc3 c/multi: Clarify code around xrt_comp_layer_begin call 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz 840febfb57 c/multi: Do not declare variable in switch statement 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz f343bb709c c/multi: Use XRT_STRUCT_INIT 2022-12-04 18:07:53 +00:00
Jakob Bornecrantz f0021c359f xrt: Add XRT_STRUCT_INIT define
This helps with code that needs to be compiled with both C and C++.
2022-12-04 18:07:53 +00:00
Moses Turner 8c0735feec d/rift_s: Link to hand tracking driver if necessary 2022-12-04 18:05:02 +00:00
Mateo de Mayo 27b8166e38 doc: Document !1590 2022-12-02 16:10:09 +00:00
Mateo de Mayo dad7957fb2 a/math: Add clock_offset.h
For now it only has our simple exponential smoothing clock offset estimator.
But more advanced ones can go here too.
2022-12-02 16:10:09 +00:00
Bailey Morgan 35061c1d80 a/vk: Select graphics device based on prefered device type 2022-12-02 14:05:34 +00:00
Maxim Kizub e600cdaabf c/main,ipc/android: Deferred render target initialization for Android. 2022-11-30 09:32:18 -06:00
Maxim Kizub f6e1ea7aa9 t/oxr_android: fixed libmonado-service.so not found UnsatisfiedLinkError in inProcess build variant
Co-authored-by: SeungHoon Han <senicy.han@samsung.com>
2022-11-30 09:30:02 -06:00
Maxim Kizub 950f6cc506 a/android: Improve waiting for surface holder 2022-11-30 09:26:38 -06:00
Maxim Kizub 0ee891e7d6 c/main: Deferred render target initialization for windows 2022-11-30 09:25:43 -06:00
Jakob Bornecrantz f28f3a27e6 c/main: Fix crash on debug print 2022-11-30 13:31:36 +00:00
Moses Turner 5c68233004 Add test for m_vec3_angle 2022-11-29 03:11:53 -06:00
Moses Turner 85c0c78ac6 a/math: Fix m_vec3_angle function
Dot product is equivalent to a.length*b.length*cos(theta), not a.length_squared*b.length_squared*cos(theta)
2022-11-29 03:11:53 -06:00
Jakob Bornecrantz fec8e13f73 ext/openxr: Update headers to 1.0.26 2022-11-26 14:29:16 +00:00
Jakob Bornecrantz 69238be306 ext/openxr: Update XR_MNDX_force_feedback_curl 2022-11-26 14:26:58 +00:00
Jakob Bornecrantz b9603723cc doc: Document !1585 2022-11-25 18:29:54 +00:00
Jakob Bornecrantz 2a12f7d661 os/time: Use timePeriod[Begin|End] when sleeping in precise sleeper
One alternative to this is to use the CreateWaitableTimerExW function
with the CREATE_WAITABLE_TIMER_HIGH_RESOLUTION flag. On my systems the
function/flag was either as good or worse then timePeriod[Begin|End].
Setting the state globally or just just around the wait didn't seem to
have an impact on the precision.
2022-11-25 17:02:00 +00:00
Jakob Bornecrantz 14f9492902 doc: Document !1525, !1531 and !1584 2022-11-25 16:51:50 +00:00
Jakob Bornecrantz 96552a6caa t/common: Fix leak of calibration data in RGB-Tracker builder 2022-11-25 16:44:24 +00:00
Jakob Bornecrantz c195608602 a/tracing: Do more tracing in PSMV tracking code 2022-11-25 16:44:24 +00:00
Jakob Bornecrantz f552aacb87 a/tracking: Fix data waiting logic in PSMV tracking 2022-11-25 16:44:24 +00:00
Jakob Bornecrantz dd3e285a5d doc: Document !1584 2022-11-25 16:04:20 +00:00
Jakob Bornecrantz fb15e8aa50 ipc: Tidy Windows mainloop code 2022-11-25 16:04:20 +00:00
Jakob Bornecrantz 8271d213f5 ipc: Use u_winerror helper 2022-11-25 16:04:20 +00:00
Jakob Bornecrantz 6fc6968387 t/service: Try to raise priority and privilege on Windows 2022-11-25 16:04:20 +00:00
Jakob Bornecrantz 3b465b4241 u/windows: Add helper for trying priority or privilege from args 2022-11-25 16:04:20 +00:00
Jakob Bornecrantz 9e57a745b2 u/windows: Add function to raise CPU priority 2022-11-25 16:00:49 +00:00
Jakob Bornecrantz ef77cb08d0 u/windows: Add function to enable privileges on processes
Also add a small helper to add the privilege
SeIncreaseBasePriorityPrivilege, which is needed on
NVIDIA for HIGH and REALTIME priority Vulkan queues.
2022-11-25 15:54:45 +00:00
Jakob Bornecrantz 57820394f4 u/windows: Add files and u_winerror string format helper 2022-11-24 16:17:26 +00:00