Re: [PATCH 0/8] Wayland Presentation Extension v4

2014-09-15 Thread Pekka Paalanen
Hi, just adding Mario and other possibly interested people to CC, so we get e.g. GStreamer devs in the loop. Please, spread the word that this is it: the basic protocol for having A/V sync begin to work on Wayland. All video player developers should be interested. ;-) Thanks, pq On Mon, 15 Se

Re: [PATCH 8/8] clients: add presentation-shm demo

2014-09-15 Thread Pekka Paalanen
On Mon, 15 Sep 2014 14:45:30 -0600 "Jasper St. Pierre" wrote: > Why isn't this using xdg_shell? Because I didn't bother porting it yet, it has been living in a downstream branch for a long time. Xdg-shell is not stable, so I didn't want re-port it every once in a while. This is hardly a use case

Re: [PATCH 1/8] protocol: add presentation extension v4

2014-09-15 Thread Bryce Harrington
Mostly just some minor grammar improvement suggestions... On Mon, Sep 15, 2014 at 04:16:40PM -0400, Louis-Francis Ratté-Boulianne wrote: > diff --git a/Makefile.am b/Makefile.am > diff --git a/protocol/presentation_timing.xml > b/protocol/presentation_timing.xml > new file mode 100644 > index 00

Re: [PATCH libinput 0/8] Add libinput_device_suspend() to disable devices

2014-09-15 Thread Peter Hutterer
On Mon, Sep 15, 2014 at 09:22:51AM +0200, Hans de Goede wrote: > Hi, > > On 09/15/2014 07:39 AM, Peter Hutterer wrote: > > On Thu, Sep 11, 2014 at 04:34:48PM +0200, Bastien Nocera wrote: > >> On Thu, 2014-08-21 at 16:18 +1000, Peter Hutterer wrote: > >>> replying to myself, now that I've had a bit

Re: [PATCH 8/8] clients: add presentation-shm demo

2014-09-15 Thread Jasper St. Pierre
Why isn't this using xdg_shell? On Mon, Sep 15, 2014 at 2:16 PM, Louis-Francis Ratté-Boulianne < l...@collabora.com> wrote: > From: Pekka Paalanen > > This started as a copy of simple-shm.c before it was converted to > xdg_shell. > > This demo excercises the presentation feedback interface in fi

[PATCH 0/8] Wayland Presentation Extension v4

2014-09-15 Thread Louis-Francis Ratté-Boulianne
Hi! To accelerate the merge of the Wayland Presentation extension, it was decided to split it into two parts: feedback and queuing. I've done the work of cleaning up the patches for the first one on behalf of Pekka Paalanen. For context, please refer to the last thread about the extension: http:/

[PATCH 4/8] compositor: set and use the presentation clock everywhere

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen Add presentation clock setters that verify the given clock actually works. Offer an automatic choice of a software fallback clock, when a backend has to always use clock_gettime() to approximate the presentation time. The DRM backend already queried the DRM about the clock i

[PATCH 7/8] tests: presentation test, simple

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen Added in v4. Signed-off-by: Pekka Paalanen --- Makefile.am | 8 ++ tests/presentation-test.c | 246 ++ 2 files changed, 254 insertions(+) create mode 100644 tests/presentation-test.c diff --git a/Makefile.am b/M

[PATCH 3/8] weston-info: report presentation clock

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen Signed-off-by: Pekka Paalanen v3 Reviewed-by: Mario Kleiner --- Makefile.am | 3 ++ clients/weston-info.c | 81 +++ 2 files changed, 84 insertions(+) diff --git a/Makefile.am b/Makefile.am index b1dcc21..6a91a8f 1

[PATCH 6/8] compositor-drm: deliver frame seq for feedback

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen Add 'msc' field to weston_output to maintain the refresh counter, and use it in presentation_feedback.presented. Make compositor-drm update the per-output refresh counter with the values reported by DRM. If the DRM reported value jumps backwards, assume it wrapped around onc

[PATCH 2/8] compositor: add stub implementation of presentation interface

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen You can bind to the global interface, and it delivers a fake clock id. All requests on it raise an error. Changes in v4: * queuing methods were extractracted for a later series [Louis-Francis Ratté-Boulianne: split queuing feature] Signed-off-by: Pekka Paalanen Signed-of

[PATCH 1/8] protocol: add presentation extension v4

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen Add accurate presentation timing features to Wayland: queueing and feedback. This specification is based on the draft written by Frederic Plourde and redesigned by Pekka Paalanen. The RFC v2 version is from http://lists.freedesktop.org/archives/wayland-devel/2014-January/0

[PATCH 5/8] compositor: implement presentation_feedback

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen Implement the presentation.feedback request, and the presentation_feedback protocol interface. Feedback information is delivered to clients as the backend reports it, except the refresh counter (MSC) which is always reported as zero. Changes in v4: * add 'flags' argument to

[PATCH 8/8] clients: add presentation-shm demo

2014-09-15 Thread Louis-Francis Ratté-Boulianne
From: Pekka Paalanen This started as a copy of simple-shm.c before it was converted to xdg_shell. This demo excercises the presentation feedback interface in five different modes: - A continuous repaint loop triggered by frame callbacks, and using immediate commits, just gathering presentatio

Re: [PATCH libxkbcommon 2/4] compose: add xkbcommon-compose - implementation

2014-09-15 Thread David Herrmann
Hi On Mon, Sep 15, 2014 at 1:58 PM, Ran Benita wrote: > On Mon, Sep 15, 2014 at 08:21:34AM +0200, David Herrmann wrote: >> Why don't we require a keymap in xkb_compose_state_new()? Should be >> easy to do and we can then track modifiers reliably. >> Ok, a keysym which is a modifier in one keymap

Re: [PATCH libxkbcommon 1/4] compose: add xkbcommon-compose - API

2014-09-15 Thread David Herrmann
Hi On Mon, Sep 15, 2014 at 1:48 PM, Ran Benita wrote: > On Mon, Sep 15, 2014 at 08:41:37AM +0200, David Herrmann wrote: >> Hi > > Hi David > >> On Sun, Sep 14, 2014 at 11:05 PM, Ran Benita wrote: > [snip] >> > +/** >> > + * @page compose-cancellation Cancellation Behavior >> > + * @parblock >> >

Re: [PATCH libxkbcommon 2/4] compose: add xkbcommon-compose - implementation

2014-09-15 Thread Ran Benita
On Mon, Sep 15, 2014 at 08:21:34AM +0200, David Herrmann wrote: > Hi > > On Sun, Sep 14, 2014 at 11:05 PM, Ran Benita wrote: > > Signed-off-by: Ran Benita > > --- > > [snip] > > > diff --git a/src/compose/state.c b/src/compose/state.c > > new file mode 100644 > > index 000..06e4ce5 > > ---

Re: [PATCH libxkbcommon 1/4] compose: add xkbcommon-compose - API

2014-09-15 Thread Ran Benita
On Mon, Sep 15, 2014 at 08:41:37AM +0200, David Herrmann wrote: > Hi Hi David > On Sun, Sep 14, 2014 at 11:05 PM, Ran Benita wrote: [snip] > > +/** > > + * @page compose-cancellation Cancellation Behavior > > + * @parblock > > + * > > + * What should happen when a sequence is cancelled? For exa

Re: [PATCH web] efl: swap ECORE_EVAS_ENGINE labels to match definitions.

2014-09-15 Thread Pekka Paalanen
On Mon, 15 Sep 2014 12:57:58 +0200 Gwenole Beauchesne wrote: > Swap wayland_{shm,egl} labels in the "Running EFL applications under > Wayland" section to match the order of their subsequent definitions. > > Signed-off-by: Gwenole Beauchesne > --- > efl.html |2 +- > 1 file changed, 1 inser

[PATCH web] efl: swap ECORE_EVAS_ENGINE labels to match definitions.

2014-09-15 Thread Gwenole Beauchesne
Swap wayland_{shm,egl} labels in the "Running EFL applications under Wayland" section to match the order of their subsequent definitions. Signed-off-by: Gwenole Beauchesne --- efl.html |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efl.html b/efl.html index 18fe897..20730

Re: [PATCH web] efl: fix logical order for ECORE_EVAS_ENGINE definitions.

2014-09-15 Thread Pekka Paalanen
On Mon, 15 Sep 2014 11:22:15 +0200 Gwenole Beauchesne wrote: > Use a more logical definition order for ECORE_EVAS_ENGINE whereby if > wayland_egl comes first and wayland_shm next, then explain the former > first and next the latter. > > Signed-off-by: Gwenole Beauchesne > --- > efl.html |4

Re: [PATCH wayland-web] extras: list three Wayland protocol dumping tools

2014-09-15 Thread Pekka Paalanen
On Thu, 11 Sep 2014 15:51:54 +0800 Boyan Ding wrote: > On Thu, 2014-09-11 at 10:14 +0300, Pekka Paalanen wrote: > > On Fri, 5 Sep 2014 16:22:25 +0300 > > Pekka Paalanen wrote: > > No replies... no-one wants their tracer advertised on the Wayland > > website? :-P > Sorry, I didn't notice this. >

[PATCH web] efl: fix logical order for ECORE_EVAS_ENGINE definitions.

2014-09-15 Thread Gwenole Beauchesne
Use a more logical definition order for ECORE_EVAS_ENGINE whereby if wayland_egl comes first and wayland_shm next, then explain the former first and next the latter. Signed-off-by: Gwenole Beauchesne --- efl.html |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/efl.html

Re: [PATCH] window: Don't needlessly sync parent and geometry

2014-09-15 Thread Pekka Paalanen
On Sun, 14 Sep 2014 17:09:38 +0200 Ondřej Majerech wrote: > On Sun, 14 Sep 2014 13:52:21 +0100 > Daniel Stone wrote: > > > Hi, > > > > On 13 September 2014 15:35, Ondřej Majerech > > wrote: > > > > > When a toytoolkit client redraws, the toolkit syncs the parent and > > > geometry. If a clie

Re: [PATCH libinput 0/8] Add libinput_device_suspend() to disable devices

2014-09-15 Thread Hans de Goede
Hi, On 09/15/2014 07:39 AM, Peter Hutterer wrote: > On Thu, Sep 11, 2014 at 04:34:48PM +0200, Bastien Nocera wrote: >> On Thu, 2014-08-21 at 16:18 +1000, Peter Hutterer wrote: >>> replying to myself, now that I've had a bit of a think about this all. >>> >>> On Wed, Aug 20, 2014 at 01:18:48PM +100

Re: [PATCH libinput 0/5] Conditional touchpad disabling

2014-09-15 Thread Hans de Goede
Hi, On 09/15/2014 07:33 AM, Peter Hutterer wrote: > On Sun, Sep 14, 2014 at 08:39:17PM +0200, Hans de Goede wrote: >> Hi Peter, et al, >> >> On 09/04/2014 08:31 AM, Peter Hutterer wrote: >>> >>> This patchset adds support for two features: >>> * disabling the touchpad when a mouse is plugged in >>