ebiten/internal/uidriver
Hajime Hoshi 20ccafce4b uidriver/mobile: Bug fix: Freezing on Pixel 4a by force calling DoWork
When the two channels don't receive for a while, call DoWork forcibly to avoid
freeze.

In theory, this timeout should not be necessary. However, it looks like this
'select' statement sometimes blocks forever on some Android devices like
Pixel 4(a). Apparently workAvailable sometimes not receives even though there
are queued OpenGL functions. Call DoWork for such case as a symptomatic
treatment.

Calling DoWork without waiting for workAvailable is safe. If there are no tasks,
DoWork should return immediately.

Updates #1322
Fixes #1332
2020-09-06 14:34:12 +09:00
..
glfw ui: Replace the native window's type (unsafe.Pointer) with uintptr 2020-09-04 00:51:48 +09:00
js ui: Add SetInitFocused 2020-08-23 02:19:09 +09:00
mobile uidriver/mobile: Bug fix: Freezing on Pixel 4a by force calling DoWork 2020-09-06 14:34:12 +09:00