spice: add screen mirror

Create a screen mirror, keep there a copy of the most recent update
passed on to spice-server.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann 2012-09-05 09:35:57 +02:00
parent c60319a3aa
commit a7310dd34d
2 changed files with 23 additions and 10 deletions

View file

@ -72,6 +72,7 @@ typedef struct SimpleSpiceUpdate SimpleSpiceUpdate;
struct SimpleSpiceDisplay {
DisplayState *ds;
uint8_t *ds_mirror;
void *buf;
int bufsize;
QXLWorker *worker;