vo_gpu_next: remove/simplify plane flipping hacks

libplacebo v198 fixed this properly by adding the ability to flip planes
directly, which is done automatically by the swapchain helpers.

As such, we no longer need to concern ourselves with hacky logic to flip
planes using the crop. This also removes the need for the OSD coordinate
hack on OpenGL.
This commit is contained in:
Niklas Haas
2022-02-22 20:04:31 +01:00
committed by Niklas Haas
parent 626fa506d5
commit b1fb4b783b
3 changed files with 14 additions and 42 deletions

View File

@@ -965,14 +965,14 @@ if libplacebo.found()
sources += files('video/out/placebo/ra_pl.c',
'video/out/placebo/utils.c')
pl_api_ver = libplacebo.version().split('.')[1]
if pl_api_ver.version_compare('>=197')
if pl_api_ver.version_compare('>=199')
features += 'libplacebo-next'
libplacebo_next = true
message('libplacebo v4.197+ found! Enabling vo_gpu_next.')
message('libplacebo v4.199+ found! Enabling vo_gpu_next.')
sources += files('video/out/vo_gpu_next.c',
'video/out/gpu_next/context.c')
else
message('libplacebo v4.197+ not found! Disabling vo_gpu_next.')
message('libplacebo v4.199+ not found! Disabling vo_gpu_next.')
endif
endif