diff options
author | Pierre Ossman <ossman@cendio.se> | 2016-10-07 15:59:38 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2017-02-24 13:17:25 +0100 |
commit | 6e49e95add2a5cd5fe2efc1c1270c1233faef79b (patch) | |
tree | 649736b427c7266b18f55c29bd1fadf902615a17 /common/rfb/ServerCore.cxx | |
parent | 5c03720319d907f2427ed4296ceaec7ee2c06719 (diff) | |
download | tigervnc-6e49e95add2a5cd5fe2efc1c1270c1233faef79b.tar.gz tigervnc-6e49e95add2a5cd5fe2efc1c1270c1233faef79b.zip |
Send updates with a fixed interval
This redesigns the old "deferred updates" mechanism in to a frame
clock that governs how often updates are sent out. The goal is still
the same, to aggregate updates and avoid pointless updates, all in
the name of efficiency. This model should however be more robust
against delays that sometimes causes us to miss the desired rate.
Diffstat (limited to 'common/rfb/ServerCore.cxx')
-rw-r--r-- | common/rfb/ServerCore.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/rfb/ServerCore.cxx b/common/rfb/ServerCore.cxx index 6e221d53..59a7cff3 100644 --- a/common/rfb/ServerCore.cxx +++ b/common/rfb/ServerCore.cxx @@ -52,6 +52,10 @@ rfb::IntParameter rfb::Server::compareFB "Perform pixel comparison on framebuffer to reduce unnecessary updates " "(0: never, 1: always, 2: auto)", 2); +rfb::IntParameter rfb::Server::frameRate +("FrameRate", + "The maximum number of updates per second sent to each client", + 60); rfb::BoolParameter rfb::Server::protocol3_3 ("Protocol3.3", "Always use protocol version 3.3 for backwards compatibility with " |