Skip to main content

Module dev_overlay

Module dev_overlay 

Source
Expand description

Renderer-drawn dev overlay (fps counter): one shared graph builder so every backend draws the identical overlay without composition impact.

Structs§

DevOverlayKey
Cache key for the last-built overlay; rebuilding only on change keeps the overlay free when the text is stable.

Functions§

build_dev_overlay_graph
Build the dev-overlay graph: a translucent pill with the stats text in the top-right corner, sized with fixed monospace-ish metrics so the overlay never depends on renderer text measurement.