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

Gerd Hoffmann kraxel at redhat.com
Tue Aug 31 01:05:18 PDT 2010


> +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



More information about the Spice-devel mailing list