The problem with all that is that DirectX is tightly integrated into Windows-specific components, and therefore the only level that it could exist is along the rest of the Wine layer. I also wish to note that AMD isn't releasing radeon drivers, they had Novell develop a WHOLE NEW driver for the ATI cards. Really the best way to deal with issues with DirectX and OpenGL is to add extensions to OpenGL to expose the functionality in the hardware that can be translated to DX calls. In Linux, I suppose this wouldn't be a big issue since the Mesa stuff could be modified to expose the functionality missing. If Wine can take advantage of compiz or AIGLX functionality, then that is wonderful. AFAIK, Wine does not utilize compiz or AIGLX functionality, rather it goes straight to Mesa? I am not a programmer, so I don't really know.
<br><br><div class="gmail_quote">On Nov 23, 2007 2:51 AM, Reece Dunn &lt;<a href="mailto:msclrhd@googlemail.com">msclrhd@googlemail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 23/11/2007, Remco &lt;<a href="mailto:remco47@yahoo.com">remco47@yahoo.com</a>&gt; wrote:<br>&gt; I don&#39;t know the first thing about driver- and DirectX-programming, so please forgive (and point out) any mistakes.
<br>&gt;<br>&gt; As a reader of this list I&#39;m wondering; there are quite a few problems that come from the fact that DirectX isn&#39;t 1:1 translatable to OpenGL. How about talking to some guys from the GPU-driver department about creating a driver-interface that gives you the right hooks. I guess Parallels and Transgaming would also be interested in such a development. I can imagine that the Nouveau-devs and Xorg-radeon-devs would be more than happy to listen.
<br><br></div>This sounds interesting.<br><br>It may be useful contacting the nouveau (open source NVidia 3D driver<br>reverse engineering project) development team to see if they can add<br>OpenGL extensions for DirectX functionality.
<br><br>Intel have official open source drivers for Linux, so it would be<br>useful contacting their developers as well.<br><br>Also, with the AMD merger, the radeon drivers are being released as<br>open source. There are also the reverse engineered radeon drivers, so
<br>they might be interested. And with the graphics card specs being<br>published, this might make it easier to do this.<br><div class="Ih2E3d"><br>&gt; This goes beyond the scope of the Wine project I think. But since Wine
<br>&gt; has the higher level part of DirectX documented and implemented on top<br>&gt; of OpenGL, wouldn&#39;t this be the place to start an independent library?<br>&gt; Codeweavers has a lot of knowledge about Windows, DirectX and Linux.
<br>&gt; Only Microsoft itself would be a better choice, but I don&#39;t think they<br>&gt; really care that much about Linux. ;)<br>&gt;<br>&gt; This would mean that DirectX would be as native to Linux and OSX (and friends) as it would be for Windows. It would be an actual reliable platform that could be used by game developers. It would de-Windows-ize DirectX. Maybe NVIDIA, ATI and Intel would also be interested. They could sell their expensive next-gen cards to those 5% that don&#39;t run Windows if games would actually be released for non-Windows OSes.
<br>&gt;<br>&gt; Or are there really compelling technical reasons to wrap around OpenGL? I can think of the Compiz-issue. Similarly, Microsoft stated that they have to wrap OpenGL around DirectX on Windows, to be able to use both OpenGL and DirectX at the same time (for Aero). But I suspect that this implementation just developed naturally because messing with the drivers would be unthinkable way back when.
<br><br></div>It is only Windows applications that use DirectX. All of the Linux<br>infrastructure (Xgl, Compiz, etc.) is built around OpenGL. Therefore,<br>for Wine to integrate into the Linux desktop infrastructure, DirectX
<br>needs to map onto OpenGL.<br><br>I would say that the best approach would be cooperating with the<br>nouveau, Intel and Radeon Linux graphics driver developers to add the<br>extensions needed to support DirectX. The Intel and Radeon developers
<br>would be useful to have on board, as they might be able to give<br>information on how they are implementing DirectX: this will allow us<br>to cooperate with the Linux driver teams to get the OpenGL extensions<br>needed.
<br><br>As for the nouveau team, it would be interesting to get the renouveau<br>reverse engineering driver running on Windows to reverse engineer the<br>DirectX driver and develop the corresponding OpenGL extensions.<br>
<font color="#888888"><br>- Reece<br><br><br></font></blockquote></div><br>