1 SUBDIRS = 2 3 ## 4 ## Gallium auxiliary module 5 ## 6 7 SUBDIRS += auxiliary 8 SUBDIRS += auxiliary/pipe-loader 9 10 ## 11 ## Gallium pipe drivers and their respective winsys' 12 ## 13 14 SUBDIRS += \ 15 drivers/ddebug \ 16 drivers/noop \ 17 drivers/trace \ 18 drivers/rbug 19 20 ## freedreno/msm/kgsl 21 if HAVE_GALLIUM_FREEDRENO 22 SUBDIRS += drivers/freedreno winsys/freedreno/drm 23 endif 24 25 ## i915g/i915 26 if HAVE_GALLIUM_I915 27 SUBDIRS += drivers/i915 winsys/i915/drm 28 endif 29 30 ## nouveau 31 if HAVE_GALLIUM_NOUVEAU 32 SUBDIRS += drivers/nouveau winsys/nouveau/drm 33 endif 34 35 ## vmwgfx/svga 36 if HAVE_GALLIUM_SVGA 37 SUBDIRS += drivers/svga winsys/svga/drm 38 endif 39 40 ## r300 41 if HAVE_GALLIUM_R300 42 SUBDIRS += drivers/r300 43 endif 44 45 ## radeon - linked into radeonsi 46 if HAVE_GALLIUM_RADEON_COMMON 47 SUBDIRS += drivers/radeon 48 endif 49 50 ## r600 51 if HAVE_GALLIUM_R600 52 SUBDIRS += drivers/r600 53 endif 54 55 ## radeonsi 56 if HAVE_GALLIUM_RADEONSI 57 SUBDIRS += drivers/radeonsi 58 SUBDIRS += winsys/amdgpu/drm 59 endif 60 61 ## the radeon winsys - linked in by r300, r600 and radeonsi 62 if NEED_RADEON_DRM_WINSYS 63 SUBDIRS += winsys/radeon/drm 64 endif 65 66 if HAVE_GALLIUM_ETNAVIV 67 SUBDIRS += drivers/etnaviv winsys/etnaviv/drm 68 endif 69 70 if HAVE_GALLIUM_IMX 71 SUBDIRS += drivers/imx winsys/imx/drm 72 endif 73 74 if HAVE_GALLIUM_PL111 75 SUBDIRS += drivers/pl111 winsys/pl111/drm 76 endif 77 78 ## swrast/softpipe 79 if HAVE_GALLIUM_SOFTPIPE 80 SUBDIRS += drivers/softpipe 81 82 ## swrast/llvmpipe 83 if HAVE_GALLIUM_LLVMPIPE 84 SUBDIRS += drivers/llvmpipe 85 endif 86 endif 87 88 if HAVE_GALLIUM_SWR 89 SUBDIRS += drivers/swr 90 endif 91 92 ## vc4/rpi 93 if HAVE_GALLIUM_VC4 94 SUBDIRS += drivers/vc4 winsys/vc4/drm 95 endif 96 97 ## vc5 98 if HAVE_GALLIUM_VC5 99 SUBDIRS += drivers/vc5 winsys/vc5/drm 100 endif 101 102 ## virgl 103 if HAVE_GALLIUM_VIRGL 104 SUBDIRS += drivers/virgl winsys/virgl/drm winsys/virgl/vtest 105 endif 106 107 ## the sw winsys' 108 SUBDIRS += winsys/sw/null 109 110 if NEED_WINSYS_XLIB 111 SUBDIRS += winsys/sw/xlib 112 endif 113 114 if HAVE_DRISW 115 SUBDIRS += winsys/sw/dri 116 endif 117 118 if HAVE_DRISW_KMS 119 SUBDIRS += winsys/sw/kms-dri 120 endif 121 122 SUBDIRS += winsys/sw/wrapper 123 124 ## 125 ## Don't forget to bundle the remaining (non autotools) winsys' 126 ## 127 128 EXTRA_DIST = \ 129 docs \ 130 README.portability \ 131 SConscript \ 132 winsys/sw/gdi \ 133 winsys/sw/hgl 134 135 136 ## 137 ## Gallium state trackers and their users (targets) 138 ## 139 140 ## XXX: Rename the conditional once we have a config switch for static/dynamic pipe-drivers 141 if HAVE_CLOVER 142 SUBDIRS += targets/pipe-loader 143 endif 144 145 if HAVE_CLOVER 146 SUBDIRS += state_trackers/clover targets/opencl 147 endif 148 149 if HAVE_DRICOMMON 150 SUBDIRS += state_trackers/dri targets/dri 151 endif 152 153 if HAVE_GALLIUM_XLIB_GLX 154 SUBDIRS += state_trackers/glx/xlib targets/libgl-xlib 155 endif 156 157 if HAVE_ST_OMX_BELLAGIO 158 SUBDIRS += state_trackers/omx_bellagio targets/omx-bellagio 159 endif 160 161 if HAVE_GALLIUM_OSMESA 162 SUBDIRS += state_trackers/osmesa targets/osmesa 163 endif 164 165 if HAVE_ST_VA 166 SUBDIRS += state_trackers/va targets/va 167 endif 168 169 if HAVE_ST_VDPAU 170 SUBDIRS += state_trackers/vdpau targets/vdpau 171 endif 172 173 if HAVE_ST_XA 174 SUBDIRS += state_trackers/xa targets/xa 175 endif 176 177 if HAVE_ST_XVMC 178 SUBDIRS += state_trackers/xvmc targets/xvmc 179 endif 180 181 if HAVE_ST_NINE 182 SUBDIRS += state_trackers/nine targets/d3dadapter9 183 endif 184 185 ## 186 ## Don't forget to bundle the remaining (non autotools) state-trackers/targets 187 ## 188 189 EXTRA_DIST += \ 190 include \ 191 state_trackers/README \ 192 state_trackers/wgl targets/libgl-gdi \ 193 targets/graw-gdi targets/graw-null targets/graw-xlib \ 194 state_trackers/hgl targets/haiku-softpipe \ 195 tools 196 197 198 ## 199 ## Gallium tests 200 ## 201 202 if HAVE_GALLIUM_TESTS 203 SUBDIRS += \ 204 tests/trivial \ 205 tests/unit 206 endif 207 208 EXTRA_DIST += \ 209 tests/graw \ 210 tests/python \ 211 meson.build 212