Re: Xnvidia?
Mike Russell <plazmatikz-OA6R/[email protected]>
| Newsgroups | gmane.comp.freedesktop.xserver |
|---|---|
| Message-ID | <1069458502.8499.2.camel@midge> |
Would it be possible to use the open source nv driver as a base for a kdrive driver? On Sat, 2003-11-22 at 09:00, [email protected] wrote: > I was wondering if its possible to write a wrapper > around the standard driver calls that map it to > kdriver, so i can use, for example, the nvidia driver > w/ kdrive. > >>>>>>>>>>>>>>>>> > I've looked into this. It would probably be pretty hairy. The NVIDIA driver > makes 241 different calls into the X server. These fall into 4 catagories: > > 1) Trivial mappings : Subsitute malloc(), cos(), etc for Xalloc(), xf86cos(), etc. > 2) XF86-specific functions : Dealing with graphics contexts, backing store etc. > 3) Hardware access routines : Functions to read registers, mmap()'ed areas, etc. > 4) Driver support routines : The mi* functions. > > I don't know how similar kdrive and XFree86 are, but (2) and (4) would be really > hard, especially without source code to the driver. > > > _______________________________________________ > Xserver mailing list > Xserver-u7BhqnqprCWvj1b/[email protected] > http://pdx.freedesktop.org/cgi-bin/mailman/listinfo/xserver >