Re: [PATCH weston 2/8] shared: Add helpers to convert between protocol data and timespec

2017-12-12 Thread Pekka Paalanen
On Tue, 12 Dec 2017 16:29:49 +0200 Alexandros Frantzis wrote: > On Tue, Dec 12, 2017 at 03:09:56PM +0200, Pekka Paalanen wrote: > > On Tue, 12 Dec 2017 14:43:11 +0200 > > Alexandros Frantzis wrote: > > > > > On Tue, Dec 12, 2017 at 12:09:59PM +0200, Pekka Paalanen wrote: > > > > On Mon, 4

Re: [PATCH weston 2/8] shared: Add helpers to convert between protocol data and timespec

2017-12-12 Thread Alexandros Frantzis
On Tue, Dec 12, 2017 at 03:09:56PM +0200, Pekka Paalanen wrote: > On Tue, 12 Dec 2017 14:43:11 +0200 > Alexandros Frantzis wrote: > > > On Tue, Dec 12, 2017 at 12:09:59PM +0200, Pekka Paalanen wrote: > > > On Mon, 4 Dec 2017 15:34:02 +0200 > > > Alexandros Frantzis wrote: > > > > > > > Add h

Re: [PATCH weston 2/8] shared: Add helpers to convert between protocol data and timespec

2017-12-12 Thread Pekka Paalanen
On Tue, 12 Dec 2017 14:43:11 +0200 Alexandros Frantzis wrote: > On Tue, Dec 12, 2017 at 12:09:59PM +0200, Pekka Paalanen wrote: > > On Mon, 4 Dec 2017 15:34:02 +0200 > > Alexandros Frantzis wrote: > > > > > Add helpers to safely convert between struct timespec values and > > > tv_sec_hi, tv_

Re: [PATCH weston 2/8] shared: Add helpers to convert between protocol data and timespec

2017-12-12 Thread Alexandros Frantzis
On Tue, Dec 12, 2017 at 12:09:59PM +0200, Pekka Paalanen wrote: > On Mon, 4 Dec 2017 15:34:02 +0200 > Alexandros Frantzis wrote: > > > Add helpers to safely convert between struct timespec values and > > tv_sec_hi, tv_sec_lo, tv_nsec triplets used for sending high-resolution > > timestamp data o

Re: [PATCH weston 2/8] shared: Add helpers to convert between protocol data and timespec

2017-12-12 Thread Pekka Paalanen
On Mon, 4 Dec 2017 15:34:02 +0200 Alexandros Frantzis wrote: > Add helpers to safely convert between struct timespec values and > tv_sec_hi, tv_sec_lo, tv_nsec triplets used for sending high-resolution > timestamp data over the wayland protocol. Replace existing conversion > code with the helper

[PATCH weston 2/8] shared: Add helpers to convert between protocol data and timespec

2017-12-04 Thread Alexandros Frantzis
Add helpers to safely convert between struct timespec values and tv_sec_hi, tv_sec_lo, tv_nsec triplets used for sending high-resolution timestamp data over the wayland protocol. Replace existing conversion code with the helper functions. Signed-off-by: Alexandros Frantzis --- clients/presentati