Aperture UI
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.

ModuleResponsibility
HTML engineHTML, CSS, DOM, layout, scripting and media bridges
HarrlowRenderer command lists and GPU abstractions
Font engineFont loading, shaping, glyph data and atlases
FoundationSupporting 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.