I'll dedicate some time now to reorganize gallium's code & build process. This 
is
stuff which has been discussed internally at TG several times, but this time I
want to get it done.

My objectives are:
 - leaner and more easy to understand/navigate source tree
 - reduce (or even eliminate) merges between private branches of the common 
gallium parts
 - help keep the gallium tree portable, by keeping things separate.

My plan is:

1. Physically separate gallium source code from mesa code. This will be the
final layout:

- src/mesa
- src/gallium
  - state_tracker
    - ogl
    - ...
  - drivers
    - i915simple
    - i965simple
    - cell
    - ...
  - winsys
    - dri
      - intel
      - ...
    - xlib
    - ...
  - aux
    - tgsi
    - draw
    - pipebuffer
    - llvm
    - cso_cache
    - ...

i.e., give a subdir in src/gallium to each gallium architectural layer.

2. Eliminate mesa includes out of the gallium source code from
everything but mesa's state_tracker (and eventually some winsys). 

3. Using scons, enhance the build system to support all platforms we are 
interested (i.e., linux and win32, atm), 

4. Teach the build system how to pick and build pipe/winsys drivers
outside of the tree.

Jose



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to