On Thu, 2003-09-11 at 09:15, Benjamin Herrenschmidt wrote:
> On Wed, 2003-09-10 at 18:12, Michel Dänzer wrote:
> > On Wed, 2003-09-10 at 17:59, Alex Deucher wrote:
> > > Factoring it out is not a problem. the question is what to do with it
> > > when I pull it out.  create an external external libray like
> > > libXMergedFB.so or something like that?  
> > 
> > I was thinking of creating a new module like shadowfb.
> > 
> > > what's the preferred method? any existing examples I can look at?
> > 
> > Another example is the Xv helper functions which were factored out to
> > programs/Xserver/hw/xfree86/common/xf86xv.c .
> 
> And broken for big endian last time I tried ;) Mark had to revert
> "nv" to use it's built-in functions for BE to work again...

The nv driver could adapt the framebuffer aperture byte swapping before
calling the common functions as other drivers do.


-- 
Earthling Michel Dänzer   \  Debian (powerpc), XFree86 and DRI developer
Software libre enthusiast  \     http://svcs.affero.net/rm.php?r=daenzer



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to