A native implementation of DirectX (or more's the point Direct3D) for X-Window would probably be a cleaner, neater and more elegant solution than the current translation-layer approach.
Originally Posted by Jade
Unfortunately, the DirectX architecture is so tightly wedded to Windows, that it most likely wouldn't be worth the effort - also the best people to do it would be the graphics card people...and they ain't going to...
You're not going to shave off enough performance to make it worth your trouble. D3D is married at the hip to Micorosoft's entire design for Windows. Making a wrapper, while "faster" will be much easier and would be happening more soon than the other answers.
Originally Posted by alurien
I've been wondering since I made the switch to Free software why game developers don't see the advantages of it. I mean if they all contributed to development of open engines, APIs and dev-tools they could still charge what they do now for the content/media, and probably in a ton of cases, the community would port their engine to other platforms all by their themselves. But somehow they're all a bunch of lazy asses who'd rather just do a half assed job with Directx and thereby guarantee that within a decade nobody will be able to play their game ever again. If it makes a profit who gives a fuck right?
wrapping d3d to opengl is not really costly...
But you have real problems when OpenGL can not exactly map some things like texture formats - that makes for example UT3 real slow...
Last edited by Kano; 04-22-2008 at 09:30 PM.
Exactly, which is why a native-side Direct3D implementation would be darned handy. The fact is that DirectX isn't going to go away, in the same way that .NET and Windows XP/Vista/Server 2003 aren't going to go away.
Originally Posted by Kano
The options for GNU/Linux, as I see them are thus:
1. Carry on as we are, with a large 3D performance reduction from doing the Direct3D->OpenGL conversion.
2. Wait for some "bare metal" facilities from Xen and other virtualization technologies. We can then install Windows and run Windows games at near-native speed.
3. Lobby games companies to either:
a) Give us native ports of the big titles.
b) Implement an OpenGL renderer alongside the Direct3D one, making 3D performance through WINE much faster.
c) Make a point of using SDL for all future titles, allowing easier porting onto non-Windows platforms.
4. Hope that the likes of Intel, nVidia and AMD/ATI wake up some day and decide to do a native Direct3D port for their graphics chips, and help link the WINE-based d3d9.dll to it.
Last edited by alurien; 04-23-2008 at 02:32 PM.
That would be yet another indirection layer on top of another on top of another.
Originally Posted by some-guy
Each one of those indirection layers adds the potential for slowdowns and just problems due to impedance mis-matches.
then remove SDL
APP -> WINE -> DXL -> Native System Calls
and if the apps start to be compiled under linux, then
APP -> DXL -> Native System Calls