RE: [PATCH v2 2/8] ui/egl: Add egl helpers to help with synchronization

2021-06-15 Thread Kasireddy, Vivek
Hi Gerd, > > +void egl_dmabuf_create_fence(QemuDmaBuf *dmabuf) > > +{ > > +if (dmabuf->sync) { > > +dmabuf->fence_fd = eglDupNativeFenceFDANDROID(qemu_egl_display, > > + dmabuf->sync); > > +eglDestroySyncKHR(qemu_egl_display

Re: [PATCH v2 2/8] ui/egl: Add egl helpers to help with synchronization

2021-06-14 Thread Gerd Hoffmann
Hi, > +void egl_dmabuf_create_fence(QemuDmaBuf *dmabuf) > +{ > +if (dmabuf->sync) { > +dmabuf->fence_fd = eglDupNativeFenceFDANDROID(qemu_egl_display, > + dmabuf->sync); > +eglDestroySyncKHR(qemu_egl_display, dmabuf->sync);

[PATCH v2 2/8] ui/egl: Add egl helpers to help with synchronization

2021-06-10 Thread Vivek Kasireddy
These egl helpers would be used for creating and waiting on a sync object. Cc: Gerd Hoffmann Signed-off-by: Vivek Kasireddy --- include/ui/console.h | 2 ++ include/ui/egl-helpers.h | 3 +++ ui/egl-helpers.c | 44 3 files changed, 49 insert