Files
StarPilot/selfdrive
whoisdomi ecf6161f9c Efficiency batch 3: UI
F1 — Toggle cache (starpilot_annotated_camera.h + .cc): Added 25 typed cached members; all 32 starpilot_toggles.value() calls in paint code replaced with the cached versions. All reads happen once at the top of updateState() per frame. The only surviving raw call is in mousePressEvent (intentional — touch is rare, not paint-path).

F2 — HUD gradient hoist (selfdrive/ui/qt/onroad/hud.cc): Header gradient is now a static const built once via lambda, no allocation per frame.

Build, flash, and verify that toggling compass, simple_mode, radar_tracks etc. from settings still take effect live without a restart.
2026-05-06 22:14:09 -05:00
..
2026-04-30 11:01:46 -05:00
2026-05-04 19:12:20 -05:00
cem
2026-05-06 16:18:18 -05:00
2026-03-22 03:15:05 -05:00
2026-05-05 20:41:25 -05:00
2026-05-05 10:48:08 -05:00
2026-04-14 18:13:03 -05:00
2026-05-04 20:32:12 -05:00
2026-05-05 20:50:28 -05:00
2026-04-25 20:51:58 -05:00
2026-05-06 22:14:09 -05:00
2025-12-18 23:23:21 -08:00
2026-03-22 03:15:05 -05:00
2025-12-18 23:23:21 -08:00