2014-11-22, 02:33
Now that Windows XP support seems to have finally been dropped. [3] It is might be a good idea to move away from DX9 and the use/need of the Jun10 DirectX SDK. The windows SDK now contains the DirectX headers and libraries.
Now I have tried to dig into to the code to see what makes use of the DirectX API, it's a lot. According to microsoft it would be mostly a search-replace effort. [2] The features implemented by d3dx9 will need to be replaced with other libraries [2]. For example DirectX Tool Kit or DirectXTex or custom libraries [2]. Or just try to refactor the functionality out of the project, but that would ask for some serious re-coding work in some places.
d3dx9.h is used in 8 places and the (still supported) d3d9.h in 14.
To start using the newer version of the provided headers in de Windows SDK I have already reversed the include and library paths on the project files. [1]
If anyone already started this effort or if there is no interest for this then please let me know, rather not go and try for nothing.
References:
[1] http://msdn.microsoft.com/en-us/library/...85%29.aspx (About the deprecation of older libraries and such an best practices in moving on)
[2] http://msdn.microsoft.com/en-us/library/...66870.aspx (The porting guide for apps but the directx part applies to kodi too)
[3] http://kodi.wiki/view/Windows
Note: I'm using a VS2013Ultimate (Yay for student licences) on a Windows 8.1 64-bit installation.
PS. Or of course go to OpenGL even for windows, no idea about the implications though.
Now I have tried to dig into to the code to see what makes use of the DirectX API, it's a lot. According to microsoft it would be mostly a search-replace effort. [2] The features implemented by d3dx9 will need to be replaced with other libraries [2]. For example DirectX Tool Kit or DirectXTex or custom libraries [2]. Or just try to refactor the functionality out of the project, but that would ask for some serious re-coding work in some places.
d3dx9.h is used in 8 places and the (still supported) d3d9.h in 14.
To start using the newer version of the provided headers in de Windows SDK I have already reversed the include and library paths on the project files. [1]
If anyone already started this effort or if there is no interest for this then please let me know, rather not go and try for nothing.
References:
[1] http://msdn.microsoft.com/en-us/library/...85%29.aspx (About the deprecation of older libraries and such an best practices in moving on)
[2] http://msdn.microsoft.com/en-us/library/...66870.aspx (The porting guide for apps but the directx part applies to kodi too)
[3] http://kodi.wiki/view/Windows
Note: I'm using a VS2013Ultimate (Yay for student licences) on a Windows 8.1 64-bit installation.
PS. Or of course go to OpenGL even for windows, no idea about the implications though.