gl: isolate compatibility-only helpers - #13
Closed
tritao wants to merge 3 commits into
Closed
Conversation
…ilds Shared rendering helpers still pulled fixed-function declarations into core-profile builds, coupling profile-neutral image, VBO, and shader support to the legacy renderer. Guard compatibility-only operations in offscreen setup, image and vertex-array helpers, and shader utilities while leaving profile-neutral work available to both paths. The two renderer paths can therefore coexist until retained traversal is complete.
Material, texture-combine, and GLU helpers still pulled compatibility-only declarations into the core build after the main traversal paths were isolated. Guard those ancillary helpers and keep protocol definitions available through the profile-neutral glue. This removes the remaining compile-time dependencies without changing legacy behavior.
Display-list allocation, compilation, and teardown are compatibility-profile operations, but the element must remain safe to reference while retained rendering is active. Keep display-list lifetime management behind the compatibility boundary and preserve the logical element behavior for code that still traverses legacy nodes. Core-profile builds therefore retain the ABI without issuing display-list commands.
tritao
force-pushed
the
stack/compatibility-guards
branch
from
August 8, 2026 00:17
3a96552 to
e3b2309
Compare
tritao
force-pushed
the
stack/egl-offscreen
branch
from
August 8, 2026 00:17
4878add to
e9df85a
Compare
Collaborator
Author
|
Superseded by the seven-layer stack. Its compatibility-only changes have been redistributed into the shader, shared-rendering, and compatibility-boundary PRs so each layer owns its final abstraction. |
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.
Summary
Separates compatibility-only OpenGL helpers from code that must also work with core contexts.
Stack
Layer 3/8, based on PR #12. This is a prerequisite for the profile-neutral shader and rendering layers.