monado/src/xrt/drivers/daydream
Christoph Haag c24e482e5e st/oxr: Make OpenXR timestamps relative to service startup
This solves a problem where OpenXR timestamps could become invalid
(negative) in certain circumstances:

The timestamps that the OpenXR state tracker returned were offset such
that they appeared to start at OpenXR application startup time.

However monado-service is a long running service using system timestamps.
Because of this, if monado-service started work using a system timestamp
acquired before an OpenXR application started, then this system timestamp
could not be converted into an OpenXR without becoming invalid.

With this change, the OpenXR timestamps for OpenXR applications are offset
such that they appear to start at monado-service startup time instead.

As a side effect, all OpenXR applications connected to the same
monado-service instance will receive timestamps from the same domain.
2022-08-08 15:52:18 +00:00
..
daydream_device.c st/oxr: Make OpenXR timestamps relative to service startup 2022-08-08 15:52:18 +00:00
daydream_device.h xrt: Tidy s/ll/log_level/g 2021-11-22 14:29:10 -06:00
daydream_interface.h d/dd: Add Daydream driver 2020-03-11 21:36:49 +00:00
daydream_prober.c st/prober: Allow autoprobe function to create more than one device. 2021-02-28 15:27:52 +00:00