ebiten/internal/uidriver/mobile
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
..
graphics_ios.go driver: Let UI have Graphics 2020-01-03 18:32:27 +09:00
graphics_opengl.go uidriver/mobile: Prevent non-mobile environments from compiling 2020-01-18 21:15:56 +09:00
input.go driver: Simplify UIContext.Update 2020-04-03 00:18:27 +09:00
keys.go uidriver/mobile: Implement keyboard key inputs for gomobile-build 2020-02-22 23:57:16 +09:00
ui.go uidriver/mobile: Bug fix: Freezing on Pixel 4a by force calling DoWork 2020-09-06 14:34:12 +09:00