We’ve recently had amazing success adapting Mesa to run on Microsoft’s Universal Windows Platform (UWP). UWP is also used by Microsoft Xbox Series You will be able to do it.
Independent developer Aerisarn has led the effort to adapt Mesa to Microsoft’s Universal Windows Platform. The code is currently staged via the Mesa-UWP GitHub repository. He then ported other software to his UWP as well, such as running his glxgears on his UWP, combined with the Mesa Gallium3D code that he runs on his Xbox. On a related note, to make more games work on his UWP/Xbox, here’s his SDL-uwp-gl and ported Mesa code for getting SDL to work on his UWP.
This UWP Mesa port seems to be working fine and is being used to run this Dhewm3 fork on UWP/Xbox. Dhewm3 is of course one of the open source Doom 3 codebases in development. Here’s what Daniel Worley has to say about the recent fork and release of his Dhewm3 HDR-Alpha:
“This port leverages @aerisarn’s recent work on libgallium and SDL to effectively run dhewm3 on Xbox. For added fun, this build also runs HDR! r_gamma/ Please play around with r_brightness. Future builds may improve tone mapping.”
So, thanks to UWP-enabled Mesa, this open source Doom 3 OpenGL rendering game can now run on Microsoft Xbox Series X/S. As always, we had some interesting work thanks to open source.
Although not directly related to these forks, RetroArch is exploring the potential of UWP-enabled Mesa and leveraging Microsoft’s D3D12 driver to use OpenGL/Vulkan on top of the Direct3D 12 API. It has been covered elsewhere as well.