[Spice-devel] [PATCH] server: red_current_add_equal - don't push a drawable to the middle of the pipe if it depends on surfaces.

Yonit Halperin yhalperi at redhat.com
Tue Aug 31 01:11:33 PDT 2010


On 08/31/2010 11:05 AM, Gerd Hoffmann wrote:
>> +static inline int is_drawable_independent_from_surfaces(Drawable
>> *drawable)
>> +{
>> + int x;
>> +
>> + for (x = 0; x< 3; ++x) {
>> + if (drawable->surfaces_dest[x] != -1) {
>> + return FALSE;
>> + }
>> + }
>> + return TRUE;
>> +}
>
> What happens if this meets qemu without the surfaces init fix?
> Will it break or just work less efficient?
>
> cheers,
> Gerd
>

I think that if the server will decide to video stream an area, it can 
cause a delay in between frames if the pipe is busy.

Yonit.


More information about the Spice-devel mailing list