From c541d7e29dc0053e6434d053a50454bb8a7121e9 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Sun, 2 Nov 2014 22:11:58 +0100 Subject: Remove guest side video time-stamping The multimedia time is defined by the server side monotonic time [1], but the drawing time-stamp is done in guest side, so it requires synchronization between host and guest. This is expensive, when no audio is playing, there is a ~30x/sec wakeup to update the qxl device mmtime, and it requires marking dirty the rom region. Instead, the video timestamping can be done more efficiently on server side, without visible drawbacks. [1] a better timestamp could be the audio time, since audio players are usually sync with audio time) Related to: https://bugzilla.redhat.com/show_bug.cgi?id=912763 --- server/spice-qxl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/spice-qxl.h') diff --git a/server/spice-qxl.h b/server/spice-qxl.h index ddf599a1..31ff742f 100644 --- a/server/spice-qxl.h +++ b/server/spice-qxl.h @@ -156,7 +156,7 @@ struct QXLInterface { void (*attache_worker)(QXLInstance *qin, QXLWorker *qxl_worker); void (*set_compression_level)(QXLInstance *qin, int level); - void (*set_mm_time)(QXLInstance *qin, uint32_t mm_time); + void (*set_mm_time)(QXLInstance *qin, uint32_t mm_time) SPICE_GNUC_DEPRECATED; void (*get_init_info)(QXLInstance *qin, QXLDevInitInfo *info); int (*get_command)(QXLInstance *qin, struct QXLCommandExt *cmd); -- cgit v1.2.3