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

2016-06-20 Thread Tomi Valkeinen
On 21/06/16 04:32, Daniel Stone wrote: > 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. :( Yeah... Well, it cuts the mem bandwidth usage to half, so it's

[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 f

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 > --- > doc/quick-guide.md | 2 +- > 1 file changed, 1 ins

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 ___ wayland-devel maili

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 t

[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 +++ b/src/screen-share.c @@ -40,6

[PATCH weston] Build: Silence shift-negative-value warning

2016-06-20 Thread Daniel Stone
Pixman's headers include a representation of -1 in fixed-point, which is -1 << 16. This trips a GCC warning about shifting negative values. As we can't do much about it, just silence the warning. Signed-off-by: Daniel Stone --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

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 scenario when there are > > no outputs,

Re: [PATCH weston 01/11] compositor-headless: Support starting with zero outputs

2016-06-20 Thread Pekka Paalanen
On Sun, 19 Jun 2016 11:06:05 +0200 Quentin Glidic wrote: > On 18/06/2016 19:15, Armin Krezović wrote: > > This patch adds a new command line option which can be > > used to tell headless backend not to create any > > virtual outputs. > > > > This will be used for output hotplug emulation, where >

Re: [PATCH weston 05/11] desktop-shell: Avoid NULL pointer dereference

2016-06-20 Thread Pekka Paalanen
On Sun, 19 Jun 2016 11:16:35 +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 Krezović > > --- > > desktop-shell/

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 Krezović > > --- > > src/compositor

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 return a > > dangling pointer and NULL

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 face: Hi, this i

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 bott

[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 file changed, 55 insertions(+), 7 deletions(-)

Re: [PATCH weston 02/11] desktop-shell: Return NULL when no outputs are present

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

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 > > internal-screenshot-test, not as CAI