Description
As said on Discord #dev channel yesterday, PR #2113 introduces a lot of blocking issues.
These are the results of the tests done by me, @AndreMiras and @opacam :
-
sdl2==2.0.10
have issues that have been solved by the SDL2 team, so it needs to be bumped to2.0.12
. -
sdl2==2.0.12
works but create freezes during runtime. -
These freezes are definitely related to the new
SDL_LockMutex
/SDL_UnlockMutex
mechanism they added for concurrency issues. -
Commenting
SDL_LockMutex
onTouch
related events fixes the freeze issue for non-fullscreen apps. -
On fullscreen apps, the patch it's also needed on
Resize, .. etc
events.
I'm providing an attached patch that fixes the issues on top of 2.0.12
, btw seems not a good idea to do that, so it needs some more investigation: