Quoting Brian Paul ([EMAIL PROTECTED]): > Denis Oliver Kropp wrote: > >I think the DRI drivers should be moved into the dri/ directory > >which itself should be in the drivers/ directory, because drivers/ > >contains the public APIs of Mesa, e.g. OSMesa, fxMesa etc. > >The dri/ directory will contain windowing system independent code > >as a public interface to the DRI drivers. The DRI drivers won't be > >used by applications directly. > > > >My suggestion: > > > > drivers/ > > common/ - reusable driver code > > and transform_dd/ files > > x11/ - X11 (XMesa) driver > > osmesa/ - OSMesa driver > > swfbdev/ - software fbdev driver > > windows/ > > beos/ > > ggi/ > > glide/ - was FX driver > > dos/ > > dri/ - dri driver interface > > common/ - reusable driver > > code > > radeon/ - DRI/fbdev driver > > r200/ - DRI/fbdev driver > > mga/ - DRI/fbdev driver > > > > Where do you propose that the files currently in Mesa/src/dri/ (such > as dri_glx.c, glxclient.h, etc) belong? src/dri-es/ is the place I > was planning on.
dri_glx.c and glxclient.h are part of XFree86 GLX/DRI AFAIK, so I think they belong into src/glx/. MiniGLX doesn't need dri_glx.c or glxclient.h. Also, extra "-es" versions shouldn't be needed as drivers/dri/ won't get that big and works for embedded and full driver builds. > Also, I want to try to keep all source files as leaves in the tree. > That is, a directory foo/ won't contain both files and subdirs; just > one or the other. What about this? dri/ - dri driver interface api/ - public api common/ - reusable driver code radeon/ - DRI driver r200/ - DRI driver mga/ - DRI driver -- Best regards, Denis Oliver Kropp .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" Convergence GmbH ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel