Re: [PATCH weston 2/2] compositor-drm: Support linux_dmabuf output for sprite planes without gbm

2016-06-15 Thread Esaki Tomohito
Hello Pekka, Thanks for reviewing the patchset. On 2016/06/15 17:22, Pekka Paalanen wrote: > On Fri, 27 May 2016 18:52:28 +0900 > Tomohito Esaki wrote: > >> Multiplanar formats are supported by using drmModeAddFB2 and bypassing >> gbm. If drmModeAddFB2 isn't available, the existing gbm bo impor

[ANNOUNCE] libinput 1.3.2

2016-06-15 Thread Peter Hutterer
A relatively mild update, the commits mainly change a few warnings. Specifically: we now warn when a touchpad's events are significantly outside the kernel-announced range. This usually indicates that a hwdb entry is needed to make the touchpad work properly. Peter Hutterer (6): tools: add m

[PATCH libinput 1/2] test: when creating an abs test device, force the abs->value to the mimimum

2016-06-15 Thread Peter Hutterer
Otherwise the abs->value could lie outside the [min, max] range of the axis. This isn't much of an issue for actual axes but in the case of ABS_MT_SLOT (value 47) it causes errors when libevdev sanitises the event into the allowed slot range. Signed-off-by: Peter Hutterer --- test/litest.c | 8 +

[PATCH libinput 2/2] test: add an apple magicmouse device

2016-06-15 Thread Peter Hutterer
This device has a touchpad on the mouse but it's labeled as mouse. For litest we only label it as LITEST_MOUSE feature and test the touchpad directly on the device. Signed-off-by: Peter Hutterer --- src/evdev.c | 7 +++ src/evdev.h | 1 + t

Re:Re: How to create client in child thread

2016-06-15 Thread 袁嘉伟
Yes, I want to achieve that drawing the client from a thread but not the main thread. Before I have tested that creating display and drawing surface from main thread, and I try to call the functions(xdg_surface_) of wayland to control the client from child thread, but failed. The reason is

[PATCH weston] terminal: Document console codes less cryptically

2016-06-15 Thread Bryce Harrington
C.f. http://man7.org/linux/man-pages/man4/console_codes.4.html Signed-off-by: Bryce Harrington --- clients/terminal.c | 72 +++--- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/clients/terminal.c b/clients/terminal.c index a70fef3

[PATCH weston] Make config.h inclusion consistent

2016-06-15 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- clients/multi-resource.c | 2 +- clients/presentation-shm.c| 2 +- clients/simple-damage.c | 2 +- clients/simple-dmabuf-intel.c | 2 +- clients/simple-dmabuf-v4l.c | 2 +- clients/simple-shm.c | 2 +- clients/simple-touch.c| 2

[PATCH weston] weston-simple-im: Make capitalization consistent in error messages

2016-06-15 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- clients/weston-simple-im.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/weston-simple-im.c b/clients/weston-simple-im.c index 4c1d7cf..0ee505a 100644 --- a/clients/weston-simple-im.c +++ b/clients/weston-simple-im.c @@ -197,

[PATCH libxkbcommon 3/3] doc: Also mention the wayland test client in the quick guide

2016-06-15 Thread Bryce Harrington
Signed-off-by: Bryce Harrington --- doc/quick-guide.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/quick-guide.md b/doc/quick-guide.md index 6e04ba5..9d66475 100644 --- a/doc/quick-guide.md +++ b/doc/quick-guide.md @@ -20,6 +20,8 @@ can find complete and more complex examples in the

[PATCH libxkbcommon 2/3] doc: Declare keymap for wayland example

2016-06-15 Thread Bryce Harrington
keymap was defined in the X11 example, but also define it in the wayland example just to make it a bit more standalone Signed-off-by: Bryce Harrington --- doc/quick-guide.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/quick-guide.md b/doc/quick-guide.md index a576070..6e04ba5 100644

[PATCH libxkbcommon 1/3] doc: Fix ctx type in example

2016-06-15 Thread Bryce Harrington
xkb_context_new() returns a xkb_context pointer, so change the variable definition to be consistent. Signed-off-by: Bryce Harrington --- doc/quick-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/quick-guide.md b/doc/quick-guide.md index 972d09c..a576070 100644 --

[PATCH wayland-protocols] input-method: Grammar fixups

2016-06-15 Thread Bryce Harrington
From: Bryce Harrington Signed-off-by: Bryce Harrington --- unstable/input-method/input-method-unstable-v1.xml | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/unstable/input-method/input-method-unstable-v1.xml b/unstable/input-method/input-method-unstable-v1.x

Re: How to create client in child thread

2016-06-15 Thread Benoit Gschwind
Hello, The reply from Pekka is about compositor using a client to make the rendering, but I not sure this is what you asking for. Are you talking about building a compositor ? It look like you are making a wayland client that try to delegate the drawing to a thread. Is it what you want to do ? B

Re: [PATCH weston 2/2] xwayland: make the plugin usable by libweston compositors

2016-06-15 Thread Pekka Paalanen
Hi Giulio, was the plugin registry easy to use? On Sat, 4 Jun 2016 19:25:05 +0300 Giulio Camuffo wrote: > This patch follows a similar approach to the taken to detach the backends -to the > from weston. But instead of passing a configuration struct when loading the > plugin, we use the plugi

Re: [PATCH weston 1/2] compositor: add plugin-registry

2016-06-15 Thread Pekka Paalanen
On Sat, 4 Jun 2016 19:25:04 +0300 Giulio Camuffo wrote: > From: Pekka Paalanen > > Implement a simple register and lookup for function tables. This is > intended for plugins to expose APIs to other plugins. > > It has been very hard to arrange a plugin to be able to call into > another plugin

Re: [PATCH weston] main: report presentation clock resolution

2016-06-15 Thread Hardening
Le 13/06/2016 13:34, Pekka Paalanen a écrit : > From: Pekka Paalanen > > For debugging weird timing issues. If your clock resolution is > unexpectedly e.g. 10 ms, you can be sure you will have strange timing > issues. This is almost certainly caused by kernel misconfiguration. > > We rely on clo

Re: [PATCH weston v2 2/3] ivi-shell: introduce ivi_layout_view

2016-06-15 Thread Pekka Paalanen
On Tue, 14 Jun 2016 14:43:40 + "Ucan, Emre (ADITG/SW1)" wrote: > This patch introduces ivi_layout_view data struct, > which is a wrapper of weston_view. > > There is always only one ivi_layout_view for an > ivi_layout_surface and ivi_layout_layer pair. > A surface could have many views with

Re: [PATCH libinput 1/2] touchpad: split palm movement detection into a helper function

2016-06-15 Thread Hans de Goede
Hi, On 06/15/2016 08:52 AM, Peter Hutterer wrote: Signed-off-by: Peter Hutterer Series looks good to me: Reviewed-by: Hans de Goede Regards, Hans --- src/evdev-mt-touchpad.c | 35 +++ 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/src/ev

Re: [PATCH weston v2] Makefile: Fix compilation error when git commit message has quotes

2016-06-15 Thread Pekka Paalanen
On Thu, 14 Apr 2016 14:53:12 +0300 Pekka Paalanen wrote: > On Thu, 14 Apr 2016 11:25:47 + > "Chokshi, Mitul" wrote: > > > Do we really need the git commit message (subject) in version string? > > What if we use commit hash instead? That will be a simple solution of > > replacing %s with %H

Re: [PATCH weston 2/2] compositor-drm: Support linux_dmabuf output for sprite planes without gbm

2016-06-15 Thread Pekka Paalanen
On Fri, 27 May 2016 18:52:28 +0900 Tomohito Esaki wrote: > Multiplanar formats are supported by using drmModeAddFB2 and bypassing > gbm. If drmModeAddFB2 isn't available, the existing gbm bo import path > is used and multiplanar formats are unsupported. > > Signed-off-by: Tomohito Esaki > --- >

Re: [PATCH weston 1/2] compositor-drm: Add scanout support for linux_dmabuf buffers

2016-06-15 Thread Pekka Paalanen
On Fri, 27 May 2016 18:52:27 +0900 Tomohito Esaki wrote: > This implementations bypasses gbm and passes the dmabuf handles directly > to libdrm for composition. > > Signed-off-by: Tomohito Esaki Hi, thank you for working on this, it has been on the todo for quite a while. The patch seems good

Re: How to create client in child thread

2016-06-15 Thread Pekka Paalanen
On Wed, 15 Jun 2016 12:34:06 +0800 (CST) 袁嘉伟 wrote: > Hi, All:I try to create the client and draw it in child > thread failed. If calling functions from child thread, it will block. > So I want to know whether wayland(v1.9) supports to create and redraw > the client in child thread. Perha