Re: Compiling weston now needs colord

2013-05-29 Thread Michael Hasselmann
On Tue, 2013-05-28 at 22:16 -0700, Bill Spitzak wrote: > Running autogen.sh in weston with --disable-colord works to avoid this, > I suspect nothing I care about is lost this way. I ran into the very same problems. I would have preferred if such new dependencies were optional or if someone would

[PATCH wayland] Clean up the internals of wl_map

2013-05-29 Thread Jason Ekstrand
This commit cleans up the internals of wl_map by splitting it into two wl_simple_maps. This both makes the internals cleaner and also fixes potential issues with having a single free_list for both sides of the map. Signed-off-by: Jason Ekstrand --- Ignore the previous patch as it contained an e

[PATCH wayland] Clean up the internals of wl_map

2013-05-29 Thread Jason Ekstrand
This commit cleans up the internals of wl_map by splitting it into two wl_simple_maps. This both makes the internals cleaner and also fixes potential issues with having a single free_list for both sides of the map. Signed-off-by: Jason Ekstrand --- src/wayland-private.h | 10 ++- src/wayland-u

Re: Licence for RPi .pc files ?

2013-05-29 Thread Tom Gundersen
On Tue, May 28, 2013 at 11:27 AM, Pekka Paalanen wrote: > On Mon, 6 May 2013 23:29:24 +0200 > Tom Gundersen wrote: > >> On Mon, May 6, 2013 at 8:12 AM, Pekka Paalanen wrote: >> > On Sun, 5 May 2013 22:06:49 +0200 >> > Tom Gundersen wrote: >> > >> >> Hi Pekka, >> >> >> >> I'm trying to make West

Re: [PATCH 00/15] weston scaling support

2013-05-29 Thread Bill Spitzak
On 05/29/2013 12:31 AM, Alexander Larsson wrote: I don't think you can avoid non-integer scaling. What happens if a client says it's scale is 3 and the output has a scale of 2? This is not just hypothetical, it will certainly happen if there is both a scale 3 and scale 2 output on the device.

Re: Compiling weston now needs colord

2013-05-29 Thread Bill Spitzak
On 05/28/2013 11:33 PM, Armin K. wrote: http://packages.ubuntu.com/search?keywords=libcolord-dev Debian and derivatives ship development files in corresponding lib-dev packages. Thanks. Apparently the "Ubuntu Software Center" does not show that when you do a search for "colord" but it shows

Re: [PATCH 0/3] Fix screenshooter/recorder for scale

2013-05-29 Thread Kristian Høgsberg
On Wed, May 29, 2013 at 12:01:31PM +0200, al...@redhat.com wrote: > From: Alexander Larsson > > The actual fix for output scale is trivial, but I needed > two fixes to get screenshooting to work with the pixman > renderer. Thanks, all applied. Kristian > Alexander Larsson (3): > screenshoter

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

2013-05-29 Thread Kristian Høgsberg
On Wed, May 29, 2013 at 09:25:33AM +0200, Alexander Larsson wrote: > On tis, 2013-05-28 at 17:25 -0400, Kristian Høgsberg wrote: > > On Tue, May 28, 2013 at 04:23:33PM +0200, al...@redhat.com wrote: > > > From: Alexander Larsson > > > > > > It was erronously using output->current->height in one >

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

2013-05-29 Thread Kristian Høgsberg
On Wed, May 29, 2013 at 09:20:25AM +0200, Alexander Larsson wrote: > On tis, 2013-05-28 at 16:10 -0400, Kristian Høgsberg wrote: > > On Tue, May 28, 2013 at 04:23:32PM +0200, al...@redhat.com wrote: > > > From: Alexander Larsson > > > > > > When a window is fullscreened with DRIVER method and we

[PATCH 3/3] screenshooter: Scale damage by output scale in screen recorder

2013-05-29 Thread alexl
From: Alexander Larsson The damage region is in compositor coords, we need to scale it by the output scale when using the damage to read output buffer data. --- src/screenshooter.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/screenshooter.c b/src/screenshooter.c index d088cf7..8

[PATCH 2/3] pixman-renderer: Fix read_pixels for screen recorder

2013-05-29 Thread alexl
From: Alexander Larsson The old code had an off-by-one error on the y coordinate where it says height - (cur_y - y). And it does the vflipping of the *destination* buffer, whereas what is really needed is to vflip the whole source buffer. This only affects when you read out part of the image, suc

[PATCH 1/3] screenshoter: Make recorder handle PIXMAN_x8r8g8b8

2013-05-29 Thread alexl
From: Alexander Larsson This is what the pixman renderer reports for the read format. --- src/screenshooter.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/screenshooter.c b/src/screenshooter.c index dde052f..d088cf7 100644 --- a/src/screenshooter.c +++ b/src/screenshooter.c @@ -465,6

[PATCH 0/3] Fix screenshooter/recorder for scale

2013-05-29 Thread alexl
From: Alexander Larsson The actual fix for output scale is trivial, but I needed two fixes to get screenshooting to work with the pixman renderer. Alexander Larsson (3): screenshoter: Make recorder handle PIXMAN_x8r8g8b8 pixman-renderer: Fix read_pixels for screen recorder screenshooter: S

Re: [PATCH 00/15] weston scaling support

2013-05-29 Thread Alexander Larsson
On tis, 2013-05-28 at 18:33 -0700, Bill Spitzak wrote: > 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 compromiz

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

2013-05-29 Thread Alexander Larsson
On tis, 2013-05-28 at 17:25 -0400, Kristian Høgsberg wrote: > On Tue, May 28, 2013 at 04:23:33PM +0200, al...@redhat.com wrote: > > From: Alexander Larsson > > > > It was erronously using output->current->height in one > > place where it should use output->height. This may cause > > it to create

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

2013-05-29 Thread Alexander Larsson
On tis, 2013-05-28 at 16:10 -0400, Kristian Høgsberg wrote: > On Tue, May 28, 2013 at 04:23:32PM +0200, al...@redhat.com wrote: > > From: Alexander Larsson > > > > When a window is fullscreened with DRIVER method and we succeeded > > in changing mode we need to actually move the surface to the >