RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process
scene graph plan: hardware checklist passed, stage 4 done
oxydizer7cf5cdef6c72
diff --git a/docs/plans/scene-graph-stage3.md b/docs/plans/scene-graph-stage3.mdindex e1ba892..50b1411 100644--- a/docs/plans/scene-graph-stage3.md+++ b/docs/plans/scene-graph-stage3.md@@ -1,6 +1,6 @@# Scene graph plan, stage 3: owned output pass-Status: **done except hardware qualification**, 2026-10-09. Stages 0–2 are+Status: **done**, 2026-10-09; hardware checklist passed 2026-10-11 (scanout unconfirmed, see the checklist). Stages 0–2 arecomplete. The owned radius-zero pass renders real outputs and captures and meetsthe stage 3 cost tolerance (see **Gate decision**). The legacy presenter remainsthe default; only a real KMS session can still qualify plane scanout, out-timeline@@ -435,3 +435,14 @@ copy). Logs are at debug level, so everything below is in the compositor log.Record the result here when done. Any failure on the owned path that the legacypath does not show blocks making `owned` the default.++**Run 2026-10-11, passed** (the user, from a spare VT, on the stage 4e ReleaseSafe+build, laptop with Intel iris driving eDP-1 at scale 1.5 and an NVIDIA dGPU): all+six steps passed by observation, with no tearing, freeze or crash. The log of the+last run (`~/rediwm-vt/rediwm.log`) has the owned pass, no `scene commit failed`+and no compositor errors. It does not show `Direct scan-out enabled`: scanout did+not engage in that run, plausibly because the fullscreen clients rendered on the+NVIDIA GPU while the panel scans out from the Intel one. Plane scanout on this+machine is therefore unconfirmed rather than failed; check it with a client+forced onto the Intel GPU (`DRI_PRIME=0`, `__GLX_VENDOR_LIBRARY_NAME=mesa`) when+convenient.diff --git a/docs/plans/scene-graph-stage4.md b/docs/plans/scene-graph-stage4.mdindex 6d6ecda..472661c 100644--- a/docs/plans/scene-graph-stage4.md+++ b/docs/plans/scene-graph-stage4.md@@ -1,6 +1,6 @@# Scene graph plan, stage 4: clipping and primitives-Status: **4a to 4e done on branch `stage4e`, waiting on the stage 3 hardware checklist before it merges**, 2026-10-10. Stage 3 of+Status: **4a to 4e done**, 2026-10-11 (the stage 3 hardware checklist passed before 4e merged). Stage 3 of[scene-graph.md](scene-graph.md) (the owned output pass, radius zero) is doneapart from hardware qualification; this stage is why the plan exists: the userrequires clipped client corners, and wlroots 0.20 cannot mask a client. The five@@ -448,7 +448,7 @@ owned-only compositor (see **Measurement** and **Cost expectations**); it decidewhether 4c's repaint cost (+10 to +14 % build CPU in `damage_full` and drag) andthe `enable_shapes` memory came back.-*Done on branch `stage4e`; merges once the stage 3 hardware checklist passes.*+*Done; merged 2026-10-11 after the stage 3 hardware checklist passed.*`owned` is the only presenter: `Server.init` refuses a renderer that is notGLES2 (llvmpipe through `WLR_RENDERER_ALLOW_SOFTWARE`, per the master plan'srenderer policy) and the `scene_renderer` key is gone (an old config's key isdiff --git a/docs/plans/scene-graph.md b/docs/plans/scene-graph.mdindex 1c00148..104868a 100644--- a/docs/plans/scene-graph.md+++ b/docs/plans/scene-graph.md@@ -150,8 +150,8 @@ environment variable: no test hooks in production), removed in stage 6.anonymous memory at most +0.5 MiB at startup and no growth under sustaineddamage. Stages 4–6 are judged against the stage 0 baseline, and the final state(stage 6) must again be at or below it.-4. **Clipping and primitives.** *4a to 4d on master, 4e on branch `stage4e`- until the stage 3 hardware checklist passes, 2026-10-10:+4. **Clipping and primitives.** *Done 2026-10-11 (4e merged after the stage 3+ hardware checklist passed):[scene-graph-stage4.md](scene-graph-stage4.md). The legacy presenter is gone;CPU per frame is 3-36 % below the stage 0 baseline, memory 1.6-2.3 MiB aboveit (a finding).*