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

Yonit Halperin yhalperi at redhat.com
Thu Aug 26 07:00:00 PDT 2010


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.



More information about the Spice-devel mailing list