Re: [PATCH] qemu/ui: set swap interval explicitly when OpenGL is enabled

2024-09-16 Thread Michael Tokarev
On 11.09.2024 12:14, gert.wol...@collabora.com wrote: From: Gert Wollny Before 176e3783f2ab (ui/sdl2: OpenGL window context) SDL_CreateRenderer was called unconditionally setting the swap interval to 0. Since SDL_CreateRenderer is now no longer called when OpenGL is enabled, the swap interval i

Re: [PATCH] qemu/ui: set swap interval explicitly when OpenGL is enabled

2024-09-11 Thread Philippe Mathieu-Daudé
On 11/9/24 11:14, gert.wol...@collabora.com wrote: From: Gert Wollny Before 176e3783f2ab (ui/sdl2: OpenGL window context) SDL_CreateRenderer was called unconditionally setting the swap interval to 0. Since SDL_CreateRenderer is now no longer called when OpenGL is enabled, the swap interval is n

Re: [PATCH] qemu/ui: set swap interval explicitly when OpenGL is enabled

2024-09-11 Thread Marc-André Lureau
On Wed, Sep 11, 2024 at 1:15 PM wrote: > From: Gert Wollny > > Before 176e3783f2ab (ui/sdl2: OpenGL window context) > SDL_CreateRenderer was called unconditionally setting > the swap interval to 0. Since SDL_CreateRenderer is now no > longer called when OpenGL is enabled, the swap interval is >

[PATCH] qemu/ui: set swap interval explicitly when OpenGL is enabled

2024-09-11 Thread gert . wollny
From: Gert Wollny Before 176e3783f2ab (ui/sdl2: OpenGL window context) SDL_CreateRenderer was called unconditionally setting the swap interval to 0. Since SDL_CreateRenderer is now no longer called when OpenGL is enabled, the swap interval is no longer set explicitly and vsync handling depends on