mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
egui_kittest: PNG-encode inspector screenshots via shared egui_inspection::encode_png
- Encode harness frames with egui_inspection::encode_png instead of sending raw RGBA, so the inspector socket carries compressed bytes. - Features: pull egui_inspection/png + image/png for the encoder; drop the now-removed egui_inspection `protocol` feature.
This commit is contained in:
@@ -29,11 +29,11 @@ snapshot = ["dep:dify", "dep:image", "dep:open", "dep:tempfile", "image/png"]
|
||||
## Expose the [`inspector_api`] wire protocol used to talk to the external
|
||||
## `kittest_inspector` binary. Pull this in if you're building a tool that consumes the
|
||||
## same stream — the binary itself enables this transitively.
|
||||
inspector_api = ["dep:egui_inspection", "egui_inspection/protocol", "egui/serde"]
|
||||
inspector_api = ["dep:egui_inspection", "egui/serde"]
|
||||
|
||||
## Stream frames + accesskit tree to a `kittest_inspector` window for live debugging.
|
||||
## Auto-launches when the `KITTEST_INSPECTOR` env var is truthy.
|
||||
inspector = ["inspector_api", "dep:image"]
|
||||
inspector = ["inspector_api", "egui_inspection/png", "dep:image", "image/png"]
|
||||
|
||||
## Allows testing eframe::App
|
||||
eframe = ["dep:eframe", "eframe/accesskit"]
|
||||
|
||||
Reference in New Issue
Block a user