docs / architecture

gru · 0.7.0

Architecture

Core model for the public engine. Full chapters are on GitHub; this page is the map.

Core model

Frame loop

DrainQueue
Update (title bar + Root)
Layout if Root dirty
Draw into SSAA if NeedsRedraw, else blit cache
Present + overlays
[WebView: sync hosts after Layout; present after EndDrawing]

Chapter map

#ChapterContents
1 overview Retained mode, frame loop, dirty flags, Document
2 window-chrome Undecorated window, TitleBar, drag, double-click, DWM
3 layout Chrome insets, flex, Viewport vs fill-height
4 rendering SSAA, overlay render targets, idle / wake
5 webview HWND vs GL (see also WebView guide)
6 input-focus Pointer routing, overlays, WebView focus handoff

Index: docs/architecture/README.md.

Next: Composition · Widgets · Start