Skip to content

rendering: add retained render layers and replay lifecycle - #55

Open
tritao wants to merge 17 commits into
stack/drawlist-manager-rebuiltfrom
stack/drawlist-layers-rebuilt
Open

rendering: add retained render layers and replay lifecycle#55
tritao wants to merge 17 commits into
stack/drawlist-manager-rebuiltfrom
stack/drawlist-layers-rebuilt

Conversation

@tritao

@tritao tritao commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Summary

Rebuild the render-layer and replay/lifecycle layer on the frozen manager and planner stack.

This layer owns:

  • background, main, after-main, and foreground stage membership;
  • local viewport overrides and scoped depth clears;
  • delayed traversal with captured replay context;
  • valid-context shutdown versus lost-context discard;
  • authoritative stage and depth-clear ordering in the retained render plan, executed by the OpenGL backend.

Selection overlays are supplied as frame-local SoSelectionState targets by traversal. They are queued and flushed at the plan's depth-segment barriers, so they execute in the same authoritative timing as their selected draw commands and before a subsequent depth clear can destroy that depth segment. Picking consumes the same retained render plan for draw and depth-clear ordering; ordinary visual rendering does not populate the pick target implicitly.

Stack

This layer is built on the manager/orchestration layer and completes plan-native selection timing, layer depth barriers, and retained lifecycle execution.

@tritao tritao changed the title stack/drawlist layers rebuilt rendering: add retained render layers and replay lifecycle Aug 15, 2026
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch 2 times, most recently from a2e2165 to 60751d2 Compare August 15, 2026 12:55
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from 60751d2 to bc2d160 Compare August 15, 2026 13:07
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from bc2d160 to dcb7aa1 Compare August 15, 2026 15:51
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from dcb7aa1 to 5ef85f6 Compare August 15, 2026 17:03
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch 2 times, most recently from 149b8a3 to 85a1505 Compare August 15, 2026 17:30
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch 2 times, most recently from 3efedcd to 7c245c8 Compare August 15, 2026 23:53
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from 7c245c8 to 1e15bea Compare August 16, 2026 00:00
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from 1e15bea to b2fc3f2 Compare August 16, 2026 00:03
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from b2fc3f2 to bcbe7af Compare August 16, 2026 00:25
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from bcbe7af to 91c0fd2 Compare August 16, 2026 09:49
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from 91c0fd2 to 05d5f80 Compare August 16, 2026 10:00
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from 44386f0 to 4f17eab Compare August 16, 2026 18:34
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch 2 times, most recently from 8194b86 to cbdee6b Compare August 16, 2026 19:41
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch from cbdee6b to 2640890 Compare August 16, 2026 20:08
@tritao
tritao force-pushed the stack/drawlist-layers-rebuilt branch 2 times, most recently from 26b7f51 to 366c218 Compare August 16, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant