]> git.ipfire.org Git - thirdparty/qemu.git/commit
ui/gtk: fix passing y0_top parameter to scanout
authorErico Nunes <ernunes@redhat.com>
Mon, 20 Feb 2023 17:56:05 +0000 (18:56 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 31 May 2023 06:43:56 +0000 (09:43 +0300)
commitb201fb8c5aca78400d4f364632fb1e19827da942
treeb0a950fd06755cd843e76637a44fc9fc5a0a51b6
parent834fc12721b90c8542304a8be6463974562f8916
ui/gtk: fix passing y0_top parameter to scanout

The dmabuf->y0_top flag is passed to .dpy_gl_scanout_dmabuf(), however
in the gtk ui both implementations dropped it when doing the next
scanout_texture call.

Fixes flipped linux console using vhost-user-gpu with the gtk ui
display.

Signed-off-by: Erico Nunes <ernunes@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230220175605.43759-1-ernunes@redhat.com>
(cherry picked from commit 94400fa53f81c9f58ad88cf3f3e7ea89ec423d39)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
ui/gtk-egl.c
ui/gtk-gl-area.c