Files
ladybird/Libraries/LibWeb/WebGL
Aliaksandr Kalenik d52080968d LibWeb: Initialize WebGL viewport on macOS IOSurface surface allocation
eglMakeCurrent with EGL_NO_SURFACE leaves the GL viewport at its default
of (0, 0, 0, 0), which clips all rasterization to zero pixels until the
page explicitly calls gl.viewport(). The Vulkan path already sets the
viewport after binding the color buffer; do the same on the macOS
IOSurface path so WebGL content that does not manage viewport state
itself (e.g. feature-detection draws into a 1x1 canvas) still produces
visible pixels.
2026-04-22 22:38:16 +02:00
..