]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/gtk: set the area of the scanout texture correctly
authorDongwon Kim <dongwon.kim@intel.com>
Wed, 21 Jun 2023 21:31:50 +0000 (14:31 -0700)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 2 Jul 2023 04:49:12 +0000 (07:49 +0300)
commit477ab906d18cd9afbddef3d1f2d3945dbf8bc9da
tree14c0e213eb315c90777fc0224887da27a413e541
parentdf1e45c9dfc8d5e9f8c19677799e8a77c601ce29
ui/gtk: set the area of the scanout texture correctly

x and y offsets and width and height of the scanout texture
is not correctly configured in case guest scanout frame is
dmabuf.

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>
Message-ID: <20230621213150.29573-1-dongwon.kim@intel.com>
(cherry picked from commit 37802a24eb4e535d96d6fe0273505d2b5c6528c2)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/gtk-egl.c
ui/gtk-gl-area.c