gstreamer/ext/vulkan/meson.build
Matthew Waters 5363b30f6c vulkan: add a color conversion element
Currently converts between all 4-component RGBA/RGBx formats.
2019-06-20 01:41:56 +10:00

35 lines
857 B
Meson

if get_option('vulkan').disabled()
subdir_done()
endif
glslc = find_program('glslc', required: get_option('vulkan'))
if not glslc.found()
subdir_done()
endif
subdir('shaders')
vulkan_sources = [
'gstvulkan.c',
'vkcolorconvert.c',
'vkdownload.c',
'vkfullscreenrender.c',
'vkimageidentity.c',
'vksink.c',
'vkshader.c',
'vkswapper.c',
'vktrash.c',
'vkupload.c',
]
gstvulkan_plugin = library('gstvulkan',
vulkan_sources, vulkan_compiled_shader_sources,
c_args : gst_plugins_bad_args,
objc_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
dependencies : [gstvideo_dep, gstbase_dep, gstvulkan_dep, vulkan_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstvulkan_plugin, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstvulkan_plugin]