Hi,

void (*surface_updated)(QXLInstance *qxl, uint32_t surface_id, struct QXLRect 
*rect)

Looks good.

heh - I changed it to a list of rects instead of one in the patch I sent. Do you
think a single is better?

A list is fine too and I think it actually is even better. We can use also this for sdl/vnc rendering then. Right now qxl-render.c calls update_area(), then waits for the results (including the dirty rects). We can just call update_area_async instead and receive the updates rectangles via surface_updated callback. That way we can also simplify update_area_async, no need to pass around the rectangles list.

cheers,
  Gerd

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to