mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user