diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-20 15:59:24 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-03-20 15:59:24 +0000 |
commit | c522d0e2dee3774884a731691a702126901a1a88 (patch) | |
tree | 3a214688f7148c604774d5f04f8ec985c7b61d1f /vnc.h | |
parent | 23decc87cc5e52eb3021cf05b64347b884698b17 (diff) |
vnc: throttle screen updates. (Gerd Hoffmann)
This patch makes the vnc server code skip screen refreshes in case
there is data in the output buffer. This reduces the refresh rate to
throttle the bandwidth needed in case the network link is saturated.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6862 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vnc.h')
-rw-r--r-- | vnc.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -121,6 +121,7 @@ struct VncState VncDisplay *vd; int need_update; + int force_update; uint32_t features; int absolute; int last_x; |