Re: [PATCH weston] compositor: ref-count weston_surface instances

2013-08-14 Thread Giulio Camuffo
Yeah. I'll do a destroy fade out animation in orbital now that this is in. Giulio 2013/8/14 Kristian Høgsberg > On Tue, Aug 13, 2013 at 11:10:14PM +0200, Giulio Camuffo wrote: > > this allows a surface to live on after its resource has been > > destroyed if the ref-count was increased by some

Re: [PATCH weston] compositor: ref-count weston_surface instances

2013-08-13 Thread Kristian Høgsberg
On Tue, Aug 13, 2013 at 11:10:14PM +0200, Giulio Camuffo wrote: > this allows a surface to live on after its resource has been > destroyed if the ref-count was increased by some code that needs > to use the surface after the end of its life, like a destroy > animation. That looks fine. If you're

[PATCH weston] compositor: ref-count weston_surface instances

2013-08-13 Thread Giulio Camuffo
this allows a surface to live on after its resource has been destroyed if the ref-count was increased by some code that needs to use the surface after the end of its life, like a destroy animation. --- src/compositor.c | 8 ++-- src/compositor.h | 1 + 2 files changed, 7 insertions(+), 2 delet