[GL-C5] Strip GL arms from LLRender/LLTexUnit/LLFontGL/llrender2dutils/lllocalcliprect #74

Closed
opened 2026-09-27 05:33:52 +00:00 by sky_line · 4 comments
Owner

Scope: Delete the sGLTextureType/sGLAddressMode tables, refreshState, *Fast. The backend becomes mandatory.

Prereq: C2, C4

Acceptance: UI identical

Risk: med

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|SIGSEGV in the log.

Source: research/gl_removal_map.md

**Scope:** Delete the `sGLTextureType`/`sGLAddressMode` tables, `refreshState`, `*Fast`. The backend becomes mandatory. **Prereq:** C2, C4 **Acceptance:** UI identical **Risk:** med **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|SIGSEGV` in the log. Source: research/gl_removal_map.md
Author
Owner

Status check (verification sweep): partly done. LLRender/LLTexUnit are backend-only (96fa180da0), and the GL arms are dropped from fonts (a9de1d6873) and from llrender2dutils/llrendersphere (de4c1d6ae2). sGLAddressMode is gone. Remaining: sGLTextureType (1 file) and refreshState (2 files).

Status check (verification sweep): partly done. LLRender/LLTexUnit are backend-only (96fa180da0), and the GL arms are dropped from fonts (a9de1d6873) and from llrender2dutils/llrendersphere (de4c1d6ae2). sGLAddressMode is gone. Remaining: sGLTextureType (1 file) and refreshState (2 files).
sky_line added this to the Slipstream project 2026-10-06 15:04:15 +00:00
Author
Owner

Verified against forgejo/main: PARTIAL, leaving open. Done: sGLTextureType/sGLAddressMode tables, refreshState and the Fast bind variants are gone. Remaining: the backend is still optional (LLRender::sBackend null-checked ~48+ places; 81 refs in llrender/llrender.cpp, e.g. :74,91,134; also llgl.cpp:165, lllocalcliprect.cpp, llfloater.cpp, lldynamictexture.cpp:~166); prereq C4 (LLGLS scopes) is not done.

Verified against forgejo/main: PARTIAL, leaving open. Done: sGLTextureType/sGLAddressMode tables, refreshState and the *Fast bind variants are gone. Remaining: the backend is still optional (LLRender::sBackend null-checked ~48+ places; 81 refs in llrender/llrender.cpp, e.g. :74,91,134; also llgl.cpp:165, lllocalcliprect.cpp, llfloater.cpp, lldynamictexture.cpp:~166); prereq C4 (LLGLS* scopes) is not done.
Author
Owner

Pushed to main at 07c8a3ac73. GL arms stripped; LLRender always has a backend (a no-op backend until Vulkan installs its own).

Pushed to main at 07c8a3ac73. GL arms stripped; `LLRender` always has a backend (a no-op backend until Vulkan installs its own).
Author
Owner

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).

Shipped in a published release and tested; closing (testing-lane sweep 2026-10-11).
sky_line 2026-10-11 13:24:48 +00:00
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
sky_line/Slipstream#74
No description provided.