aboutsummaryrefslogtreecommitdiff
path: root/include/ui
diff options
context:
space:
mode:
authorDongwon Kim <dongwon.kim@intel.com>2023-07-12 21:04:44 -0700
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-07-17 15:22:28 +0400
commit9ac06df8b684e6409ebc7af6337500e7484e28b3 (patch)
treeace120ed65de42db8c9942691ebc8ccbb3fd99a7 /include/ui
parent0d0be87659b06ef7ce07ad07376086bd28e4d71b (diff)
downloadqemu-9ac06df8b684e6409ebc7af6337500e7484e28b3.zip
qemu-9ac06df8b684e6409ebc7af6337500e7484e28b3.tar.gz
qemu-9ac06df8b684e6409ebc7af6337500e7484e28b3.tar.bz2
virtio-gpu-udmabuf: correct naming of QemuDmaBuf size properties
Replace 'width' and 'height' in QemuDmaBuf with 'backing_widht' and 'backing_height' as these commonly indicate the size of the whole surface (e.g. guest's Xorg extended display). Then use 'width' and 'height' for sub region in there (e.g. guest's scanouts). Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: Vivek Kasireddy <vivek.kasireddy@intel.com> Signed-off-by: Dongwon Kim <dongwon.kim@intel.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-ID: <20230713040444.32267-1-dongwon.kim@intel.com>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/console.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index f27b2aa..3e8b22d 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -201,8 +201,8 @@ typedef struct QemuDmaBuf {
uint32_t texture;
uint32_t x;
uint32_t y;
- uint32_t scanout_width;
- uint32_t scanout_height;
+ uint32_t backing_width;
+ uint32_t backing_height;
bool y0_top;
void *sync;
int fence_fd;