570c37e647544f10399478150bfa019a3221a31c
[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 = include_directories('include')
22 inc_gallium_drivers = include_directories('drivers')
23 inc_gallium_winsys = include_directories('winsys')
24
25 subdir('auxiliary')
26 subdir('auxiliary/pipe-loader')
27 subdir('drivers/ddebug')
28 subdir('drivers/noop')
29 subdir('drivers/trace')
30 subdir('drivers/rbug')
31 subdir('drivers/radeon')
32 subdir('drivers/radeonsi')
33 subdir('drivers/nouveau')
34 subdir('drivers/freedreno')
35 subdir('drivers/softpipe')
36 if with_gallium_vc4
37 subdir('drivers/vc4')
38 endif
39 if with_gallium_vc5
40 subdir('drivers/vc5')
41 endif
42 if with_gallium_etnaviv
43 subdir('drivers/etnaviv')
44 endif
45 subdir('drivers/llvmpipe')
46 subdir('winsys/sw/null')
47 subdir('winsys/sw/dri')
48 subdir('winsys/sw/kms-dri')
49 subdir('winsys/sw/wrapper')
50 if with_gallium_vc4
51 subdir('winsys/pl111/drm')
52 endif
53 subdir('winsys/radeon/drm')
54 subdir('winsys/amdgpu/drm')
55 subdir('winsys/nouveau/drm')
56 subdir('winsys/freedreno/drm')
57 if with_gallium_vc4
58 subdir('winsys/vc4/drm')
59 endif
60 if with_gallium_vc5
61 subdir('winsys/vc5/drm')
62 endif
63 if with_gallium_etnaviv
64 subdir('winsys/etnaviv/drm')
65 endif
66 if with_gallium_imx
67 subdir('winsys/imx/drm')
68 endif
69 subdir('state_trackers/dri')
70 # TODO: i915
71 # TODO: SVGA
72 # TODO: r300
73 # TODO: r600
74 # TODO: SWR
75 # TODO: virgl
76 # TODO: winsys/sw/xlib
77 # TODO: clover
78 if with_dri and with_gallium
79 subdir('targets/dri')
80 endif
81 # TODO: xlib-glx
82 # TODO: OMX
83 # TODO: osmesa
84 # TODO: VA
85 # TODO: vdpau
86 # TODO: xa
87 # TODO: xvmc
88 # TODO: nine
89 # TODO: tests