On Mon Mar 16 15:42:57 2026 +0000, Rémi Bernon wrote:
Added a bit more tweaks to make sure we parse the compat string even with version >= 3, but only if context is in compatibility mode (`GL_CONTEXT_PROFILE_MASK` is only supported for 3.2+, and IIUC 3.0 and 3.1 contexts are either created as 3.2 core, or have implicit compatibility mode?). Also tweaked the win32u:d3dkmt tests which are now failing as Gitlab CI llvmpipe doesn't have `GL_EXT_semaphore_fd` extension. My point was that the whole problem is redundant. Instead of digging through the spec for corner-case handling, I would much rather structure the code in a way that is not exposed to this kind of problem.
In fact, looking at how it currently stands, I am not convinced that we want to move `glGetString(EXTENSIONS)` to the client side at all. Relatedly, the generic handling of string returns could use more work, but that is true regardless of this MR. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10019#note_132367