Well nothing is easy they say.
I believe it will be difficult at best.
here are the reasons why
DirectX
DirectX
You have to be able to support the drivers used for it. Under linux you have DRI so in order to support the DRI interface you have a significant amount of interesting things to do. Namely making a Linux DirectX driver for compatibility.
Open GL might be easier to get working though since all you need for that IS the DRI interface. OGL is directly suported in DRI Just need some tweaks to 'driver' to act like the windows DLL
Cyb