Am 2014-01-13 03:50, schrieb Akira Nakagawa:
1.export Directx from winelib and publish as a development package. In other word,let winelib Directx be used as OpenGL be in Unix native applications.(and support pkg-config)
That is more difficult than it sounds. The Direct3D API definitions depend on other parts of the Windows API. It's not something you can separate without at least some modifications.
Wine's implementation is even deeper linked to the rest of Win32. It uses WGL to set up OpenGL. The reason for this is that this way winex11.drv and winemac.drv can take care of the opengl abstraction, and wined3d runs on real Windows as well.