summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-05-23 20:44:51 +0300
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-07-15 19:12:08 +0200
commit1db72fdf45a3ebbf7f0687671c1def75309b9499 (patch)
treee69b0ff6360b6bbb685fb1644f529914779524d7
parent5d78c4cac24ad3830dba1900d5d879551dcbb407 (diff)
spiceqxl_io_port: mark FLUSH_SURFACES_ASYNC as unimplemented, do half of it
-rw-r--r--src/spiceqxl_io_port.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/spiceqxl_io_port.c b/src/spiceqxl_io_port.c
index f599b4e..9d92f93 100644
--- a/src/spiceqxl_io_port.c
+++ b/src/spiceqxl_io_port.c
@@ -275,6 +275,10 @@ void ioport_write(qxl_screen_t *qxl, uint32_t io_port, uint32_t val)
case QXL_IO_DESTROY_ALL_SURFACES:
qxl->worker->destroy_surfaces(qxl->worker);
break;
+ case QXL_IO_FLUSH_SURFACES_ASYNC:
+ fprintf(stderr, "ERROR: async callback Unimplemented\n");
+ spice_qxl_flush_surfaces_async(&qxl->display_sin, 0);
+ break;
default:
fprintf(stderr, "%s: ioport=0x%x, abort()\n", __FUNCTION__, io_port);
abort();