Wine Begins Preparations For Reorganizing & Cleaning Up Its Direct3D Code

Written by Michael Larabel in WINE on 5 July 2023 at 07:50 PM EDT. 25 Comments
WINE
CodeWeavers developer Zebediah Figura opened up the initial merge request yesterday that is the first step of a multi-part effort for reorganizing and cleaning up the Wine Direct3D "WineD3D" code.

This effort is about reorganizing WineD3D and making sure backend functions are quarantined to their own files. The hoped for end result is to avoid large header files that aren't needed for all backends, help discover functions incorrectly tied to back-ends, help find more code that could be made local to a backend, and better logically separating the WineD3D code.

The first merge request is about moving Vulkan declarations to their own wined3d_vk.h header file. At least two more merge requests are expected as part of this code reorganization.

Hopefully in the end this will allow for a cleaner WineD3D codebase and hopefully discovering some optimizations or other areas for improvement along the way. Great job to all those at CodeWeavers for continuing to enhance upstream Wine.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week