Expand description
Screen-capture widget (P6) — identical “dumb widget” architecture to the
camera widget, capturing a display/window instead. See screencap.rs.
Screen-capture widget — a “dumb widget” identical in architecture to the
CameraWidget, only the source differs (a display /
window). SUPER_PLAN_2 §4 P6, widget pivot.
ScreenCaptureWidget::create(config).dom() → an <img> a background
capture thread keeps fed; each frame goes through
[super::capture_common::present_frame] (GL-texture install-once /
re-upload + recomposite). The shared core lives in capture_common; this
widget is its config + worker. Test-pattern worker (a moving band) stands
in for the real ScreenCaptureKit / MediaProjection / PipeWire worker.
Structs§
- Screen
Capture Widget - A screen-capture widget.
create(config).dom()yields an<img>the capture thread keeps fed. - Screen
Capture Widget State - Live state for one screencap widget, carried across relayout by
[
merge_screencap_state].