Re: [PATCH v2 xserver] xwayland: Port to Wayland 1.0 API

2012-11-21 Thread Kristian Høgsberg
On Tue, Nov 20, 2012 at 05:45:10PM -0200, Tiago Vignatti wrote: > Co-authored-by: Daniel Stone > Signed-off-by: Tiago Vignatti > --- > changes from v1: > - delayed xserver interface bind, via callback. Thus a new request for > initializing weston WM is not needed anymore. > > hw/xfree86/xwayl

Re: [PATCH weston 3/3] compositor-drm: Fix artifacts when scanning out a client buffer

2012-11-21 Thread Kristian Høgsberg
On Wed, Nov 21, 2012 at 8:11 AM, Ander Conselvan de Oliveira wrote: > Consider the following scenario: a fullscreen surface is composited for > a few frames and suddenly it is moved to a scan out plane. (This could > happen for instance if it used a big cursor and later switched to a > cursor that

Re: [PATCH weston 3/3] compositor-drm: Fix artifacts when scanning out a client buffer

2012-11-21 Thread Daniel Stone
Hi Ander, On 22 November 2012 00:11, Ander Conselvan de Oliveira < ander.conselvan.de.olive...@intel.com> wrote: > The reason for this is that the renderer's repaint function is not > called if a client buffer is scanned out. When the surface moves to the > scan out plane, the primary plane is da

Re: [PATCH weston 2/3] compositor-drm: Add a debug binding for toggling usage of hw cursors

2012-11-21 Thread Kristian Høgsberg
On Wed, Nov 21, 2012 at 03:11:37PM +0200, Ander Conselvan de Oliveira wrote: > --- > src/compositor-drm.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/src/compositor-drm.c b/src/compositor-drm.c > index 73a0c52..142faa5 100644 > --- a/src/compositor-drm.c > +++ b/src/com

Re: [PATCH] Add version info to the shared libs

2012-11-21 Thread Kristian Høgsberg
On Wed, Nov 21, 2012 at 12:58:34AM +0100, Jan Engelhardt wrote: > > On Tuesday 2012-11-20 20:59, Mikko Levonmaa wrote: > > > >What I was actually trying to propose in my previous mail is that > >even when the current api version is 0 we could already have the > >mechanics in place to increment the

Re: [PATCH weston] simple-shm: honour wl_buffer.release

2012-11-21 Thread Kristian Høgsberg
On Wed, Nov 21, 2012 at 09:26:25AM +0200, Pekka Paalanen wrote: > On Tue, 20 Nov 2012 10:26:41 -0800 > Bill Spitzak wrote: > > > Pekka Paalanen wrote: > > > On Mon, 19 Nov 2012 15:56:23 -0500 > > > Kristian Høgsberg wrote: > > > > > >> On Mon, Nov 19, 2012 at 03:29:09PM +0200, Pekka Paalanen wr

Re: Wayland on Embedded

2012-11-21 Thread Pekka Paalanen
On Wed, 21 Nov 2012 13:10:23 +0530 Abhijit Potnis wrote: > For the convenience of those who didn't witness yesterday's IRC. > Yes, a blog-worthy topic. So I did: http://ppaalanen.blogspot.fi/2012/11/on-supporting-wayland-gl-clients-and.html And my old post has some bits of EGL information, too:

[PATCH weston 3/3] compositor-drm: Fix artifacts when scanning out a client buffer

2012-11-21 Thread Ander Conselvan de Oliveira
Consider the following scenario: a fullscreen surface is composited for a few frames and suddenly it is moved to a scan out plane. (This could happen for instance if it used a big cursor and later switched to a cursor that fits in the hw cursor overlay.) If that surface is resized during one frame

[PATCH weston 2/3] compositor-drm: Add a debug binding for toggling usage of hw cursors

2012-11-21 Thread Ander Conselvan de Oliveira
--- src/compositor-drm.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 73a0c52..142faa5 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -2121,6 +2121,14 @@ hide_sprites_binding(struct wl_seat *seat, uint32_t tim

[PATCH weston 1/3] zoom: Don't update the zoom translation if zoom level is 0

2012-11-21 Thread Ander Conselvan de Oliveira
On the first frame with zoom activated, the spring used for animation will have a current value of zero. The translation calculated with that value will be invalid (not a number). Using this value later leads to having an invalid output matrix, so nothing is composited in the first zoomed frame. T

Re: Wayland on Embedded

2012-11-21 Thread Abhijit Potnis
For the convenience of those who didn't witness yesterday's IRC. Yes, a blog-worthy topic. <*madeeha*> Hi <*madeeha*> Is it possible to write an egl native wrapper for Wayland for a closed source driver. <*madeeha*> I want to keep the native implementation shm based like in mesa which supports bot

Re: Wayland on Embedded

2012-11-21 Thread Pekka Paalanen
On Wed, 21 Nov 2012 12:36:45 +0530 Abhijit Potnis wrote: > On Wed, Nov 21, 2012 at 12:23 PM, Pekka Paalanen wrote: > > > On Wed, 21 Nov 2012 11:38:57 +0800 > > Henius Dong wrote: > > > > > Hi Abhijit > > > > > > -Original Message- > > > From: Abhijit Potnis > > > Sent: 2012/11/20 15:04

Re: [PATCH weston] simple-shm: honour wl_buffer.release

2012-11-21 Thread Pekka Paalanen
On Tue, 20 Nov 2012 10:26:41 -0800 Bill Spitzak wrote: > Pekka Paalanen wrote: > > On Mon, 19 Nov 2012 15:56:23 -0500 > > Kristian Høgsberg wrote: > > > >> On Mon, Nov 19, 2012 at 03:29:09PM +0200, Pekka Paalanen wrote: > >>> Change simple-shm to properly process the wl_buffer.release event, an

Re: Wayland on Embedded

2012-11-21 Thread Abhijit Potnis
On Wed, Nov 21, 2012 at 12:23 PM, Pekka Paalanen wrote: > On Wed, 21 Nov 2012 11:38:57 +0800 > Henius Dong wrote: > > > Hi Abhijit > > > > -Original Message- > > From: Abhijit Potnis > > Sent: 2012/11/20 15:04 > > > > > On Mon, Nov 19, 2012 at 3:34 PM, Henius Dong > >