summary refs log tree commit diff stats
path: root/include/hw
diff options
context:
space:
mode:
authorVivek Kasireddy <vivek.kasireddy@intel.com>2025-06-16 21:32:31 -0700
committerMarc-André Lureau <marcandre.lureau@redhat.com>2025-07-15 10:22:33 +0400
commitf851cd65ebe24cc716a70a2fa68c149e5440f2f4 (patch)
tree1dd1941759eadd4c1600d572b80a86310abb8e87 /include/hw
parent2103690b1a7d98f88f7c150f48fcd951d3ee8b36 (diff)
downloadfocaccia-qemu-f851cd65ebe24cc716a70a2fa68c149e5440f2f4.tar.gz
focaccia-qemu-f851cd65ebe24cc716a70a2fa68c149e5440f2f4.zip
ui/spice: Blit the scanout texture if its memory layout is not linear
In cases where the scanout buffer is provided as a texture (e.g. Virgl)
we need to check to see if it has a linear memory layout or not. If
it doesn't have a linear layout, then blitting it onto the texture
associated with the display surface (which already has a linear layout)
seems to ensure that there is no corruption seen regardless of which
encoder or decoder is used.

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Cc: Frediano Ziglio <freddy77@gmail.com>
Cc: Dongwon Kim <dongwon.kim@intel.com>
Cc: Michael Scherle <michael.scherle@rz.uni-freiburg.de>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20250617043546.1022779-8-vivek.kasireddy@intel.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions