[Spice-devel] [PATCH] server: Consider the surface id when identifying video streams, and draw the stream on the proper surface, #28088

Alexander Larsson alexl at redhat.com
Tue Aug 17 07:54:00 PDT 2010


On Mon, 2010-07-26 at 09:18 +0300, Yonit Halperin wrote: 
> ---
>  server/red_worker.c |   21 +++++++++++++++++----
>  1 files changed, 17 insertions(+), 4 deletions(-)

The changes look ok, but don't you also need to check in
VideoStream::maintenance() if surface is 0 before calling
_channel.invalidate(dest), as that will just cause the area on the
primary surface to be updated on the screen.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
       alexl at redhat.com            alexander.larsson at gmail.com 
He's an immortal guerilla assassin who hangs with the wrong crowd. She's a 
mistrustful cat-loving Valkyrie from aristocratic European stock. They fight 
crime! 




More information about the Spice-devel mailing list