aboutsummaryrefslogtreecommitdiff
path: root/scripts/tracetool/backend/simple.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-01-28 13:27:25 +0000
committerDaniel P. Berrangé <berrange@redhat.com>2025-05-21 19:36:15 +0100
commit63d320909220a90647c484263ae5e2f26eb54587 (patch)
treee79153f2caa3bf6aeef44b70320d968333629b82 /scripts/tracetool/backend/simple.py
parent70097442853c389a765c9f6502d861d182b092ae (diff)
downloadqemu-63d320909220a90647c484263ae5e2f26eb54587.zip
qemu-63d320909220a90647c484263ae5e2f26eb54587.tar.gz
qemu-63d320909220a90647c484263ae5e2f26eb54587.tar.bz2
ui/vnc: fix tight palette pixel encoding for 8/16-bpp formats
When sending a tight rectangle with the palette filter, if the client format was 8/16bpp, the colours on big endian hosts are not set as we're sending the wrong bytes. We must first cast the 32-bit colour to a 16/8-bit value, and then send the result. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'scripts/tracetool/backend/simple.py')
0 files changed, 0 insertions, 0 deletions