You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(platform): expose owned surface-target seam for renderer attachment #23
Per ADR-0004 note that the GPU rendering strategy touches only bitty-render and bitty-platform, and the CTX-0015 deferral of the GPU context seam.
Scope
Owned SurfaceTarget abstraction in bitty-platform: WindowHandle hands out a platform window surface handle suitable for wgpu surface creation WITHOUT exposing winit/raw-window-handle types publicly
If raw-window-handle types are unavoidable at the boundary: pin+re-export the exact version and document why (expected, since wgpu 25 consumes raw-window-handle 0.6)
DPI-size refresh hook (logical size -> physical extent at current scale) on the window surface path
Resize event -> surface-extent flow documented on PlatformEvent/WindowEventKind docs
Constraints
Headless-friendly: pure logic unit-tested per existing crate seam style; display-dependent parts cfg/feature gated (gui-tests)
No changes outside crates/bitty-platform/** except a minimal manifest edit if adding the raw-window-handle dep (+ Cargo.lock)
Zero unsafe (workspace denies unsafe_code; crate forbids it)
Activity
feat(platform): add owned SurfaceTarget seam for GPU renderer attachm…