[Spice-devel] [PATCH v3] server: add QXLInterface::surface_updated callback
Alon Levy
alevy at redhat.com
Fri Jul 8 00:47:11 PDT 2011
On Fri, Jul 08, 2011 at 08:41:22AM +0200, Gerd Hoffmann wrote:
> On 07/07/11 18:33, Alon Levy wrote:
> >This is RfC quality. Specifically where to call surface_updated. Currently I
> >only call it from stop. This should be good enough for migration, which is
> >the only use case I think. This means after stop qemu is guranteed to know
> >the dirty regions of all surfaces.
>
> The other use case is local rendering when using qxl with vnc. qemu
> calls update_area for the primary surface then, and passes on the
> updated rectangles so the vnc server will send the updates to the
> client. When moving this to the async interface by calling
> update_area_async instead it I'll need surface_update calling me
> back when the renderer is done.
ok, I'll add this. Is an additional patch good?
>
> cheers,
> Gerd
More information about the Spice-devel
mailing list