]> git.proxmox.com Git - mirror_qemu.git/commit
ui/gtk: skip any extra draw of same guest scanout blob res
authorDongwon Kim <dongwon.kim@intel.com>
Fri, 24 Sep 2021 22:51:05 +0000 (15:51 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 2 Nov 2021 16:24:18 +0000 (17:24 +0100)
commit55f4b767f64ee0fec397c7ceebfea1473b725963
tree4a4d2e3872035b1a18048c9f9a4e2cb4ebd9e3b5
parent760deab30e41a98bb09f29944e977a4cda55f3c7
ui/gtk: skip any extra draw of same guest scanout blob res

Any extra draw call for the same blob resource representing guest scanout
before the previous drawing is not finished can break synchronous draw
sequence. To prevent this, drawing is now done only once for each draw
submission (when draw_submitted == true).

v2:
 - removed mutex
 - updated commit msg

Cc: Gerd Hoffmann <kraxel@redhat.com>
Cc: Vivek Kasireddy <vivek.kasireddy@intel.com>
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
Message-Id: <20210924225105.24930-1-dongwon.kim@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/virtio-gpu-udmabuf.c
include/ui/console.h
ui/gtk-egl.c
ui/gtk-gl-area.c