diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-06 19:31:57 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-20 16:00:19 +0300 |
commit | b26f0532c170068e91e4946592eab2fd9d6cbae5 (patch) | |
tree | 230ae8e40649178775aa8aff6d2c6400188f6a33 /server/spice.h | |
parent | f300de20d9fd7731881ab99c87226fa44a80695b (diff) | |
download | spice-b26f0532c170068e91e4946592eab2fd9d6cbae5.tar.gz spice-b26f0532c170068e91e4946592eab2fd9d6cbae5.tar.xz spice-b26f0532c170068e91e4946592eab2fd9d6cbae5.zip |
server: add QXLInterface::update_area_complete callback
when update_area_async is called update_area_complete will be called with
the surfaces dirty rectangle list.
Diffstat (limited to 'server/spice.h')
-rw-r--r-- | server/spice.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/spice.h b/server/spice.h index c7f0a6ef..89872ea6 100644 --- a/server/spice.h +++ b/server/spice.h @@ -223,6 +223,9 @@ struct QXLInterface { void (*notify_update)(QXLInstance *qin, uint32_t update_id); int (*flush_resources)(QXLInstance *qin); void (*async_complete)(QXLInstance *qin, uint64_t cookie); + void (*update_area_complete)(QXLInstance *qin, uint32_t surface_id, + struct QXLRect *updated_rects, + uint32_t num_updated_rects); }; struct QXLInstance { |