[GL-D3] llwindowsdl: delete the GL context code #78
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scope: the
!gWindowUseVulkanbranches,createSharedContext, theswapBuffersGL arm,SDL_GL_*; then delete thegWindowUseVulkanflag itself (every site becomes unconditional)Prereq: D2 (or earlier for just the window file)
Acceptance: window create, resize, fullscreen and vsync all work
Risk: low
Shared acceptance baseline: links; logs in under VK and renders prims/mesh/rigged/terrain/water/sky/particles; click-select object/avatar/attachment; region crossing + teleport; no
GLSL Compilation Error|SIGSEGVin the log.Source: research/gl_removal_map.md
Status check (verification sweep): partly done.
e05771cdf6(v1.0.0-beta.1) deleted the Win32/macOS/Mesa window backends and the GL context + shared-context API (createSharedContext: 0 refs). Remaining: gWindowUseVulkan is still there (11 refs in 4 files), and SDL_GL_* calls remain (4 lines in 2 files).Verified against forgejo/main: PARTIAL, leaving open. Done: llwindowsdl.cpp has no SDL_GL_*, createSharedContext, GL swapBuffers arm or gWindowUseVulkan branches; window create/resize/fullscreen/vsync verified on 1.2.0. Remaining: the flag itself survives as gWindowUseVulkanUI (llappviewer.cpp:389 definition, :7311 set to true; only comments read it at :4076,:6503) and should be deleted.
Pushed to main at
07c8a3ac73. GL context code removed fromllwindowsdl. To test: Linux and Windows startup.Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).