[Spice-devel] [PATCH 1/3] server: consider also PIPE_ITEM_UPGRADE when searching for drawables in red_clear_surface_drawables_from_pipe

Alexander Larsson alexl at redhat.com
Thu Aug 26 08:14:54 PDT 2010


On Thu, 2010-08-26 at 17:00 +0300, Yonit Halperin wrote:
> On 08/26/2010 04:58 PM, Alexander Larsson wrote:
> > On Thu, 2010-08-26 at 12:41 +0300, Yonit Halperin wrote:
> >> ---
> >>   server/red_worker.c |   36 +++++++++++++++++++-----------------
> >>   1 files changed, 19 insertions(+), 17 deletions(-)
> >
> >
> > Don't you also need to check for ImageItems with the same surface_id?
> >
> >
> >
> We can, but actually it is not necessary, since the image is copied 
> while processing and not sending, so it has no reference to the surface.
> But it will be nicer to remove those as well.

Ack then



More information about the Spice-devel mailing list