RediWM is a Wayland compositor written in Zig (OpenGL ES) that includes everything in one process
scene graph plan, stage 5: decisions taken
oxydizer8c6de9c77202
diff --git a/docs/plans/scene-graph-stage5.md b/docs/plans/scene-graph-stage5.mdindex 661e645..4a7abd4 100644--- a/docs/plans/scene-graph-stage5.md+++ b/docs/plans/scene-graph-stage5.md@@ -1,6 +1,6 @@# Scene graph plan, stage 5: backdrop effects in the pass-Status: **draft, decisions open**, 2026-10-11. Stage 4 of+Status: **planned, decisions taken (all as recommended), nothing implemented**, 2026-10-11. Stage 4 of[scene-graph.md](scene-graph.md) is done (window shapes, analytic shadows, theowned pass as the only presenter). This stage moves glass, the blurred backdropbehind titlebars, the taskbar and the start and power menus, from its side@@ -76,7 +76,11 @@ That is correct but, applied to every damage, it re-blurs a titlebar wheneverits own client commits (the client lies inside the titlebar's padding): everykeystroke, every video frame. Today's dependency tracking avoids that. Hence D1.-## Decisions to take+## Decisions (taken 2026-10-11, all as recommended)++Taken: D1 (B) re-blur only on below-damage with a cached blur per effect and+output; D2 (A) holds kept as cache reuse; D3 (A) per output; D4 (A) composite as+a shaped-program mode, one blur program, plain programs dropped if free.* **D1. When an effect is re-blurred.*** (A) Whenever any damage touches its padded extent. Simplest; deletes alldiff --git a/docs/plans/scene-graph.md b/docs/plans/scene-graph.mdindex d7205cc..667a39f 100644--- a/docs/plans/scene-graph.md+++ b/docs/plans/scene-graph.md@@ -158,7 +158,7 @@ environment variable: no test hooks in production), removed in stage 6.Clip groups on frames, analytic borders andshadows, shape-aware hit testing; delete the skirt, `probeClientEdge`,`side_fills`, the dual border path and `edge_sampling.py`; shrink the footer.-5. **Backdrop effects in the pass.** *Draft plan, 2026-10-11, decisions open:+5. **Backdrop effects in the pass.** *Planned 2026-10-11, decisions taken:[scene-graph-stage5.md](scene-graph-stage5.md).* Delete `glass.c`'s prefix capture,per-effect contexts, dependency hashing and the drag hold; keep glass pixeltests, converted.