dependencies : [dep_libdrm_etnaviv, dep_lmsensors],
build_by_default : false,
)
+
+driver_etnaviv = declare_dependency(
+ compile_args : '-DGALLIUM_ETNAVIV',
+ link_with : [libetnaviv, libetnavivdrm],
+)
dependencies : [dep_libdrm, dep_libdrm_freedreno],
)
+driver_freedreno = declare_dependency(
+ compile_args : '-DGALLIUM_FREEDRENO',
+ link_with : [libfreedrenowinsys, libfreedreno],
+)
+
ir3_compiler = executable(
'ir3_compiler',
'ir3/ir3_cmdline.c',
c_args : [c_vis_args],
include_directories : [inc_include, inc_src, inc_gallium, inc_gallium_aux],
)
+
+driver_i915 = declare_dependency(
+ compile_args : '-DGALLIUM_I915',
+ link_with : [libi915, libi915drm],
+)
dependencies : dep_llvm,
)
+# This overwrites the softpipe driver dependency, but itself depends on the
+# softpipe dependency.
+driver_swrast = declare_dependency(
+ compile_args : '-DGALLIUM_LLVMPIPE',
+ link_with : libllvmpipe,
+ dependencies : driver_swrast,
+)
+
if with_tests and with_gallium_softpipe and with_llvm
foreach t : ['lp_test_format', 'lp_test_arit', 'lp_test_blend',
'lp_test_conv', 'lp_test_printf']
link_with : [libnouveau, libgallium, libmesa_util],
build_by_default : false,
)
+
+driver_nouveau = declare_dependency(
+ compile_args : '-DGALLIUM_NOUVEAU',
+ link_with : [libnouveauwinsys, libnouveau],
+)
dependencies : [dep_libdrm_radeon, dep_llvm],
)
+driver_r300 = declare_dependency(
+ compile_args : '-DGALLIUM_R300',
+ link_with : [libr300, libradeonwinsys],
+)
+
if with_tests
test('r300_compiler_test', executable(
'r300_compiler_test',
],
dependencies: [dep_libdrm_radeon, dep_elf, dep_llvm],
)
+
+driver_r600 = declare_dependency(
+ compile_args : '-DGALLIUM_R600',
+ link_with : [libr600, libradeonwinsys],
+)
cpp_args : [cpp_vis_args],
dependencies : dep_llvm,
)
+
+driver_radeonsi = declare_dependency(
+ compile_args : '-DGALLIUM_RADEONSI',
+ sources : si_driinfo_h,
+ link_with : [
+ libradeonsi, libradeon, libradeonwinsys, libamdgpuwinsys, libamd_common,
+ libnir,
+ ],
+)
include_directories : [inc_gallium_aux, inc_gallium, inc_include, inc_src],
c_args : [c_vis_args, c_msvc_compat_args],
)
+
+driver_swrast = declare_dependency(
+ compile_args : '-DGALLIUM_SOFTPIPE',
+ link_with : libsoftpipe
+)
include_directories('include')
],
)
+
+driver_svga = declare_dependency(
+ compile_args : '-DGALLIUM_VMWGFX',
+ link_with : [libsvga, libsvgadrm],
+)
dependencies : [dep_simpenrose, dep_libdrm, dep_valgrind],
build_by_default : false,
)
+
+driver_vc4 = declare_dependency(
+ compile_args : '-DGALLIUM_VC4',
+ link_with : [libvc4, libvc4winsys, libbroadcom_cle, libnir],
+)
cpp_args : [cpp_vis_args],
dependencies : [dep_v3dv3, dep_libdrm, dep_valgrind],
)
+
+driver_vc5 = declare_dependency(
+ compile_args : '-DGALLIUM_VC5',
+ link_with : [libvc5, libvc5winsys, libbroadcom_cle, libbroadcom_vc5, libnir],
+)
include_directories : inc_common,
dependencies : dep_libdrm,
)
+
+driver_virgl = declare_dependency(
+ compile_args : '-DGALLIUM_VIRGL',
+ link_with : [libvirgl, libvirgldrm, libvirglvtest],
+)
if with_llvm
subdir('drivers/llvmpipe')
endif
+else
+ driver_swrast = declare_dependency()
endif
if with_gallium_r300 or with_gallium_radeonsi or with_gallium_r600
subdir('winsys/radeon/drm')
endif
if with_gallium_r300
subdir('drivers/r300')
+else
+ driver_r300 = declare_dependency()
endif
if with_gallium_r600
subdir('drivers/r600')
+else
+ driver_r600 = declare_dependency()
endif
if with_gallium_radeonsi
subdir('winsys/amdgpu/drm')
subdir('drivers/radeon')
subdir('drivers/radeonsi')
+else
+ driver_radeonsi = declare_dependency()
endif
if with_gallium_nouveau
subdir('winsys/nouveau/drm')
subdir('drivers/nouveau')
+else
+ driver_nouveau = declare_dependency()
endif
if with_gallium_freedreno
subdir('winsys/freedreno/drm')
subdir('drivers/freedreno')
+else
+ driver_freedreno = declare_dependency()
endif
if with_gallium_pl111
subdir('winsys/pl111/drm')
+else
+ driver_pl111 = declare_dependency()
endif
if with_gallium_vc4
subdir('winsys/vc4/drm')
subdir('drivers/vc4')
+else
+ driver_vc4 = declare_dependency()
endif
if with_gallium_vc5
subdir('winsys/vc5/drm')
subdir('drivers/vc5')
+else
+ driver_vc5 = declare_dependency()
endif
if with_gallium_etnaviv
subdir('winsys/etnaviv/drm')
subdir('drivers/etnaviv')
+else
+ driver_etnaviv = declare_dependency()
endif
if with_gallium_imx
subdir('winsys/imx/drm')
+else
+ driver_imx = declare_dependency()
endif
if with_gallium_i915
subdir('winsys/i915/drm')
subdir('drivers/i915')
+else
+ driver_i915 = declare_dependency()
endif
if with_gallium_svga
subdir('winsys/svga/drm')
subdir('drivers/svga')
+else
+ driver_svga = declare_dependency()
endif
if with_gallium_virgl
subdir('winsys/virgl/drm')
subdir('winsys/virgl/vtest')
subdir('drivers/virgl')
+else
+ driver_virgl = declare_dependency()
endif
# TODO: SWR
# TODO: clover
include_directories('../..'),
],
)
+
+driver_imx = declare_dependency(
+ c_args : '-DGALLIUM_IMX',
+ link_with : libimxdrm,
+)
c_args : [c_vis_args],
dependencies: dep_libdrm,
)
+
+driver_pl111 = declare_dependency(
+ c_args : '-DGALLIUM_PL111',
+ link_with : libpl111winsys,
+)