mirror of
https://github.com/videolan/vlc.git
synced 2024-11-24 02:14:26 +08:00
meson: add d3d11 video output
This commit is contained in:
parent
06d5eb505d
commit
72fb0cfe64
@ -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',
|
||||
|
22
modules/video_output/win32/meson.build
Normal file
22
modules/video_output/win32/meson.build
Normal file
@ -0,0 +1,22 @@
|
||||
#
|
||||
# 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user