meson: Add support for the pl111 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 = 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/softpipe')
35 if with_gallium_vc4
36 subdir('drivers/vc4')
37 endif
38 subdir('drivers/llvmpipe')
39 subdir('winsys/sw/null')
40 subdir('winsys/sw/dri')
41 subdir('winsys/sw/kms-dri')
42 subdir('winsys/sw/wrapper')
43 if with_gallium_vc4
44 subdir('winsys/pl111/drm')
45 endif
46 subdir('winsys/radeon/drm')
47 subdir('winsys/amdgpu/drm')
48 subdir('winsys/nouveau/drm')
49 if with_gallium_vc4
50 subdir('winsys/vc4/drm')
51 endif
52 subdir('state_trackers/dri')
53 # TODO: freedreno
54 # TODO: i915
55 # TODO: SVGA
56 # TODO: r300
57 # TODO: r600
58 # TODO: etnaviv
59 # TODO: IMX
60 # TODO: SWR
61 # TODO: virgl
62 # TODO: winsys/sw/xlib
63 # TODO: clover
64 if with_dri
65 subdir('targets/dri')
66 endif
67 # TODO: xlib-glx
68 # TODO: OMX
69 # TODO: osmesa
70 # TODO: VA
71 # TODO: vdpau
72 # TODO: xa
73 # TODO: xvmc
74 # TODO: nine
75 # TODO: tests