summaryrefslogtreecommitdiffstats
path: root/hw/display/virtio-gpu-base.c
diff options
context:
space:
mode:
authorCameron Esfahani2020-01-21 06:00:52 +0100
committerGerd Hoffmann2020-01-21 07:29:03 +0100
commit557ba0e57200014bd4f453f6516f02b61bdfc782 (patch)
treede3705821464e65fbef38cb3b6abc9b2ab502508 /hw/display/virtio-gpu-base.c
parentRevert "vnc: allow fall back to RAW encoding" (diff)
downloadqemu-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