mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-10-18 19:43:24 +03:00
Add process-level native, headless, and terminal runtime modes while keeping the SDL2/SDL3 window backends responsible for creating the graphics context. Use SDL's offscreen video driver with an eepp-owned logical root FBO for headless rendering. Add caller-owned RGB24/RGBA32 framebuffer readback through the renderer abstraction without leaking GL calls into the Window namespace. Introduce a generic FramePresenter boundary and a Kitty presenter that streams chunked direct RGB24 frames from a bounded worker queue. Optimize Base64 encoding for this streaming path. Add POSIX and Windows terminal lifecycle support, Kitty keyboard input, SGR-Pixels mouse input, focus handling, and terminal pixel-size resize events. Inject translated events through a thread-safe Input queue so applications continue using the normal input path. Make UIApplication independent of physical displays in offscreen modes, preserve native runtime behavior, and report the selected runtime and presentation mode during initialization. Add Sys::setEnv() for portable process environment configuration.