[GL-D2] Remove llglheaders.h, the ll::glext prebuilt and GL typedefs/constants #77

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

Scope: delete the header; replace any remaining GLuint/GLenum with U32; autobuild.xml glext entry via autobuild edit; the plugins use LLPixelFormat

Prereq: all of B, all of C

Acceptance: grep -rE '\bgl[A-Z]\w*\(|GL_[A-Z]' indra --include='*.cpp' --include='*.h' only hits vkgfx/vkclean false positives; links

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 header; replace any remaining `GLuint`/`GLenum` with `U32`; `autobuild.xml` glext entry via `autobuild edit`; the plugins use `LLPixelFormat` **Prereq:** all of B, all of C **Acceptance:** `grep -rE '\bgl[A-Z]\w*\(|GL_[A-Z]' indra --include='*.cpp' --include='*.h'` only hits vkgfx/vkclean false positives; links **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): not done. llglheaders.h (837 lines) is still included from 48 files. ll::glext is still in indra/cmake/GLEXT.cmake, linked by llwindow/CMakeLists.txt:53, and listed in autobuild.xml. GLuint/GLenum still appear (9 + 7 lines).

Status check (verification sweep): not done. llglheaders.h (837 lines) is still included from 48 files. ll::glext is still in indra/cmake/GLEXT.cmake, linked by llwindow/CMakeLists.txt:53, and listed in autobuild.xml. GLuint/GLenum still appear (9 + 7 lines).
sky_line added this to the Slipstream project 2026-10-06 15:04:15 +00:00
Author
Owner

Verified against forgejo/main (v1.2.0, 55f4242518); GL deletion in ef8365e45f (gl-delete merge), 52c3662a76, 547061ef34, 5f9502cf69. llglheaders.h, llgltypes.h and the ll::glext prebuilt are deleted (547061ef34, 5f9502cf69); LLPixelFormat/LLPixelType in llcommon/llpixelformat.h replace GL enums (used by the plugins and LLImageGL). Acceptance grep outside vkgfx/vkclean/third_party: only false positives LLUI::glPointToScreen/glRectToScreen (llui.cpp:357,369). No GLuint/GLenum/GL_* code uses, no glext entry in autobuild.xml / 3p_manifest.json.

Verified against forgejo/main (v1.2.0, 55f4242518); GL deletion in ef8365e45f (gl-delete merge), 52c3662a76, 547061ef34, 5f9502cf69. llglheaders.h, llgltypes.h and the ll::glext prebuilt are deleted (547061ef34, 5f9502cf69); LLPixelFormat/LLPixelType in llcommon/llpixelformat.h replace GL enums (used by the plugins and LLImageGL). Acceptance grep outside vkgfx/vkclean/third_party: only false positives LLUI::glPointToScreen/glRectToScreen (llui.cpp:357,369). No GLuint/GLenum/GL_* code uses, no glext entry in autobuild.xml / 3p_manifest.json.
sky_line 2026-10-10 06:24:38 +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#77
No description provided.