Skip to content

rendering: integrate DrawList with SoRenderManager - #33

Closed
tritao wants to merge 0 commit into
stack/drawlist-pickingfrom
draw-list-history-v2
Closed

rendering: integrate DrawList with SoRenderManager#33
tritao wants to merge 0 commit into
stack/drawlist-pickingfrom
draw-list-history-v2

Conversation

@tritao

@tritao tritao commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Integrate the retained DrawList renderer with Coin's existing render managers for ordinary single-scene rendering.

  • Add explicit `LEGACY_GL` and `DRAW_LIST` render-pipeline selection.
  • Use DrawList as the available pipeline when LegacyGL is not built.
  • Give `SoRenderManager` ownership of the retained traversal action and render backend.
  • Reinitialize retained backend state when the active GL context changes.
  • Propagate the manager's real camera state and effective view/projection matrices into retained frames.
  • Forward device-pixel ratio into retained render parameters.
  • Preserve ordinary pre-render and post-render callback behavior exactly once per frame.
  • Forward pipeline selection through `SoSceneManager`.
  • Add manager-driven DrawList coverage for pipeline selection, camera matrices, DPR, callback counts, and core-profile rendering.

This layer intentionally handles one ordinary scene only. Background/foreground roots, additional render stages, layer-local viewport behavior, and context-loss recovery are introduced by PR #45.

Stack

Layer 15/16, based on PR #31.

@tritao
tritao force-pushed the stack/drawlist-picking branch from 5ba0ed7 to ac1d23c Compare August 9, 2026 01:41
@tritao
tritao force-pushed the draw-list-history-v2 branch from 3fad7d2 to 7e5f843 Compare August 9, 2026 01:41
@tritao
tritao force-pushed the stack/drawlist-picking branch from ac1d23c to dd18062 Compare August 9, 2026 01:51
@tritao
tritao force-pushed the draw-list-history-v2 branch from 7e5f843 to bf592bd Compare August 9, 2026 01:51
@tritao
tritao force-pushed the stack/drawlist-picking branch from dd18062 to ce28abb Compare August 9, 2026 02:06
@tritao
tritao force-pushed the draw-list-history-v2 branch from bf592bd to bccc700 Compare August 9, 2026 02:06
@tritao
tritao force-pushed the stack/drawlist-picking branch from ce28abb to 98b0a52 Compare August 9, 2026 02:12
@tritao
tritao force-pushed the draw-list-history-v2 branch from bccc700 to ea77f6d Compare August 9, 2026 02:12
@tritao
tritao force-pushed the stack/drawlist-picking branch from 98b0a52 to 6af3cdd Compare August 9, 2026 02:17
@tritao
tritao force-pushed the draw-list-history-v2 branch from ea77f6d to 8262187 Compare August 9, 2026 02:18
@tritao
tritao force-pushed the stack/drawlist-picking branch from 6af3cdd to 67afe74 Compare August 9, 2026 02:22
@tritao
tritao force-pushed the draw-list-history-v2 branch from 8262187 to 76becdb Compare August 9, 2026 02:22
@tritao
tritao force-pushed the stack/drawlist-picking branch from 67afe74 to 1bb3e50 Compare August 9, 2026 02:35
@tritao
tritao force-pushed the draw-list-history-v2 branch from 76becdb to b93005c Compare August 9, 2026 02:35
@tritao
tritao force-pushed the stack/drawlist-picking branch from 1bb3e50 to 815389d Compare August 9, 2026 02:47
@tritao
tritao force-pushed the draw-list-history-v2 branch 2 times, most recently from 822c4a8 to 6ff0af3 Compare August 9, 2026 03:23
@tritao
tritao force-pushed the stack/drawlist-picking branch from 815389d to 58d4122 Compare August 9, 2026 03:23
@tritao
tritao force-pushed the draw-list-history-v2 branch from 9b5f189 to bb6e174 Compare August 9, 2026 10:07
@tritao
tritao force-pushed the stack/drawlist-picking branch from d199914 to afb6d20 Compare August 9, 2026 10:20
@tritao
tritao force-pushed the draw-list-history-v2 branch from bb6e174 to db1ec72 Compare August 9, 2026 10:20
@tritao
tritao force-pushed the stack/drawlist-picking branch from afb6d20 to c825a5a Compare August 9, 2026 10:54
@tritao
tritao force-pushed the draw-list-history-v2 branch 2 times, most recently from 5c6d85d to b0a28c0 Compare August 9, 2026 11:24
@tritao
tritao force-pushed the stack/drawlist-picking branch from c825a5a to 15ad81d Compare August 9, 2026 11:24
@tritao
tritao force-pushed the draw-list-history-v2 branch from b0a28c0 to d9b2b98 Compare August 9, 2026 11:37
@tritao
tritao force-pushed the stack/drawlist-picking branch from 5e640db to 8aacf23 Compare August 9, 2026 11:44
@tritao
tritao force-pushed the draw-list-history-v2 branch from 96ebbff to 40b72a5 Compare August 9, 2026 13:13
@tritao
tritao force-pushed the stack/drawlist-picking branch from 82d8fc5 to 239b59e Compare August 9, 2026 13:13
@tritao
tritao force-pushed the draw-list-history-v2 branch 3 times, most recently from 6eca1e4 to 78739f3 Compare August 9, 2026 18:01
@tritao
tritao force-pushed the stack/drawlist-picking branch from 0ff157f to 0957cc2 Compare August 9, 2026 18:01
@tritao
tritao force-pushed the draw-list-history-v2 branch from 78739f3 to a829f54 Compare August 9, 2026 18:22
@tritao
tritao force-pushed the stack/drawlist-picking branch from 0957cc2 to dfcec77 Compare August 9, 2026 18:22
@tritao
tritao force-pushed the draw-list-history-v2 branch from a829f54 to 9657024 Compare August 9, 2026 18:48
@tritao
tritao force-pushed the stack/drawlist-picking branch from dfcec77 to 03ad528 Compare August 9, 2026 18:48
@tritao
tritao force-pushed the draw-list-history-v2 branch from 9657024 to 8c2fe96 Compare August 9, 2026 18:51
@tritao
tritao force-pushed the stack/drawlist-picking branch from 03ad528 to 3c0a407 Compare August 9, 2026 18:51
@tritao
tritao force-pushed the draw-list-history-v2 branch from 8c2fe96 to 4e44c4e Compare August 9, 2026 20:02
@tritao
tritao force-pushed the stack/drawlist-picking branch 2 times, most recently from 20e5c8d to ea255e6 Compare August 9, 2026 21:01
@tritao
tritao force-pushed the draw-list-history-v2 branch from 4e44c4e to f2cfbdb Compare August 9, 2026 21:01
@tritao
tritao force-pushed the stack/drawlist-picking branch from ea255e6 to 3f3ad20 Compare August 9, 2026 21:55
@tritao
tritao force-pushed the draw-list-history-v2 branch 2 times, most recently from 05ce33e to 4a0d3c0 Compare August 9, 2026 22:42
@tritao
tritao force-pushed the stack/drawlist-picking branch 2 times, most recently from 4fc9779 to d01d1dc Compare August 9, 2026 22:48
@tritao
tritao force-pushed the draw-list-history-v2 branch from 4a0d3c0 to 8ab2eda Compare August 9, 2026 22:48
@tritao
tritao force-pushed the stack/drawlist-picking branch from d01d1dc to 92719ba Compare August 10, 2026 09:58
@tritao
tritao force-pushed the draw-list-history-v2 branch from 8ab2eda to be8e6b1 Compare August 10, 2026 09:58
@tritao
tritao force-pushed the stack/drawlist-picking branch from 92719ba to 25621cb Compare August 10, 2026 10:08
@tritao
tritao force-pushed the draw-list-history-v2 branch 2 times, most recently from e8d9399 to de07ab1 Compare August 10, 2026 11:18
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