diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-11-02 22:11:58 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2014-11-27 14:27:41 +0100 |
commit | c541d7e29dc0053e6434d053a50454bb8a7121e9 (patch) | |
tree | df8298e56cab514b1bbe73c378aca39b91f5e595 /server/spice-qxl.h | |
parent | ab12cf414c87e0cc3b43bdc47f57bef837986f3b (diff) |
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
Diffstat (limited to 'server/spice-qxl.h')
-rw-r--r-- | server/spice-qxl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |