summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authordscho <dscho>2005-01-18 23:18:04 +0000
committerdscho <dscho>2005-01-18 23:18:04 +0000
commita84b3d072a89e05c5aa5f702d223cfe304379293 (patch)
tree6e8b11537f0fe91e5a62b2dc559521ce8c9a9a13 /ChangeLog
parentdd923e866021418379ee88b8a927597f616fbc84 (diff)
downloadlibtdevnc-a84b3d072a89e05c5aa5f702d223cfe304379293.tar.gz
libtdevnc-a84b3d072a89e05c5aa5f702d223cfe304379293.zip
pointerClient was still static.
do not make requestedRegion empty without reason. the cursor handling for clients which don't handle CursorShape updates was completely broken. It originally was very complicated for performance reasons, however, in most cases it made performance even worse, because at idle times there was way too much checking going on, and furthermore, sometimes unnecessary updates were inevitable. The code now is much more elegant: the ClientRec structure knows exactly where it last painted the cursor, and the ScreenInfo structure knows where the cursor shall be. As a consequence there is no more rfbDrawCursor()/rfbUndrawCursor(), no more dontSendFramebufferUpdate, and no more isCursorDrawn. It is now possible to have clients which understand CursorShape updates and clients which don't at the same time. rfbSetCursor no longer has the option freeOld; this is obsolete, as the cursor structure knows what to free and what not.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog21
1 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 926bbfa..f37a118 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,24 @@
+2005-01-18 Johannes E. Schindelin <Johannes.Schindelin@gmx.de>
+ * rfb/rfb.h libvncserver/rfbserver.c: pointerClient was still static
+ * libvncserver/rfbserver.c: do not make requestedRegion empty without
+ reason.
+ * almost everything: the cursor handling for clients which don't handle
+ CursorShape updates was completely broken. It originally was very
+ complicated for performance reasons, however, in most cases it made
+ performance even worse, because at idle times there was way too much
+ checking going on, and furthermore, sometimes unnecessary updates
+ were inevitable.
+ The code now is much more elegant: the ClientRec structure knows
+ exactly where it last painted the cursor, and the ScreenInfo
+ structure knows where the cursor shall be.
+ As a consequence there is no more rfbDrawCursor()/rfbUndrawCursor(),
+ no more dontSendFramebufferUpdate, and no more isCursorDrawn.
+ It is now possible to have clients which understand CursorShape
+ updates and clients which don't at the same time.
+ * libvncserver/cursor.c: rfbSetCursor no longer has the option
+ freeOld; this is obsolete, as the cursor structure knows what
+ to free and what not.
+
2005-01-15 Karl Runge <runge@karlrunge.com>
* rfb/rfb.h: add alphaSource and alphaPreMultiplied to rfbCursor.
* libvncserver/cursor.c: do cursor alpha blending in rfbDrawCursor()