[virglrenderer-devel] [PATCH virglrenderer] egl: add virgl_renderer_get_fd_for_texture2()
Gerd Hoffmann
kraxel at redhat.com
Tue Jun 12 14:34:14 UTC 2018
On Tue, Jun 12, 2018 at 02:47:59PM +0200, marcandre.lureau at redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau at redhat.com>
>
> virgl_renderer_resource_get_info() doesn't return the underlying image
> stride. eglExportDMABUFImageMESA() does. This fixes imports failing
> due to a stride mismatch under certain resolutions. (note that qemu
> uses its own export methods, perhaps because Gerd noticed the problem
> with virgl egl export functions)
No, the reason is that qemu needs this outside virtio-gpu too, so making
that functionality depend on virglrenderer looked like a bad idea.
But I can confirm that using the stride returned by mesa is required to
make things work correctly ;)
cheers,
Gerd
More information about the virglrenderer-devel
mailing list