xref: /reactos/dll/opengl/Mesa_for_ReactOS.txt (revision 50cf16b3)
1Here is a brief explanation on how to sync Mesa in trunk base.
2
3Current version is 8.0.4
4
5- SOURCE FILES :
6________________
7
8All unnecessary files and directories where removed from the tree, as it's already a huge piece of code.
9
10 - build tools (bin, configs, scons, src/gallium/tools) were removed, as we don't use it.
11 - documentation (docs, src/gallium/docs, doxygen) were removed. If you want to contribute to libMesa, you'd better use their build system, not our adapted one
12 - tests and testing tools were removed (test, src/gallium/tests, src/gallium/tools)
13 - egl functionality (src/egl) is useless to us and were removed.
14 - gbm functionality (src/gbm) is useless to us and were removed.
15 - getopt implementation (src/getopt, for MSVC compatibility) is useless to us, we already have one
16 - glx (src/glx) functionality is useless to us and were removed.
17 - src/gallium
18   - All gallium drivers (src/gallium/driver) where deleted, except for the softpipe  one.
19   - All gallium state trackers (src/gallium/state_trackers) were removed, except for the wgl one
20   - All gallium targets (src/gallium/targets) were removed, except for the libgl-gdi one.
21   - All gallium window system backends (src/gallium/winsys) were removed, except for the gdi one (sw/gdi)
22 - src/mapi
23   - only mapi and glapi directories were relevant and kept
24 - src/mesa
25   - All MESA drivers where deleted (src/mesa/drivers), except for the "common" part and osmesa (off-screen mesa) library.
26   - Architecture specifics were removed. x86 and x86_64 might be restored in future
27 - src/glu where kept and will be used for the glu32 dll implementation
28
29
30- GENERATED FILES:
31__________________
32
33libMesa build system generates source files (using scons).
34They were taken from an out-of-source build an put in the "generated" directory, using the same
35directory structure for the sake of ease of maintainability.
36
37
38- CMAKELISTS FILES:
39___________________
40
41Those files were written using the Sconscript and source list files as reference. I think that diff-ing them between two
42versions would permit to easily update the cmake configuration files.
43