Re: [Qemu-devel] [PATCH 3/3] egl-helpers: add dmabuf modifier support.

2019-05-22 Thread Gerd Hoffmann
On Wed, May 22, 2019 at 12:47:47PM +0200, Marc-André Lureau wrote: > Hi > > On Wed, May 22, 2019 at 12:04 PM Gerd Hoffmann wrote: > > > > Add modifier parameter to egl_get_fd_for_texture(), to return the used > > modifier on dmabuf exports. > > But nothing uses it yet? WIP still. Sneak preview

Re: [Qemu-devel] [PATCH 3/3] egl-helpers: add dmabuf modifier support.

2019-05-22 Thread Marc-André Lureau
Hi On Wed, May 22, 2019 at 12:04 PM Gerd Hoffmann wrote: > > Add modifier parameter to egl_get_fd_for_texture(), to return the used > modifier on dmabuf exports. But nothing uses it yet? > > Check and use QemuDmaBuf->modifier in egl_dmabuf_import_texture() for > dmabuf imports. That could be a

[Qemu-devel] [PATCH 3/3] egl-helpers: add dmabuf modifier support.

2019-05-22 Thread Gerd Hoffmann
Add modifier parameter to egl_get_fd_for_texture(), to return the used modifier on dmabuf exports. Check and use QemuDmaBuf->modifier in egl_dmabuf_import_texture() for dmabuf imports. Signed-off-by: Gerd Hoffmann --- include/ui/egl-helpers.h | 3 ++- ui/egl-helpers.c | 37