Integration
Technical overview
Understand ownership, threading and the frame pipeline.
Your host owns the window, GPU device, filesystem and input loop. The HTML engine parses documents, runs scripts, resolves styles, lays out elements and emits renderer commands.
| Module | Responsibility |
|---|---|
| HTML engine | HTML, CSS, DOM, layout, scripting and media bridges |
| Harrlow | Renderer command lists and GPU abstractions |
| Font engine | Font loading, shaping, glyph data and atlases |
| Foundation | Supporting types and runtime facilities |
Harrlow and the font engine are linked into the HTML engine. Follow C++ linking rather than adding duplicate libraries.
The thread that calls tick() owns scripts, layout and paint. Resource loading can use worker threads; simultaneous view access remains unsafe. Destroy views before their borrowed platform interfaces and render contexts.
See Rendering architecture, Input and Scripting.