Cheshire Cat Fish wrote:

I am investigating supporting DRI and OpenGL for the Silicon Motion driver.
I'm new to both of those, so some of these may be newbie sounding questions.


1) I have the OpenGL code from the Windows 2000 Silicon Motion driver. Can this code be mostly used "as is"? Or will the Linux code be entirely different?

Depending on licensing issues attached to the code you have and how you want to distribute it, you may be able to use a lot or a little. All of the existing open-source drivers are based on Mesa, and the whole build process for 3D drivers in XFree86 is built on that. I suspect, but am in no position to say for sure, that any "contributed" drivers would have to conform to that. Porting the existing driver to use Mesa would probably be a lot of work, but it shouldn't be insurmountable.


If you want to basically use your existing code as-is, you can port it to just interface with the XFree86 libGL.so. That would be a much smaller task, but it would leave you on your own (pretty much) to support and distribute the driver. I don't think it would get included in an XFree86 release. There's also the issue of the license that may be attached to the existing code, but as I'm neither a lawyer or an official XFree86 maintainer I'm in no position to comment.

2) In the DRI Users Guide, section 3.2-Graphics Hardware, Silicon Motion is not listed as currently being supported. Is this still the case? Is anyone working on this? Or am I starting from scratch?

This hardware is not supported and I know of nobody that is working on it.


3) How big of a task am I looking at here? Since I alrady have the Win2k OGL code to base my work on, it seems to me it shouldn't be too hard to drop that code in and hook it up to DRI. A few weeks maybe? Or am I missing something fundamental?

There are way too many variables to be able to accurately answer that question (see my answer to your first question). :)



_______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel

Reply via email to