On Thu, Jun 17, 2021 at 08:35:20PM +0900, Akihiko Odaki wrote: > Virgl relies on callbacks provided by the OpenGL display, and such a > display may rely on eglMakeCurrent. eglMakeCurrent will fail if the > given context is current to some other thread. The easiest way to avoid > such a failure is to call the OpenGL display in a single thread. As all > operations except virtio_gpu_virgl_reset happens in the main thread, > this change makes virtio_gpu_virgl_reset happen only in the main thread. > > Signed-off-by: Akihiko Odaki <akihiko.od...@gmail.com>
Added to vga patch queue. thanks, Gerd