diff options
author | Alon Levy <alevy@redhat.com> | 2011-07-06 19:31:57 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2011-07-21 15:09:29 +0300 |
commit | c72dc24756e57c283bf3d03e5b795c49022f901e (patch) | |
tree | 0b360505f8fd18487dadc64f18a3236d8d5a9c42 /server/spice.h | |
parent | deea6ac96b6a1b3a64854e20aeb4455668fc6d87 (diff) | |
download | spice-c72dc24756e57c283bf3d03e5b795c49022f901e.tar.gz spice-c72dc24756e57c283bf3d03e5b795c49022f901e.tar.xz spice-c72dc24756e57c283bf3d03e5b795c49022f901e.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.
(cherry picked from commit b26f0532c170068e91e4946592eab2fd9d6cbae5)
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 aa4212ed..4085ebf4 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 { |