mirror of
https://github.com/marcoallegretti/WEFT_OS.git
synced 2026-03-27 01:13:09 +00:00
Replace the clear-colour-only stub in render_output with full surface compositing via Space::render_elements_for_output. Changes: - drm_device.rs: add start_time: Instant to WeftDrmData for elapsed- time frame callbacks - drm.rs: rewrite render_output rendering block - collect SpaceRenderElements from Space via render_elements_for_output which includes both mapped windows and wlr-layer-shell surfaces from layer_map_for_output (sorted by z-index, clipped to output geometry) - pass collected elements to DrmOutput::render_frame - fix send_frame timing from Duration::ZERO to start_time.elapsed() with 16ms throttle hint - add space.refresh() and popups.cleanup() after each frame Use explicit inner block to scope space+drm borrows so post-render bookkeeping can access state mutably Cursor rendering deferred requires cursor theme loading or MemoryRenderBuffer setup; tracked separately. |
||
|---|---|---|
| .. | ||
| weft-build-meta | ||
| weft-compositor | ||