On Fri, Nov 20, 2009 at 12:11 PM, Dan Kegel <span dir="ltr"><<a href="mailto:dank@kegel.com">dank@kegel.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, Nov 20, 2009 at 9:57 AM, Sir Gallantmon <<a href="mailto:ngompa13@gmail.com">ngompa13@gmail.com</a>> wrote:<br>
> On Fri, Nov 20, 2009 at 11:07 AM, Dan Kegel <<a href="mailto:dank@kegel.com">dank@kegel.com</a>> wrote:<br>
</div><div class="im">>> > What do you think about implementing wineserver kernel module or<br>
>> > handling only performance critical items in kernel?<br>
>><br>
>> There has long been talk of doing that. �Linus is<br>
>> even willing to take patches to implement win32 APIs<br>
>> in the linux kernel.<br>
>> But it turns out to not be what most people need.<br>
><br>
</div><div class="im">> What do you mean by that? Wouldn't it be a good idea to be able to support<br>
> some parts of Wine in the kernel level to be more efficient?<br>
<br>
</div>Of course. �It's just hard, and it isn't needed for the things<br>
we tend to use Wine for at the moment. �Somebody actually<br>
had a shot at implementing this back in 2000, see<br>
<a href="http://lwn.net/2000/0914/a/lt-wine.php3" target="_blank">http://lwn.net/2000/0914/a/lt-wine.php3</a><br>
And that work lives on, it seems, as a part of<br>
<a href="http://en.wikipedia.org/wiki/Linux_Unified_Kernel" target="_blank">http://en.wikipedia.org/wiki/Linux_Unified_Kernel</a><br>
So go try it out if you like (although I'm not sure<br>
how safe it is for production).<br>
<br>
I think the Wine team doesn't need to worry about<br>
that stuff; we have our hands full just making the<br>
win32 userland work well.<br>
<font color="#888888">- Dan<br>
</font></blockquote></div><br><div>I would think that maybe the work Wine does for Direct3D could be moved into a state tracker for Gallium, that way it shouldn't be necessary to convert from Direct3D to OpenGL to make it work. I doubt Direct3D and OpenGL include equivalents for everything, so it might be a good idea to have for a SoC project to hook up Wine's D3D implementation into Gallium.</div>