qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Consolidate create-sync and create-fence
@ 2024-07-02 20:55 dongwon.kim
  2024-07-02 20:55 ` [PATCH 1/2] ui/egl-helpers: " dongwon.kim
  2024-07-02 20:55 ` [PATCH 2/2] ui/dmabuf: Remove 'sync' from QemuDmaBuf struct dongwon.kim
  0 siblings, 2 replies; 5+ messages in thread
From: dongwon.kim @ 2024-07-02 20:55 UTC (permalink / raw)
  To: qemu-devel

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-07-05 17:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02 20:55 [PATCH 0/2] Consolidate create-sync and create-fence dongwon.kim
2024-07-02 20:55 ` [PATCH 1/2] ui/egl-helpers: " dongwon.kim
2024-07-03 11:23   ` Marc-André Lureau
2024-07-05 17:57     ` Kim, Dongwon
2024-07-02 20:55 ` [PATCH 2/2] ui/dmabuf: Remove 'sync' from QemuDmaBuf struct dongwon.kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).