[PATCH] wayland-server: Add APIs to get some structure's value

2016-06-20 Thread JengHyun Kang
This patch's purpose is getting global interface information registerred in the server. If global is created (used wl_global_create()), information are saved in global_list. But almost structures used in wayland is defined statically. So it is hard to get structure's values in server side. Added

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

2016-06-20 Thread Daniel Stone
Hi Bryce, All merged, thanks! Cheers, Daniel On 16 June 2016 at 10:36, Bryce Harrington wrote: > xkb_context_new() returns a xkb_context pointer, so change the variable > definition to be consistent. > > Signed-off-by: Bryce Harrington > --- >

Re: [PATCH weston] compositor-drm: support RGB565 with pixman renderer

2016-06-20 Thread Daniel Stone
On 20 June 2016 at 21:18, Tomi Valkeinen wrote: > At the moment only XRGB is supported when using pixman renderer. > This patch adds support also for RGB565. 16bpp in 2016? Ouch. :( Reviewed-by: Daniel Stone Cheers, Daniel

Re: Does wayland support touch-screen rotation?

2016-06-20 Thread Peter Hutterer
On Mon, Jun 20, 2016 at 12:25:55PM +, Ruei, Eric wrote: > To whom it may concern: > > I am not sure this is the right place to post Wayland/Weston questions or > report problems. If it is not, please forgive me and point me to the > appropriate site. > Here is the problem that we face: > The

[PATCH weston] screen-share: Use wet_get_config()

2016-06-20 Thread Daniel Stone
compositor->config was removed a while ago. Signed-off-by: Daniel Stone --- src/screen-share.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/screen-share.c b/src/screen-share.c index 196173e..c9e7436 100644 --- a/src/screen-share.c +++

Re: [PATCH wayland-web] Build instructions for Ubuntu 16.04

2016-06-20 Thread Bryce Harrington
Welcome back Darxus! Thanks for working on the 16.04 build page, that's been on the todo list for some time now. On Sun, Jun 19, 2016 at 06:48:40PM -0400, dar...@chaosreigns.com wrote: > Sorted links reverse chronologically as suggested by Bill Spitzak, and > added --with-xserver-path to weston

Re: [PATCH weston 06/11] keyboard: Only set toplevel when there is a valid output

2016-06-20 Thread Pekka Paalanen
On Sun, 19 Jun 2016 11:33:11 +0200 Quentin Glidic wrote: > On 18/06/2016 19:15, Armin Krezović wrote: > > Currently, the keyboard client is created and the input > > panel surface is set as toplevel on the first output it > > finds. This does not work in a

Re: [PATCH weston 04/11] compositor: Avoid NULL pointer dereference

2016-06-20 Thread Pekka Paalanen
On Sun, 19 Jun 2016 11:10:03 +0200 Quentin Glidic wrote: > On 18/06/2016 19:15, Armin Krezović wrote: > > When there are no outputs present, an output pointer > > can be NULL. Dereferencing such pointer will result > > in a crash. > > > > Signed-off-by: Armin

Re: [PATCH weston 03/11] toytoolkit: Return NULL when no outputs are present

2016-06-20 Thread Pekka Paalanen
On Sun, 19 Jun 2016 11:08:50 +0200 Quentin Glidic wrote: > On 18/06/2016 19:15, Armin Krezović wrote: > > Currently, display_get_output returns a first member > > of the linked list, which can never be NULL. > > > > This is problematic, as the function would

Re: Does wayland support touch-screen rotation?

2016-06-20 Thread Pekka Paalanen
On Mon, 20 Jun 2016 12:25:55 + "Ruei, Eric" wrote: > To whom it may concern: > > I am not sure this is the right place to post Wayland/Weston > questions or report problems. If it is not, please forgive me and > point me to the appropriate site. Here is the problem that we

Does wayland support touch-screen rotation?

2016-06-20 Thread Ruei, Eric
To whom it may concern: I am not sure this is the right place to post Wayland/Weston questions or report problems. If it is not, please forgive me and point me to the appropriate site. Here is the problem that we face: The touchscreen on TI AM335x EVM is in reverse order, i.e starting from

[PATCH weston] compositor-drm: support RGB565 with pixman renderer

2016-06-20 Thread Tomi Valkeinen
From: Tomi Valkeinen At the moment only XRGB is supported when using pixman renderer. This patch adds support also for RGB565. Signed-off-by: Tomi Valkeinen --- src/compositor-drm.c | 62 ++-- 1

Re: [PATCH weston 08/11] tests: convert reference image loader to pixman

2016-06-20 Thread Pekka Paalanen
On Fri, 17 Jun 2016 10:48:38 -0700 Bill Spitzak wrote: > On Thu, Jun 16, 2016 at 7:13 AM, Pekka Paalanen wrote: > > > > > load_image_from_png() now pays attention to the pixel format returned by > > Cairo, which seems to come out as CAIRO_FORMAT_RGB24 in