diff options
author | Cameron Esfahani | 2020-01-21 06:00:52 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2020-01-21 07:29:03 +0100 |
commit | 557ba0e57200014bd4f453f6516f02b61bdfc782 (patch) | |
tree | de3705821464e65fbef38cb3b6abc9b2ab502508 /hw/display/virtio-gpu-base.c | |
parent | Revert "vnc: allow fall back to RAW encoding" (diff) | |
download | qemu-557ba0e57200014bd4f453f6516f02b61bdfc782.tar.gz qemu-557ba0e57200014bd4f453f6516f02b61bdfc782.tar.xz 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/display/virtio-gpu-base.c')
0 files changed, 0 insertions, 0 deletions