Re: [PATCH 17/21] virtio-gpu-virgl: teach it to get the QEMU EGL display

2023-08-30 Thread Antonio Caggiano
Thanks for your answer, that'll help. On 30/08/2023 13:49, Marc-André Lureau wrote: Hi Antonio On Wed, Aug 30, 2023 at 3:14 PM Antonio Caggiano wrote: Hi Marc-André, I've been testing this, but I can't find where qemu_egl_display is set when using sdl. Whil ui/gtk.c sets that in gl_area_re

Re: [PATCH 17/21] virtio-gpu-virgl: teach it to get the QEMU EGL display

2023-08-30 Thread Marc-André Lureau
Hi Antonio On Wed, Aug 30, 2023 at 3:14 PM Antonio Caggiano wrote: > > Hi Marc-André, > > I've been testing this, but I can't find where qemu_egl_display is set > when using sdl. > > Whil ui/gtk.c sets that in gl_area_realize, from my understanding there > is no equivalent call in ui/sdl2-gl.c >

Re: [PATCH 17/21] virtio-gpu-virgl: teach it to get the QEMU EGL display

2023-08-30 Thread Antonio Caggiano
Hi Marc-André, I've been testing this, but I can't find where qemu_egl_display is set when using sdl. Whil ui/gtk.c sets that in gl_area_realize, from my understanding there is no equivalent call in ui/sdl2-gl.c Also, in which case SDL would use EGL, and is there a way to request that (e.g

Re: [PATCH 17/21] virtio-gpu-virgl: teach it to get the QEMU EGL display

2023-08-30 Thread Antonio Caggiano
Hi Marc-André, I've been testing this, but I can't find where qemu_egl_display is set when using sdl. Whil ui/gtk.c sets that in gl_area_realize, from my understanding there is no equivalent call in ui/sdl2-gl.c Also, in which case SDL would use EGL, and is there a way to request that (e.g

[PATCH 17/21] virtio-gpu-virgl: teach it to get the QEMU EGL display

2023-06-06 Thread marcandre . lureau
From: Marc-André Lureau virgl offers a few features that require to have access to the underlying EGLDisplay. This is the case for the D3D texture sharing support. The API callback is merged for virgl 1.0: https://gitlab.freedesktop.org/virgl/virglrenderer/-/merge_requests/1113 Signed-off-by: M