31884f5b72ef401df4876fd21cdeff35e3c63455
[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 subdir('drivers/freedreno')
34 subdir('drivers/softpipe')
35 if with_gallium_vc4
36 subdir('drivers/vc4')
37 endif
38 if with_gallium_vc5
39 subdir('drivers/vc5')
40 endif
41 if with_gallium_etnaviv
42 subdir('drivers/etnaviv')
43 endif
44 subdir('drivers/llvmpipe')
45 subdir('winsys/sw/null')
46 subdir('winsys/sw/dri')
47 subdir('winsys/sw/kms-dri')
48 subdir('winsys/sw/wrapper')
49 if with_gallium_vc4
50 subdir('winsys/pl111/drm')
51 endif
52 subdir('winsys/radeon/drm')
53 subdir('winsys/amdgpu/drm')
54 subdir('winsys/nouveau/drm')
55 subdir('winsys/freedreno/drm')
56 if with_gallium_vc4
57 subdir('winsys/vc4/drm')
58 endif
59 if with_gallium_vc5
60 subdir('winsys/vc5/drm')
61 endif
62 if with_gallium_etnaviv
63 subdir('winsys/etnaviv/drm')
64 endif
65 if with_gallium_imx
66 subdir('winsys/imx/drm')
67 endif
68 if with_glx == 'gallium-xlib'
69 subdir('winsys/sw/xlib')
70 endif
71 subdir('state_trackers/dri')
72 if with_osmesa == 'gallium'
73 subdir('state_trackers/osmesa')
74 endif
75 if with_glx == 'gallium-xlib'
76 subdir('state_trackers/glx/xlib')
77 endif
78 # TODO: i915
79 # TODO: SVGA
80 # TODO: r300
81 # TODO: r600
82 # TODO: SWR
83 # TODO: virgl
84 # TODO: clover
85 if with_dri and with_gallium
86 subdir('targets/dri')
87 endif
88 if with_osmesa == 'gallium'
89 subdir('targets/osmesa')
90 endif
91 if with_glx == 'gallium-xlib'
92 subdir('targets/libgl-xlib')
93 endif
94 # TODO: OMX
95 # TODO: VA
96 # TODO: vdpau
97 # TODO: xa
98 # TODO: xvmc
99 # TODO: nine
100 # TODO: tests