wip(render3d): plan 22.14 - the OpenGL backend removed (suite 306/306, not yet handed over)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-28 00:04:31 +03:00
parent c2a5df4be8
commit 9a4137e9da
8 changed files with 162 additions and 388 deletions

View file

@ -1464,6 +1464,10 @@ function maybe_splice_runtime() -> void {
do_import("runtime/native/process.ludic")
cur_dir = saved
}
# Vk.* draws into the runtime's window, whose size, drawable and clock (gl_width,
# gl_set_drawable, gl_now_us, ...) still live in the GL runtime: splice and link it too,
# until the window layer stands apart from OpenGL (maroon-lake docs/plan/22, 22.15)
if g_uses_vk { g_uses_gl = true }
# Gl.*: splice the OpenGL surface (gl.ludic + the generated gl_api.ludic). The
# native calls are the linked GL entry points themselves; the window attach is
# is_windowed()-guarded, so a headless build renders into an offscreen context.