diff options
author | Alexandros Frantzis <alexandros.frantzis@collabora.com> | 2017-12-18 14:55:00 +0200 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2018-01-19 11:21:02 +0200 |
commit | 4f789286e4ab7f6fecc2ccb895d79362a9b2382a (patch) | |
tree | ca5eb222cf6f9be5453ae2c95f3609c8bfbaa9de /tests | |
parent | 0130366ee0da7675ea6f7154995be1d7fa2f65a9 (diff) | |
download | wayland-protocols-4f789286e4ab7f6fecc2ccb895d79362a9b2382a.tar.xz |
unstable: Add input-timestamps protocol
wl_pointer, wl_keyboard and wl_touch events currently use a 32-bit
timestamp with millisecond resolution. In some cases, notably latency
measurements, this resolution is too coarse to be useful.
This protocol provides additional high-resolution timestamps events,
which are emitted before the corresponding input event. Each timestamp
event contains a high-resolution, and ideally higher-accuracy, version
of the 'time' argument of the first subsequent supported input event.
Clients that care about high-resolution timestamps just need to keep
track of the last timestamp event they receive and associate it with the
next supported input event that arrives.
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Jonas Ã…dahl <jadahl@gmail.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions