spice: send updates only for changed screen content
commitb021bd29835b0367d499e042f76afbbf4b6ee026
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Sep 2012 08:41:42 +0000 (5 10:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 12 Sep 2012 06:09:47 +0000 (12 08:09 +0200)
tree3e1c6b30ae895b41eb63bc9f4f6a2f2a285fdfef
parenta7310dd34df4d35a1c3e7ea3f4a94c60f6d5064b
spice: send updates only for changed screen content

when creating screen updates go compare the current guest screen
against the mirror (which holds the most recent update sent), then
only create updates for the screen areas which did actually change.

[ v2: drop redundant qemu_spice_create_one_update call ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/spice-display.c