On Wed Jan 28 18:12:43 2026 +0000, Elizabeth Figura wrote:
Vendor extensions aren't specific to a given vendor, neither in theory nor in practice. Nothing about any of the extensions we use requires Apple hardware to implement. I also don't see how extension replacement helps us? Only APPLE_float_pixels has ARB equivalents. I don't really know well but it seems to me that GL_APPLE_fence is a fallback for GL_ARB_sync, and GL_APPLE_flush_buffer_range a fallback for GL_ARB_map_buffer_range. I'm not sure about GL_APPLE_rgb_422 and GL_APPLE_ycbcr_422 but I suppose that they aren't available outside of macOS, and the latter described as only available on legacy contexts, so I assume they are only optional for wined3d operation?
In any case I don't really think we should drop them, I just don't see why they are absolutely needed on the PE side. It seems better to me to implement the generic ARB extensions they are used as a fallback for in win32u/winemac on top of them, so that it would benefit every GL application and not just wined3d. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9987#note_128294