[Spice-devel] [RFC v4 7/9] qxl: introduce QXLCookie

Gerd Hoffmann kraxel at redhat.com
Wed Feb 22 03:23:00 PST 2012


On 02/21/12 22:39, Alon Levy wrote:
> Will be used in the next patch.

Looks good, and is more readable without all the #ifdefs.

>  static void qxl_spice_flush_surfaces_async(PCIQXLDevice *qxl)
>  {
> -    spice_qxl_flush_surfaces_async(&qxl->ssd.qxl, 0);
> + spice_qxl_flush_surfaces_async(&qxl->ssd.qxl,
> +        (uint64_t)qxl_cookie_new(QXL_COOKIE_TYPE_IO,
> +                                 QXL_IO_FLUSH_SURFACES_ASYNC));

minor whitespace issue here ;)

cheers,
  Gerd



More information about the Spice-devel mailing list