Wine prepares to restructure and clean up its Direct3D code
Wine prepares to restructure and clean up its Direct3D code
Wine prepares to restructure and clean up its Direct3D code.
Developer Zebediah Figura filed an initial PR yesterday , kicking off the first step in an effort to restructure and clean up the Wine Direct3D “WineD3D” code.
This work is mainly to reorganize the WineD3D part to ensure that the backend functions are isolated into separate files.
The ultimate goal is to avoid large header files that are not needed by all backends, find functions that are incorrectly bound to backends, and find more code that can be localized to backends, and better logical separation of existing function code .
The first PR to move the Vulkan declarations into its own wined3d_vk.h header file is just part of a reorganization of the Vulkan code, and at least two more merge requests are expected.
The next step is to move the GL and Vulkan declaration code into wined3d_gl.h and wined3d_vk.h respectively.
