On Sat, Jun 7, 2008 at 12:07 AM, Younes Manton <[EMAIL PROTECTED]> wrote: > On Fri, Jun 6, 2008 at 6:12 AM, José Fonseca > <[EMAIL PROTECTED]> wrote: >> On Fri, Jun 6, 2008 at 10:47 AM, Younes Manton <[EMAIL PROTECTED]> wrote: >>> As an aside, is there any preferred directory structure people would >>> like to see for state trackers? Right now I'm using Nouveau's gallium >>> but this isn't necessarily nouveau specific and may find a home >>> elsewhere in the future. I'll be putting things in >>> gallium/state_trackers/g3dvl (g3dvl being gallium3d video layer) with >>> the following structure: >>> >>> src/ >>> libXvMC/ >>> tests/ >>> libVAAPI/ >>> tests/ >>> vl/ >>> tests/ >>> winsys/ >>> >>> vl/ is where the state tracker stuff is, although since VAAPI and XvMC >>> are somewhat similar (especially for mpeg2) I'm hoping to use the same >>> state tracker. For that reason things don't look like they do in the >>> mesa state tracker, I don't use XvMC types in the state tracker and >>> don't necessarily map 1:1 with XvMC functions. >> >> Directory structure is not entirely consensual. But the general >> existing principles are: >> - standalone libraries (no gallium dependency) in src/ >> - gallium auxiliary libraries (gallium dependency) in src/gallium/auxiliary/ >> - in lack of better place, state trackers in src/gallium/state_trackers/ >> - pipe drivers in src/gallium/drivers/ >> - winsys in src/gallium/winsys/ >> >> So according to that above, your tree would be separated and go into >> - src/libXvMC/ >> - src/libVAAPI/ >> - src/gallium/state_trackers/vl >> - src/gallium/winsys/vl > > Assuming I had my own repo you mean, or in mesa?
I was referring to mesa. > I was planning on > using nouveau/mesa for the near future since Stephane is my mentor and > nouveau is what I plan to move on to once things are working with > softpipe, which would put libXvMC/ and libVAAPI/ alongside mesa/. > Don't know how others would feel about non mesa libs at the top of the > mesa tree, or if that's not a big deal. > >> BTW, do you have your code available somewhere? > > Uploaded a copy to http://www.bitblit.org/gsoc/g3dvl/src/ and will > soon commit current work to nouveau/mesa, > http://www.bitblit.org/gsoc/g3dvl/ is where I keep general info and > progress, etc. It's looking good. Looking forward to see the final outcome. Jose ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel