Status: Started
Owner: phanq...@
gmail.comComponents: API>EGL
OS: Chrome Linux
Priority: Low
Renderer: GLES Vulkan DesktopGL SwiftShader
Type: Enhancement
New issue 8331 by phanq...@
gmail.com: Support EGL_MESA_platform_surfaceless
https://bugs.chromium.org/p/angleproject/issues/detail?id=8331Currently ANGLE's EGL implementation does not support requesting a surfaceless display directly. This means that:
1. ChromeOS has to resort to setting the `EGL_PLATFORM=surfaceless` environment variable in `login_manager` before starting chrome.
2. Linux's Ozone/Wayland and Ozone/Headless backends has no way to request an actual surfaceless display, which results in them trying to connect to an X server (which will fail if sandboxed) even when X is not used by the backend.
Ideally, we want any users who don't need to or don't want to connect to a integrate with a windowing system to be able to simply use the EGL_PLATFORM_SURFACELESS_MESA platform type (specified in EGL_MESA_platform_surfaceless). This will simplify EGL display acquisition on Ozone/Wayland and Ozone/Headless by removing the hack of setting `EGL_PLATFORM=wayland`[1] on Ozone/Wayland or having to hope that using `EGL_DEFAULT_DISPLAY` will allow obtaining a display without an X server running on Ozone/Headless. This also makes it possible to start working on restoring GPU sandbox support on Ozone/Wayland and Ozone/Headless where it would otherwise break due to trying to connect to an X server.
[1]:
https://source.chromium.org/chromium/chromium/src/+/main:ui/ozone/platform/wayland/gpu/wayland_surface_factory.cc;l=177;drc=c5d53fee6b737b66a323912f318c2edea70938c9--
You received this message because:
1. The project was configured to send all issue notifications to this address
You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings