mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +00:00
a140527b08
The CVDisplayLink used for synchronizing rendering to the display refresh rate runs on a separate thread from the main thread. View callbacks must therefore be serialized. Implement that by introducing a singleton goroutine that owns the view map and runs incoming commands. Signed-off-by: Elias Naur <mail@eliasnaur.com>