c5772b36cb60224dd1ebb2df1c87a271b82de4ab
[mesa.git] / src / gallium / meson.build
1 # Copyright © 2017 Dylan Baker
2
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
9
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
12
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 # SOFTWARE.
20
21 inc_gallium_drivers = include_directories('drivers')
22 inc_gallium_winsys = include_directories('winsys')
23
24 subdir('auxiliary')
25 subdir('auxiliary/pipe-loader')
26 subdir('drivers/ddebug')
27 subdir('drivers/noop')
28 subdir('drivers/trace')
29 subdir('drivers/rbug')
30 subdir('drivers/radeon')
31 subdir('drivers/radeonsi')
32 subdir('drivers/nouveau')
33 if with_gallium_freedreno
34 subdir('drivers/freedreno')
35 endif
36 subdir('drivers/softpipe')
37 if with_gallium_vc4
38 subdir('drivers/vc4')
39 endif
40 if with_gallium_vc5
41 subdir('drivers/vc5')
42 endif
43 if with_gallium_etnaviv
44 subdir('drivers/etnaviv')
45 endif
46 subdir('drivers/llvmpipe')
47 subdir('winsys/sw/null')
48 subdir('winsys/sw/dri')
49 subdir('winsys/sw/kms-dri')
50 subdir('winsys/sw/wrapper')
51 if with_gallium_vc4
52 subdir('winsys/pl111/drm')
53 endif
54 subdir('winsys/radeon/drm')
55 subdir('winsys/amdgpu/drm')
56 subdir('winsys/nouveau/drm')
57 subdir('winsys/freedreno/drm')
58 if with_gallium_vc4
59 subdir('winsys/vc4/drm')
60 endif
61 if with_gallium_vc5
62 subdir('winsys/vc5/drm')
63 endif
64 if with_gallium_etnaviv
65 subdir('winsys/etnaviv/drm')
66 endif
67 if with_gallium_imx
68 subdir('winsys/imx/drm')
69 endif
70 if with_glx == 'gallium-xlib'
71 subdir('winsys/sw/xlib')
72 endif
73 subdir('state_trackers/dri')
74 if with_osmesa == 'gallium'
75 subdir('state_trackers/osmesa')
76 endif
77 if with_glx == 'gallium-xlib'
78 subdir('state_trackers/glx/xlib')
79 endif
80 # TODO: i915
81 # TODO: SVGA
82 # TODO: r300
83 # TODO: r600
84 # TODO: SWR
85 # TODO: virgl
86 # TODO: clover
87 if with_dri and with_gallium
88 subdir('targets/dri')
89 endif
90 if with_osmesa == 'gallium'
91 subdir('targets/osmesa')
92 endif
93 if with_glx == 'gallium-xlib'
94 subdir('targets/libgl-xlib')
95 endif
96 # TODO: OMX
97 # TODO: VA
98 # TODO: vdpau
99 # TODO: xa
100 # TODO: xvmc
101 # TODO: nine
102 # TODO: tests