Re: [PATCH] weston: Don't ask for EGL depth buffer if not needed

2012-03-21 Thread Bill Spitzak
Kristian Hoegsberg wrote: On Sat, Mar 17, 2012 at 01:43:52PM -0700, Bill Spitzak wrote: This makes the compositor and demo clients work on the current nouveau nvfx driver. Obviously does not fix any clients that actually want a depth buffer, but this does allow more people to at least try wayl

[PATCH] shell: correct position of a surface before rotating it.

2012-03-21 Thread Rafal Mielniczuk
How to reproduce: rotate the surface to something like 45 degrees, resize it drastically, continue to rotate. The surface will jump some space and the rotation point will not be in the center of the surface. Fix is to shift the surface position to match the rotation point --- src/shell.c | 16 +

Re: [PATCH] event-loop: Use two-step destruction of event loop sources.

2012-03-21 Thread Kristian Hoegsberg
On Wed, Mar 21, 2012 at 10:31:24AM +0100, Jonas Ådahl wrote: > Instead of directly freeing an event source upon removal put it in a > queue later handled by the event loop; either after a dispatch or upon > event loop destruction. > > This is necessary to avoid already queued up event sources to b

[PATCH] event-loop: Use two-step destruction of event loop sources.

2012-03-21 Thread Jonas Ådahl
Instead of directly freeing an event source upon removal put it in a queue later handled by the event loop; either after a dispatch or upon event loop destruction. This is necessary to avoid already queued up event sources to be freed during some other dispatch callback, causing segmentation fault

Re: [PATCH] event-loop: Use two-step destruction of event loop sources.

2012-03-21 Thread Andreas Ericsson
On 03/21/2012 09:35 AM, Jonas Ådahl wrote: > Instead of directly freeing an event source upon removal put it in a > queue later handled by the event loop; either after a dispatch or upon > event loop destruction. > > This is necessary to avoid already queued up event sources to be freed > during s

[PATCH] event-loop: Use two-step destruction of event loop sources.

2012-03-21 Thread Jonas Ådahl
Instead of directly freeing an event source upon removal put it in a queue later handled by the event loop; either after a dispatch or upon event loop destruction. This is necessary to avoid already queued up event sources to be freed during some other dispatch callback, causing segmentation fault

About wl_guard again

2012-03-21 Thread Pekka Paalanen
On Tue, 20 Mar 2012 16:07:26 -0400 Kristian Hoegsberg wrote: > We really need that wl_guard thing that Pekka suggested now... too > many destroy listeners that just set a pointer to NULL. Hi Kristian, before you go ahead, I'd like to do a comparison here with my first proposal: http://lists.fr