[Xquartz-dev] Google Summer of Code 2008 query

Pelle Johansson morth at morth.org
Fri Mar 28 00:38:54 PDT 2008


Well, as for planning how it should be done, once an understanding is  
grasped of the source tree, I think it should go something like this.

1) Separate out the tight dependency of the drm library from the  
XF86Dri protocol, from xserver and mesa.

That would be the optimal solution, but requires cooperation with the  
linux/bsd X developers. It they object to this, the alternative is to  
make a fake drm library for OS X, even though the architecture is  
completely different.

2) Implement the server side dri driver.

If I'm correct (Jeremy might fill in here), OS X does not need much  
server side support for DRI. This would be a file implementing the  
same protocol as xserver/hw/xfree86/dri/dri.c, probably based on  
xserver/hw/xquartz/xpr/dri.c.

3) Do the client side driver.

Here I'm getting less knowledgeable at the specifics, someone else  
might que in. But it should be implementing the mesa driver interface,  
and call the functions in OpenGL.framework.
-- 
Pelle Johansson

28 mar 2008 kl. 03.36 skrev Jeremy Huddleston:
> If you search the xquartz-dev and x11-users archives, you should  
> find some discussion about this.  Pelle Johansson and I both made  
> some stabs at fixing DRI for OSX.  Pelle made a bit more progress  
> than I did (there are patches in this lists archives around March  
> 7)... but this still used Apple-DRI.  We'd like to migrate over to  
> using XF86-DRI instead, so we don't waste cycles re-creating the  
> wheel.  Plus this allows us to just maintain the interface between  
> Mesa and OpenGL.framework rather than the entire DRI infrastructure  
> as well.
>
> --Jeremy
>
> On Mar 26, 2008, at 21:30, David Shao wrote:
>> If I understand correctly, the current plan is maybe to write a "DRI
>> driver using OpenGL.framework", but have enough decisions been made  
>> to
>> even formulate some sort of proposal for Google Summer of Code 2008?
>> Sorry for the relatively late inquiry.
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/xquartz-dev



More information about the Xquartz-dev mailing list