]> git.proxmox.com Git - mirror_qemu.git/commit - ui/gtk-gl-area.c
ui: Create sync objects and fences only for blobs
authorVivek Kasireddy <vivek.kasireddy@intel.com>
Tue, 14 Sep 2021 21:18:35 +0000 (14:18 -0700)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 15 Sep 2021 06:41:59 +0000 (08:41 +0200)
commit65b847d284c1ab8a1dbd44d2b046e87e83ebb6e0
tree63b0281591813862f2802aa44cf4e5fda2aecc8e
parent121abaf3e68d620f7c4c1d16875de4a4b92fa8f8
ui: Create sync objects and fences only for blobs

Create sync objects and fences only for dmabufs that are blobs. Once a
fence is created (after glFlush) and is signalled,
graphic_hw_gl_flushed() will be called and virtio-gpu cmd processing
will be resumed.

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