2017-09-28 22:25:02 -07:00
|
|
|
# Copyright © 2017 Dylan Baker
|
|
|
|
|
|
|
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
# of this software and associated documentation files (the "Software"), to deal
|
|
|
|
# in the Software without restriction, including without limitation the rights
|
|
|
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
# copies of the Software, and to permit persons to whom the Software is
|
|
|
|
# furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
# The above copyright notice and this permission notice shall be included in
|
|
|
|
# all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
# SOFTWARE.
|
|
|
|
|
2017-09-30 09:03:51 -07:00
|
|
|
inc_gallium_drivers = include_directories('drivers')
|
2017-09-29 20:03:20 -07:00
|
|
|
inc_gallium_winsys = include_directories('winsys')
|
2017-09-28 22:25:02 -07:00
|
|
|
|
|
|
|
subdir('auxiliary')
|
2017-09-29 20:03:20 -07:00
|
|
|
subdir('auxiliary/pipe-loader')
|
2017-09-29 20:21:23 -07:00
|
|
|
subdir('drivers/ddebug')
|
|
|
|
subdir('drivers/noop')
|
|
|
|
subdir('drivers/trace')
|
|
|
|
subdir('drivers/rbug')
|
2017-09-30 09:03:51 -07:00
|
|
|
subdir('drivers/radeon')
|
|
|
|
subdir('drivers/radeonsi')
|
2017-10-09 14:59:35 -07:00
|
|
|
subdir('drivers/nouveau')
|
2017-11-10 17:09:01 -08:00
|
|
|
if with_gallium_freedreno
|
|
|
|
subdir('drivers/freedreno')
|
|
|
|
endif
|
2017-10-10 14:27:19 -07:00
|
|
|
subdir('drivers/softpipe')
|
2017-10-12 13:53:12 -07:00
|
|
|
if with_gallium_vc4
|
|
|
|
subdir('drivers/vc4')
|
|
|
|
endif
|
2017-10-12 18:40:16 -07:00
|
|
|
if with_gallium_vc5
|
|
|
|
subdir('drivers/vc5')
|
|
|
|
endif
|
2017-10-20 15:45:22 -07:00
|
|
|
if with_gallium_etnaviv
|
|
|
|
subdir('drivers/etnaviv')
|
|
|
|
endif
|
2017-10-10 14:56:39 -07:00
|
|
|
subdir('drivers/llvmpipe')
|
2017-09-30 13:48:34 -07:00
|
|
|
subdir('winsys/sw/null')
|
|
|
|
subdir('winsys/sw/dri')
|
|
|
|
subdir('winsys/sw/kms-dri')
|
|
|
|
subdir('winsys/sw/wrapper')
|
2017-10-12 18:39:08 -07:00
|
|
|
if with_gallium_vc4
|
|
|
|
subdir('winsys/pl111/drm')
|
|
|
|
endif
|
2017-09-30 09:03:51 -07:00
|
|
|
subdir('winsys/radeon/drm')
|
|
|
|
subdir('winsys/amdgpu/drm')
|
2017-10-09 14:59:35 -07:00
|
|
|
subdir('winsys/nouveau/drm')
|
2017-10-14 10:08:50 -04:00
|
|
|
subdir('winsys/freedreno/drm')
|
2017-10-12 13:53:12 -07:00
|
|
|
if with_gallium_vc4
|
|
|
|
subdir('winsys/vc4/drm')
|
|
|
|
endif
|
2017-10-12 18:40:16 -07:00
|
|
|
if with_gallium_vc5
|
|
|
|
subdir('winsys/vc5/drm')
|
|
|
|
endif
|
2017-10-20 15:45:22 -07:00
|
|
|
if with_gallium_etnaviv
|
|
|
|
subdir('winsys/etnaviv/drm')
|
|
|
|
endif
|
2017-10-20 15:57:15 -07:00
|
|
|
if with_gallium_imx
|
|
|
|
subdir('winsys/imx/drm')
|
|
|
|
endif
|
2017-11-02 13:36:44 -07:00
|
|
|
if with_glx == 'gallium-xlib'
|
|
|
|
subdir('winsys/sw/xlib')
|
|
|
|
endif
|
2017-10-10 11:57:50 -07:00
|
|
|
subdir('state_trackers/dri')
|
2017-10-24 15:52:57 -07:00
|
|
|
if with_osmesa == 'gallium'
|
|
|
|
subdir('state_trackers/osmesa')
|
|
|
|
endif
|
2017-11-02 13:36:44 -07:00
|
|
|
if with_glx == 'gallium-xlib'
|
|
|
|
subdir('state_trackers/glx/xlib')
|
|
|
|
endif
|
2017-09-30 09:03:51 -07:00
|
|
|
# TODO: i915
|
|
|
|
# TODO: SVGA
|
|
|
|
# TODO: r300
|
|
|
|
# TODO: r600
|
|
|
|
# TODO: SWR
|
|
|
|
# TODO: virgl
|
|
|
|
# TODO: clover
|
2017-10-19 10:28:37 -07:00
|
|
|
if with_dri and with_gallium
|
2017-09-30 14:04:28 -07:00
|
|
|
subdir('targets/dri')
|
2017-09-30 09:03:51 -07:00
|
|
|
endif
|
2017-10-24 15:52:57 -07:00
|
|
|
if with_osmesa == 'gallium'
|
|
|
|
subdir('targets/osmesa')
|
|
|
|
endif
|
2017-11-02 13:36:44 -07:00
|
|
|
if with_glx == 'gallium-xlib'
|
|
|
|
subdir('targets/libgl-xlib')
|
|
|
|
endif
|
2017-09-30 09:03:51 -07:00
|
|
|
# TODO: OMX
|
|
|
|
# TODO: VA
|
|
|
|
# TODO: vdpau
|
|
|
|
# TODO: xa
|
|
|
|
# TODO: xvmc
|
|
|
|
# TODO: nine
|
|
|
|
# TODO: tests
|