ladybird/Meta/CMake
Aliaksandr Kalenik 5b856595b3 Meta+LibWeb/WebGL: Route all GL calls through generated GLFunctions
LibWeb's WebGL implementation currently reaches ANGLE by calling glFoo()
throughout the WebGL context and extension code. That ties the WebGL
spec layer to the concrete GL executor. A future backend that records
operations, sends them to another process, or executes them from the
Compositor would otherwise need to duplicate the WebGL logic or edit
every call site again.

Introduce GLFunctions as an explicit boundary between WebGL semantics
and GL execution. GLFunctions.json lists the GL entry points used by the
implementation, and the generator emits one forwarding method per entry
point. OpenGLContext implements those methods today, so the current
in-process ANGLE path keeps the same behavior while all callers go
through a single replaceable interface.

That boundary is needed before canvas/WebGL rendering can move to the
Compositor: the WebGL context code can keep doing validation, state
tracking, and spec-visible error handling in LibWeb, while a later
implementation can record the same GL calls and replay them where the
canvas surface is produced. The JSON source also gives the recorder and
replayer one shared description of argument shapes, avoiding two
hand-written views of the GL API drifting apart.
2026-06-13 01:58:43 +02:00
..
flatpak Meta: Add vcpkg overlay port for wuffs 0.3.4 2026-06-10 20:29:11 +02:00
freedesktop Meta: Fix typo in URL 2025-11-04 17:06:56 +01:00
presets Meta: Remove obsolete Lagom host-tools build 2026-06-08 01:11:40 +02:00
vcpkg Meta: Add vcpkg overlay port for wuffs 0.3.4 2026-06-10 20:29:11 +02:00
all_the_debug_macros.cmake Meta: Remove obsolete LibWeb BindingsGenerator 2026-06-08 01:11:40 +02:00
audio.cmake Meta: Move most dependency checks to check_for_dependencies.cmake 2026-04-20 16:41:29 -06:00
check_for_dependencies.cmake UI/Qt: Present Linux DMABUF frames with QVulkanWindow 2026-06-12 21:45:22 +02:00
clang_development.cmake Meta: Build zstd correctly to support clang plugins and curl 8.18.0 2026-02-19 20:03:41 +01:00
cmake_options.cmake Meta: Remove obsolete Lagom host-tools build 2026-06-08 01:11:40 +02:00
code_generators.cmake Meta: Move all remaining dependency checks to check_for_dependencies 2026-05-05 22:08:24 +02:00
compile_options.cmake Meta: Enable glibc fortify checks on Linux 2026-06-10 01:33:39 +02:00
Findlibjxl.cmake LibGfx: Use a diffrent way for finding libjxl on Android 2024-09-03 00:17:49 -06:00
Findmman.cmake LibCore/System: Add mmap, munmap for Windows 2024-11-26 10:00:11 +01:00
FindWebP.cmake CMake: Add CMake script for finding libwebp 2025-06-17 16:55:50 -06:00
gui_framework.cmake Meta: Enable Gtk UI on macOS 2026-06-09 17:10:31 +02:00
hsts_preload.cmake Meta: Generate HSTS preload data from Chromium's static list 2026-05-29 22:23:33 +02:00
ladybird_helper_processes.cmake Meta: Define helper processes for Ladybird and test-web in one place 2026-05-28 14:45:48 +01:00
lagom-install-config.cmake Meta: Update jakt build support for fully bootstrapped compiler 2022-09-09 11:23:42 +02:00
lagom_install.cmake Meta: Move install rules to its own helper cmake file 2026-03-29 13:59:11 -06:00
lagom_install_options.cmake Everywhere: Abandon Swift adoption 2026-02-17 10:48:09 -05:00
libjs_generators.cmake Meta: Move python code generators to a subdirectory 2026-04-23 07:31:19 -04:00
libtextcodec_generators.cmake Meta: Rewrite GenerateEncodingIndexes in python 2025-06-25 18:50:14 -06:00
libweb_generators.cmake Meta+LibWeb/WebGL: Route all GL calls through generated GLFunctions 2026-06-13 01:58:43 +02:00
processor-count.cmake Meta: Print error if cmake does not exist 2022-10-16 17:49:18 +02:00
rust_crate.cmake Meta: Rebuild Rust crates when the toolchain changes, not just sources 2026-06-04 07:41:45 -04:00
sanitizers.cmake Everywhere: Abandon Swift adoption 2026-02-17 10:48:09 -05:00
setup_ccache.cmake Meta: Detect ccache being passed as the compiler 2022-12-12 21:34:09 -07:00
sync_rust_ffi_header.cmake Meta: Make Rust FFI headers reproducible 2026-03-31 15:59:04 +02:00
targets.cmake Meta: Enable exit-time destructor warnings for libraries 2026-06-04 19:20:49 +02:00
use_linker.cmake Meta: Do not use CMAKE_LINKER_TYPE on all BSD systems 2026-02-28 10:26:26 -07:00
utils.cmake Meta: Retry required-file downloads and cache the WASM spec tests 2026-06-07 11:33:29 +02:00
wasm_spec_tests.cmake Meta: Retry required-file downloads and cache the WASM spec tests 2026-06-07 11:33:29 +02:00