vnc: allow fall back to RAW encoding
commitde3f7de7f4e257ce44cdabb90f5f17ee99624557
authorPeter Lieven <pl@kamp.de>
Thu, 27 Aug 2015 12:46:25 +0000 (27 14:46 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 3 Nov 2015 09:21:49 +0000 (3 10:21 +0100)
treedc97286585ae6cf8171b225ab13bf7f70fd0ff77
parentfb719563676f8958141a5c984e876a9a1b18f48b
vnc: allow fall back to RAW encoding

I have observed that depending on the contents and the encoding it happens
that sending data as RAW sometimes would take less space than the encoded data.
This is especially the case for small updates or areas with high color images.
If sending RAW encoded data is beneficial allow a fall back to RAW encoding
for the framebuffer update.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/vnc.c