@kmamal when the sdl + gpu window is completely obscured (not minimized), calling context.getCurrentTextureView() is blocking or takes a really long time (> 1 second where normally it's very quick).
This really wreaks havoc on my main loop because the thread screeches to a halt. Is there any way to fix this? Or barring that, detect when the sdl window is not showing? window.visible doesn't change it's value if the sdl window is not minimized but fully covered by other windows.