summary refs log tree commit diff stats
path: root/hw/core/qdev.c
diff options
context:
space:
mode:
authorCameron Esfahani <dirty@apple.com>2020-01-20 21:00:52 -0800
committerGerd Hoffmann <kraxel@redhat.com>2020-01-21 07:29:03 +0100
commit557ba0e57200014bd4f453f6516f02b61bdfc782 (patch)
treede3705821464e65fbef38cb3b6abc9b2ab502508 /hw/core/qdev.c
parent0780ec7be82dd4781e9fd216b5d99a125882ff5a (diff)
downloadfocaccia-qemu-557ba0e57200014bd4f453f6516f02b61bdfc782.tar.gz
focaccia-qemu-557ba0e57200014bd4f453f6516f02b61bdfc782.zip
vnc: prioritize ZRLE compression over ZLIB
In my investigation, ZRLE always compresses better than ZLIB so
prioritize ZRLE over ZLIB, even if the client hints that ZLIB is
preferred.

zlib buffer is always reset in zrle_compress_data(), so using offset to
calculate next_out and avail_out is useless.

Signed-off-by: Cameron Esfahani <dirty@apple.com>
Message-Id: <b5d129895d08a90d0a2a6183b95875bacfa998b8.1579582674.git.dirty@apple.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/core/qdev.c')
0 files changed, 0 insertions, 0 deletions