On Thu Jul 3 14:21:30 2025 +0000, Rémi Bernon wrote:
Thanks! I'm working on getting a generic swapchain implementation based on FBOs and exportable images anyway, so eventually we might be able to use it to implement pbuffers without requiring platform support. Here I mostly just wanted to get pbuffers out of the way so I could make more changes the OpenGL window surface interface and make it converge with Vulkan surfaces, and I was mildly annoyed to find another lacking mechanism I assumed Wayland had already ;), but no big deal it should be fine like this.
Support for pbuffers in Mesa Wayland EGL has landed (https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36064). It won't make a difference in the short term since we will need to stick with the current approach (i.e., offscreen wl_surface) for backwards compatibility for some time. Perhaps in a couple of years it may make sense to take advantage of Wayland pbuffer support to simplify the code... if we are still using pbuffers by then :)