Add retained draw-list rendering pipeline with modern OpenGL backend - #7
Closed
tritao wants to merge 1 commit into
Closed
Add retained draw-list rendering pipeline with modern OpenGL backend#7tritao wants to merge 1 commit into
tritao wants to merge 1 commit into
Conversation
Collaborator
Author
|
This work has finally reached a good enough state where it makes sense to open a PR. It now passes all visual tests in FreeCAD, though there are still some selection-related improvements I want to make, think I should be able to finish it in the next few days. @Lgt2x Is this something you are interested in reviewing? |
tritao
force-pushed
the
draw-list-history-v2
branch
3 times, most recently
from
July 28, 2026 23:56
022bcce to
b3f25ec
Compare
Member
|
It will take me a while to go through it but yes, I will test & review. Is @oursland in the loop for this? |
tritao
force-pushed
the
draw-list-history-v2
branch
23 times, most recently
from
July 30, 2026 11:09
e349a9e to
e89f3b7
Compare
tritao
force-pushed
the
draw-list-history-v2
branch
3 times, most recently
from
July 30, 2026 16:52
b8bd37b to
b47e3a6
Compare
Add explicit LegacyGL and DrawList pipeline selection, make DrawList the default for core-only builds, and keep manager viewport/lifetime handling valid without a LegacyGL action. Exercise the complete core EGL path through SoRenderManager.
tritao
force-pushed
the
draw-list-history-v2
branch
from
August 9, 2026 00:36
b47e3a6 to
7af2591
Compare
Collaborator
Author
|
Superseded by native PR #33, which uses the same integration branch and can participate in the native stacked PR chain. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a retained draw-list rendering pipeline alongside Coin’s existing legacy OpenGL renderer.
The work adds a render intermediate representation, a modern OpenGL backend, retained traversal support for core scene-graph nodes, GPU picking, layered rendering, and integration with
SoRenderManager.The legacy renderer remains available through
SoRenderManager::RenderPipeline::LEGACY_GL, while the new path can be selected withSoRenderManager::RenderPipeline::DRAW_LISTor theCOIN_USE_DRAW_LISTenvironment variable.Main changes
Modern OpenGL foundations
Retained rendering infrastructure
SoIRRenderAction,SoDrawList, and retained render commands.OpenGL draw-list backend
Scene-graph integration
SoRenderManagerintegrationRenderPipelineandLightingModeAPIs.Compatibility
The new renderer is additive. The legacy OpenGL path remains the default unless the draw-list pipeline is explicitly enabled.
The retained path aims to preserve existing Coin rendering semantics, including:
History structure
The commit series is intentionally split into small, dependency-ordered changes:
SoRenderManagerpolicy and integration.Testing
Added coverage for:
Powers the new FreeCAD renderer at FreeCAD/FreeCAD#31143