Implement full architecture scaffolding with logic and frame receiver goroutines

- Logic goroutine: receives config events, recomputes layout, sends frames
- Frame receiver goroutine: reads frames, stores under mutex, calls w.Invalidate()
- Main event loop: renders frames under mutex, sends config events to logic
- Proper channel topology: configChan, frameChan, inputChan
- Mutex around elems shared between goroutines
- Window resize triggers layout recomputation in logic goroutine

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
gmp
2026-05-08 17:03:21 -04:00
co-authored by Qwen-Coder
parent 869f0b13ac
commit 556f72643f
2 changed files with 55 additions and 14 deletions
BIN
View File
Binary file not shown.