qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/2] Consolidate create-sync and create-fence


From: dongwon . kim
Subject: [PATCH 0/2] Consolidate create-sync and create-fence
Date: Tue, 2 Jul 2024 13:55:01 -0700

From: Dongwon Kim <dongwon.kim@intel.com>

Sync object itself is never used as is so can be removed
from QemuDmaBuf struct. So now sync is only temporarily needed
when creating fence for the object which means what was done in
egl_dmabuf_create_sync can now be a part of egl_dmabuf_create_fence
function. And egl_dmabuf_create_fence returns fence_fd so the
better function name will be egl_dmabuf_create_fence_fd.

Dongwon Kim (2):
  ui/egl-helpers: Consolidate create-sync and create-fence
  ui/dmabuf: Remove 'sync' from QemuDmaBuf struct

 include/ui/dmabuf.h      |  2 --
 include/ui/egl-helpers.h |  3 +--
 ui/dmabuf.c              | 14 --------------
 ui/egl-helpers.c         | 27 +++++++++++----------------
 ui/gtk-egl.c             | 15 +++------------
 ui/gtk-gl-area.c         | 10 ++--------
 6 files changed, 17 insertions(+), 54 deletions(-)

-- 
2.34.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]