Re: [PATCH] virtio-gpu: Call Virgl only in the main thread

2021-06-23 Thread Gerd Hoffmann
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 t

[PATCH] virtio-gpu: Call Virgl only in the main thread

2021-06-17 Thread Akihiko Odaki
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