Skip to content
Snippets Groups Projects
Commit 72fb0cfe authored by Steve Lhomme's avatar Steve Lhomme
Browse files

meson: add d3d11 video output

parent 06d5eb50
No related branches found
No related tags found
Loading
......@@ -20,6 +20,10 @@ if libplacebo_dep.found()
subdir('libplacebo')
endif
if host_system == 'windows'
subdir('win32')
endif
# Dummy video output
vlc_modules += {
'name' : 'vdummy',
......
#
# Win32 Video output modules
#
# Direct3D11 video output
d3d11_sources = files('direct3d11.cpp', 'd3d11_quad.cpp', 'd3d11_shaders.cpp', 'd3d_shaders.c', 'd3d_dynamic_shader.c', 'd3d11_swapchain.cpp', 'dxgi_swapchain.cpp', 'common.c')
d3d11_link_with = [ d3d11_common_lib ]
if get_option('winstore_app')
d3d11_link_with += [
cc.find_library('d3d11'),
cc.find_library('d3dcompiler_47')
]
else
d3d11_sources += files('events.c', 'sensors.cpp', 'win32touch.c')
d3d11_link_with += [ chroma_copy_lib ]
endif
vlc_modules += {
'name' : 'direct3d11',
'sources' : d3d11_sources,
'link_with' : d3d11_link_with
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment