Re: Licence for RPi .pc files ?

2013-05-28 Thread Pekka Paalanen
On Mon, 6 May 2013 23:29:24 +0200 Tom Gundersen t...@jklm.no wrote: On Mon, May 6, 2013 at 8:12 AM, Pekka Paalanen ppaala...@gmail.com wrote: On Sun, 5 May 2013 22:06:49 +0200 Tom Gundersen t...@jklm.no wrote: Hi Pekka, I'm trying to make Weston work nicely on Raspberry Pi under

Re: [PATCH 00/15] weston scaling support

2013-05-28 Thread John Kåre Alsaker
On Thu, May 23, 2013 at 2:57 AM, Kristian Høgsberg hoegsb...@gmail.comwrote: I read through the latest wayland protocol patches and the discussion around them and didn't seen anything I didn't like. I think the approach here is good and agree with the consensus. This patch series looks

[PATCH 0/9] Update weston to the change in how modes work

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com This series updates weston wrt the protocol changes in: http://lists.freedesktop.org/archives/wayland-devel/2013-May/009498.html It also has a test client and some general fullscreen bugfixes. Alexander Larsson (9): shell: Position DRIVER fullscreen

[PATCH 1/9] shell: Position DRIVER fullscreen surfaces at origin

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com When a window is fullscreened with DRIVER method and we succeeded in changing mode we need to actually move the surface to the origin of the output, or it won't be used for scanout. --- src/shell.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 2/9] input: Fix possible crash in clip_pointer_motion

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com It was erronously using output-current-height in one place where it should use output-height. This may cause it to create an invalid clipped coordinate in case of output scaling or transform, because the next round prev would end up NULL. --- src/input.c

[PATCH 3/9] fullscreen: Add fullscreen testing client

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com This lets you try fullscreen in different methods, sizes, scales, translations, etc. You can verify both output and input (via mouse over of the rectangles). --- clients/Makefile.am | 4 + clients/fullscreen.c | 356

[PATCH 6/9] compositor: Store original output scale

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com We want this so we can restore the original mode with the original size (after having been fullscreen). --- src/compositor.c | 1 + src/compositor.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/compositor.c b/src/compositor.c index

[PATCH 8/9] shell: Always go to original mode when focused window not fullscreen

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com Right now we only switch mode on activating a fullscreened window. This has several problems: * Once you're in fullscreen its hard to switch to a non-fullscreened window with alt-tab as you stay in the small resolution. * If you switch from a

[PATCH 9/9] shell: Center window in fullscreen if needed

2013-05-28 Thread alexl
From: Alexander Larsson al...@redhat.com If modeset fails With DRIVER method, and always with FILL method we want to center the window. --- src/shell.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/shell.c b/src/shell.c index eac8471..ebeef55 100644 ---

Re: [PATCH 00/15] weston scaling support

2013-05-28 Thread Pekka Paalanen
On Tue, 28 May 2013 17:03:29 +0200 John Kåre Alsaker john.kare.alsa...@gmail.com wrote: On Tue, May 28, 2013 at 3:40 PM, Pekka Paalanen ppaala...@gmail.com wrote: On Tue, 28 May 2013 15:10:53 +0200 John Kåre Alsaker john.kare.alsa...@gmail.com wrote: On Thu, May 23, 2013 at 2:57 AM,

Re: [PATCH 00/15] weston scaling support

2013-05-28 Thread John Kåre Alsaker
My proposal is simply to let the compositor tell the client how much larger it wants the client to render content. The client can then tell the compositor how much larger it made content in the window. Armed with this information the compositor can size the window accordingly. Note that this

Re: [PATCH] config-parser: Avoid null dereference when exiting. (case: weston starts without config file)

2013-05-28 Thread Kristian Høgsberg
On Tue, May 28, 2013 at 12:32:50AM +0900, Mun, Gwan-gyeong wrote: When exiting, this patch fixes segmentation fault. Thanks again. This time I also added a few test cases to catch these no config cases that I normally don't hit. Kristian --- From: Mun Gwan-gyeong elong...@gmail.com Date:

Re: [PATCH] Fix name clash in RDP compositor

2013-05-28 Thread Kristian Høgsberg
On Mon, May 27, 2013 at 11:13:45PM +0200, Hardening wrote: This patch fixes some name clashes introduced by last patches. Oops, sorry about that. I'll get freerdp installed again and make sure I compile the rdp backend by default. Kristian --- src/compositor-rdp.c | 8 1 file

Re: [PATCH] protocol: Modes are specified in HW pixels

2013-05-28 Thread Kristian Høgsberg
On Tue, May 28, 2013 at 04:20:52PM +0200, al...@redhat.com wrote: From: Alexander Larsson al...@redhat.com Modes are mainly meant to be used in coordination with fullscreen in DRIVER mode, by e.g. games. For such games what they generally want is to match some hardware mode and resize their

Re: [PATCH 0/2] resource versioning V3

2013-05-28 Thread Kristian Høgsberg
On Fri, May 24, 2013 at 11:40:24AM +0200, al...@redhat.com wrote: From: Alexander Larsson al...@redhat.com New in this version: * We look up the private with wl_signal_get * Fixed off-by-one error in method_counts array lookup (version 1 is at offset 0) I talked to Jason about a

Re: [PATCH] protocol: Use signed int for scale values

2013-05-28 Thread Kristian Høgsberg
On Fri, May 24, 2013 at 01:08:41PM +0200, al...@redhat.com wrote: From: Alexander Larsson al...@redhat.com We usually use signed ints for things like this, to avoid issues C sign coersion. Thanks, got this and the weston patches. Kristian --- protocol/wayland.xml | 4 ++-- 1 file

Re: minimized and stick windows

2013-05-28 Thread Rafael Antognolli
On Thu, May 16, 2013 at 2:12 PM, Bill Spitzak spit...@gmail.com wrote: Pekka Paalanen wrote: For example the floating shared toolbox with 2 main windows. It should only disappear when *both* main windows are minimized. You very conventiently removed my next sentence, where I already took

Re: [PATCH 1/9] shell: Position DRIVER fullscreen surfaces at origin

2013-05-28 Thread Kristian Høgsberg
On Tue, May 28, 2013 at 04:23:32PM +0200, al...@redhat.com wrote: From: Alexander Larsson al...@redhat.com When a window is fullscreened with DRIVER method and we succeeded in changing mode we need to actually move the surface to the origin of the output, or it won't be used for scanout.

Re: minimized and stick windows

2013-05-28 Thread Jason Ekstrand
On Tue, May 28, 2013 at 3:10 PM, Rafael Antognolli antogno...@gmail.comwrote: On Thu, May 16, 2013 at 2:12 PM, Bill Spitzak spit...@gmail.com wrote: Pekka Paalanen wrote: For example the floating shared toolbox with 2 main windows. It should only disappear when *both* main windows

Re: [PATCH 2/9] input: Fix possible crash in clip_pointer_motion

2013-05-28 Thread Kristian Høgsberg
On Tue, May 28, 2013 at 04:23:33PM +0200, al...@redhat.com wrote: From: Alexander Larsson al...@redhat.com It was erronously using output-current-height in one place where it should use output-height. This may cause it to create an invalid clipped coordinate in case of output scaling or

[PATCH wayland-fits] gtk+: add fullscreen/unfullscreen test

2013-05-28 Thread U. Artie Eoff
From: U. Artie Eoff ullysses.a.e...@intel.com Signed-off-by: U. Artie Eoff ullysses.a.e...@intel.com --- src/test/gtk+/Makefile.am| 3 +- src/test/gtk+/test_window_fullscreen.cpp | 184 +++ 2 files changed, 186 insertions(+), 1 deletion(-) create

Re: [PATCH] Avoid unnecessarily re-allocating texture buffer when the size hasn't changed.

2013-05-28 Thread Sinclair Yeh
On Sun, 26 May 2013 20:03:40 -0400 Kristian Høgsberg hoegsb...@gmail.com wrote: + /* Only allocate a texture if it doesn't match existing one */ + if (((wl_shm_buffer_get_stride(buffer) / 4) != gs-pitch) || + (buffer-height != gs-height)) { I would

[PATCH] Avoid unnecessarily re-allocating texture buffer when the size hasn't changed.

2013-05-28 Thread Sinclair Yeh
v3: * Removed unnecessary parentheses * Added check for switching from EGL image to SHM buffer * Moved shader assignment out of IF condition v2: Fixed the wrong comparison v1: Depending on specific DRI driver implementation, glTexImage2D() with data set to NULL may or may not re-allocate the

Re: [PATCH 00/15] weston scaling support

2013-05-28 Thread Bill Spitzak
On 05/28/2013 06:40 AM, Pekka Paalanen wrote: If you really need an output scaling factor like 1.5, then you report it as either 1 or 2, and do a compensating scaling in the compositor to achieve 1.5. That is the best compromize I can imagine, since to be honest, 1.5 does not work for the

Re: Compiling weston now needs colord

2013-05-28 Thread Bill Spitzak
Running autogen.sh in weston with --disable-colord works to avoid this, I suspect nothing I care about is lost this way. I then found it needed the newest pixman, which I built from: git clone git://anongit.freedesktop.org/pixman Seems to work now. However on the newest version X clients are