mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
- FrameScreenshot now carries PNG bytes instead of raw RGBA (PROTOCOL_VERSION 1→2); add a shared `encode_png` helper behind a new `png` feature so the live plugin and the kittest harness encode frames identically. - Make the protocol module unconditional: drop the `protocol` feature flag and the optional serde/serde_bytes/rmp-serde deps it gated. - plugin.rs: re-stamp screenshot-bearing frames with the current step (so inspectors waiting for step > prev don't reject them) and pump a tail-side repaint while awaiting the GPU readback.
egui_inspection
Wire protocol and egui::Plugin for live inspection of running egui apps and
kittest harnesses.
Two layers:
-
protocol(default feature): length-prefixed MessagePack messages used byegui_kittest's inspector, the externalkittest_inspectorUI, and theegui_kittest_mcpserver. -
plugin(opt-in): anegui::Pluginimplementation that streams frames + AccessKit tree updates to an inspector over a unix domain socket and applies receivedInspectorCommands back into the running app. Auto-attaches whenEGUI_INSPECTION_SOCKETis set.