diff options
author | dscho <dscho> | 2001-10-16 20:57:26 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-10-16 20:57:26 +0000 |
commit | 2c4869fc9a8f2c72e6f8631b25894246a0a90701 (patch) | |
tree | e7396ef0a8a40c102bde4b490897204e368f233a /rfb.h | |
parent | 47f18e575da762733c19e9f499472ba42f478df8 (diff) | |
download | libtdevnc-2c4869fc9a8f2c72e6f8631b25894246a0a90701.tar.gz libtdevnc-2c4869fc9a8f2c72e6f8631b25894246a0a90701.zip |
deferUpdate
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -26,6 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/time.h> #include <zlib.h> #include "keysym.h" @@ -269,6 +270,8 @@ typedef struct PasswordCheckProcPtr passwordCheck; char* rfbAuthPasswdData; + /* this is the amount of milliseconds to wait at least before sending + * an update. */ int rfbDeferUpdateTime; char* rfbScreen; Bool rfbAlwaysShared; @@ -406,13 +409,14 @@ typedef struct rfbClientRec { sraRegionPtr requestedRegion; - /* TODO: */ - /* The following members represent the state of the "deferred update" timer + /* The following member represents the state of the "deferred update" timer - when the framebuffer is modified and the client is ready, in most cases it is more efficient to defer sending the update by a few milliseconds so that several changes to the framebuffer can be combined into a single update. */ + struct timeval startDeferring; + /* translateFn points to the translation function which is used to copy and translate a rectangle from the framebuffer to an output buffer. */ |