[Spice-devel] [PATCH v3] server: add QXLInterface::surface_updated callback

Gerd Hoffmann kraxel at redhat.com
Fri Jul 8 01:05:19 PDT 2011


On 07/08/11 09:47, Alon Levy wrote:
> 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?

Fine with me.

BTW: wasn't the plan to remove the rect args from update_area_async?

cheers,
   Gerd



More information about the Spice-devel mailing list