summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2021-04-09 09:14:54 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2021-11-03 14:09:27 +0100
commit9d5d9b24240efe98cf99bbda2cb5280b025506d8 (patch)
treec76c6f2437804732d84d18bd91a41641fc5bdd77 /wscript
parent872015813c6e181900faab5d1e53bb636bf8757f (diff)
downloadmpv-9d5d9b24240efe98cf99bbda2cb5280b025506d8.tar.bz2
mpv-9d5d9b24240efe98cf99bbda2cb5280b025506d8.tar.xz
vo_gpu_next: add new libplacebo-based renderer
As discussed in #8799, this will eventually replace vo_gpu. However, it is not yet complete. Currently missing: - OpenGL contexts - hardware decoding - blend-subtitles=video - VOCTRL_SCREENSHOT However, it's usable enough to cover most use cases, and as such is enough to start getting in some crucial testing.
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 6 insertions, 0 deletions
diff --git a/wscript b/wscript
index b44adc2ad4..89b8603170 100644
--- a/wscript
+++ b/wscript
@@ -740,6 +740,12 @@ video_output_features = [
'desc': 'libplacebo support',
'func': check_pkg_config('libplacebo >= 3.104.0'),
}, {
+ 'name': 'libplacebo-v4',
+ 'desc': 'libplacebo v4.157+, needed for vo_gpu_next',
+ 'deps': 'libplacebo',
+ 'func': check_preprocessor('libplacebo/config.h', 'PL_API_VER >= 157',
+ use='libplacebo'),
+ }, {
'name': '--vulkan',
'desc': 'Vulkan context support',
'deps': 'libplacebo',