News: 0001620851

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

OpenGL Lands New Extension To Benefit Wine

([Mesa] 5 Hours Ago MESA_map_buffer_client_pointer)


The OpenGL API is still seeing new extensions introduced in 2026. Merged today to the OpenGL Registry is a new extension intended to help Wine usage for 32-bit Windows games/apps on 64-bit Linux systems.

The new extension in the OpenGL Registry is MESA_map_buffer_client_pointer. The MESA_map_buffer_client_pointer extension lets the application specify pointer ranges within which buffers should be mapped. The extension was designed to help the Wine project with its OpenGL 32-bit ABI on top of 64-bit Linux. With this extension it can return an address in the 32-bit address range.

The MESA_map_buffer_client_pointer extension was devised by Derek Lesho of CodeWeavers. The extension specification can be found via the [1]OpenGL Registry .

The [2]pull request for it further explained of the situation:

"Currently, Wine will set up a CPU storage for the buffer from which it copies the contents on glUnmapBuffer. For persistent maps, it currently uses either Vulkan resource sharing with VK_EXT_map_memory_placed, or AMD_pinned_memory.

These approaches can't work for legacy maps with the same speed, since they move buffer upload management to the application side, which can't for example provide staging buffers to avoid unnecessary synchronization.

This extension should address the problem going forward by allowing Wine to provide 32-bit address ranges to the driver, onto which BOs can be mapped."

The issue was also further discussed via [3]this Mesa ticket .



[1] https://github.com/KhronosGroup/OpenGL-Registry/commit/8d7162cb672a5e91d1b858ffbe0b1e30cae237c3

[2] https://github.com/KhronosGroup/OpenGL-Registry/pull/678

[3] https://gitlab.freedesktop.org/mesa/mesa/-/issues/14254



He heard there oft the flying sound
Of feet as light as linden-leaves,
Of music welling underground,
In hidden hollows quavering.
Now withered lay the hemlock-sheaves,
And one by one with sighing sound
Whispering fell the beechen leaves
In the wintry woodland wavering.

He sought her ever, wandering far
Where leaves of years were thickly strewn,
By light of moon and ray of star
In frosty heavens shivering.
Her mantle glinted in the moon,
As on a hill-top high and far
She danced, and at her feet was strewn
A mist of silver quivering.

When winter passed, she came again,
And her song released the sudden spring,
Like rising lark, and falling rain,
And melting water bubbling.
He saw the elven-flowers spring
About her feet, and healed again
He longed by her to dance and sing
Upon the grass untroubling.
-- J. R. R. Tolkien