Re: [RFC 0/9] gbm_surface

2011-12-20 Thread Kristian Høgsberg
2011/12/20 Kristian Høgsberg : > On Wed, Dec 14, 2011 at 4:59 AM, Ander Conselvan de Oliveira > wrote: >> From: Ander Conselvan de Oliveira >> >> Hi, >> >> So, in London we discussed moving the drm compositor to a new >> gbm_surface interface, which would allow the buffer management >> to be hand

Re: [RFC 0/9] gbm_surface

2011-12-20 Thread Kristian Høgsberg
On Wed, Dec 14, 2011 at 4:59 AM, Ander Conselvan de Oliveira wrote: > From: Ander Conselvan de Oliveira > > Hi, > > So, in London we discussed moving the drm compositor to a new > gbm_surface interface, which would allow the buffer management > to be handled by the egl implementation by calling e

Re: [PATCH 2/6] compositor: emulates button touches and notifies surfaces accordingly

2011-12-20 Thread Kristian Høgsberg
On Fri, Dec 16, 2011 at 10:59 AM, Tiago Vignatti wrote: > From: Tiago Vignatti As I mentioned earlier, I'd like to not do the pointer emulation for the first round of patches here. Initially, I'd like this code to only send out the touch down/motion/up events, so a lot of the code in this patch

Re: [PATCH 1/6] evdev: add ABS_MT_* support for direct touch devices

2011-12-20 Thread Kristian Høgsberg
On Fri, Dec 16, 2011 at 10:59 AM, Tiago Vignatti wrote: > From: Tiago Vignatti > > This adds support to ABS_MT_* support for direct touch devices and notifies > the compositor. The compositor has a stub for now. > > Signed-off-by: Tiago Vignatti > --- >  compositor/compositor.c |   12 >  co

Re: [PATCH] compositor: fix uniform handling for fade_output()

2011-12-20 Thread Kristian Høgsberg
On Tue, Dec 20, 2011 at 9:38 AM, Pekka Paalanen wrote: > fade_output() is strange in that it manufactures a wlsc_surface object > by hand, and then calls wlsc_surface_draw() on it. > > Valgrind complained, that wlsc_surface_draw() accesses uninitialised > data: wlsc_surface::alpha. fade_output() f

[PATCH] compositor: fix uniform handling for fade_output()

2011-12-20 Thread Pekka Paalanen
fade_output() is strange in that it manufactures a wlsc_surface object by hand, and then calls wlsc_surface_draw() on it. Valgrind complained, that wlsc_surface_draw() accesses uninitialised data: wlsc_surface::alpha. fade_output() forgets to set it. Initialise surface.alpha in fade_output(). Spe