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