Ben Byer wrote:
> I've spent some time trying to figure this out on my own, but it's  
> too much for me.  I'd appreciate any advice.
> 
> Historically, Apple has shipped a libGL based on an old version of  
> Mesa that was bundled as part of the XFree86 distribution.  As far as  
> I can tell, we made significant modifications to add "AppleDRI"  
> support for direct rendering using native OpenGL calls on OS X.  The  
> source for all of this is here:
> 
> http://www.opensource.apple.com/darwinsource/10.4.8.x86/X11-0.40.80/ 
> xc/lib/GL/apple/
> 
> ... fast forward to today.  We will soon be shipping an X server  
> based on X.org X11R7.2, using MesaLib 6.5.2.  I was able to get  
> indirect rendering working correctly, but I can't figure out how to  
> forward-port those patches into MesaLib 6.5.2.
> 
> What would be the best way to do this?  I'd like to eventually have  
> these changes merged back into Mesa, but I have the feeling that the  
> Apple code is currently hacked on, and would be more appropriate  
> living in src/mesa/drivers/apple.
> 
> Thoughts?

I took a quick look at the above-mentioned files.  It looks like some of 
them are client-side and others are server-side.  The server-side things 
would go into the X.org xserver/ tree while the client-side things would 
go into Mesa.

On the server-side, you'll have to replace the old Imakefile with some 
changes to the Makefile.am files.

On the client side, it looks like you have some changes for the 
Mesa/src/glx/x11/ directory.

In either case, if you can provide some patches I could check them in.

BTW, I'd recommend Mesa 7.0.x over Mesa 6.5.2 because the former is the 
stable release with bug fixes since 6.5.2.

-Brian

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to