forked from joejulian/gio
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>