RE: virtio-gpu: Get FD for texture

2021-09-29 Thread Kasireddy, Vivek
Hi Antonio, > > I am starting to believe that the error is due to the fact that no EGLContext > is active on the > current thread (the one running the Vulkan application). [Kasireddy, Vivek] Which UI module (and Host environment) are you testing with? gtk? egl-headless? Could you please provide

Re: virtio-gpu: Get FD for texture

2021-09-29 Thread Antonio Caggiano
I am starting to believe that the error is due to the fact that no EGLContext is active on the current thread (the one running the Vulkan application). Trying to call eglMakeCurrent within this thread gives me an EGL_BAD_ACCESS error as the EGLContext associated to the GL texture belongs to

virtio-gpu: Get FD for texture

2021-09-27 Thread Antonio Caggiano
Hi, I am trying to support a Vulkan application in the guest (GTKGlArea+VirGL+venus) which needs to import a GL texture from a GL context. Before doing that, I need to get a FD for that texture, therefore I tried with calling egl-helpers.h:egl_get_fd_for_texture() but I get an epoxy error: