[PATCH wayland-protocols v2] unstable: Add input-timestamps protocol
Pekka Paalanen
ppaalanen at gmail.com
Tue Dec 19 08:15:06 UTC 2017
On Mon, 18 Dec 2017 14:55:00 +0200
Alexandros Frantzis <alexandros.frantzis at collabora.com> wrote:
> 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 at collabora.com>
> Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> Acked-by: Jonas Ã…dahl <jadahl at gmail.com>
> ---
>
> Changes in v2:
> - Add '...carrying a timestamp...' to better describe the set of subsequent
> input events in the timestamp event description.
> - Clarify normalization requirements of tv_sec_hi, tv_sec_lo, tv_nsec
> timestamp representation.
>
> Makefile.am | 1 +
> unstable/input-timestamps/README | 4 +
> .../input-timestamps-unstable-v1.xml | 145 +++++++++++++++++++++
> 3 files changed, 150 insertions(+)
> create mode 100644 unstable/input-timestamps/README
> create mode 100644 unstable/input-timestamps/input-timestamps-unstable-v1.xml
Cool! I suppose we want to see the Weston implementation patches posted
to the list before landing this?
Alf, what would you have for the client side of the implementation?
Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171219/60b1295c/attachment.sig>
More information about the wayland-devel
mailing list