mpv/video
Niklas Haas e97e0e4d92 vo_gpu_next: don't flush cache on OSD update
Flushing the cache is a hammer-for-a-screw operation, because it nukes
*all* renderer state, including the HDR peak detection state. When
enabling e.g. --hdr-compute-peak, or any other future methods of dynamic
tone mapping, this would lead to bad results (e.g. brightness
fluctuations) whenever the OSD state is updated.

Instead of flushing the cache to force an OSD re-render, instead just
update the frame signature directly whenever its osd_sync value changes.
This accomplishes effectively the same thing but without touching the
HDR state.

This is slightly violating the libplacebo abstraction in a way that
isn't publicly documented. To be on the safe side we could make a carbon
copy of the array before modifying it, but given that this is unlikely
to change upstream I'll probably just end up explicitly documenting it
instead of forcing the copy in mpv.
2022-11-25 02:15:05 +01:00
..
decode vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
filter filters: lavfi: allow hwdec_interop selection for filters 2022-09-21 09:39:34 -07:00
out vo_gpu_next: don't flush cache on OSD update 2022-11-25 02:15:05 +01:00
csputils.c
csputils.h
cuda.c
d3d.c
d3d.h
drmprime.c video/drmprime: fix use-after-free 2022-08-09 22:19:45 -07:00
fmt-conversion.c filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now 2022-10-29 18:49:46 -07:00
fmt-conversion.h
hwdec.c filters: support loading new hwdec_interops from filters 2022-09-21 09:39:34 -07:00
hwdec.h vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
image_loader.c
image_loader.h
image_writer.c
image_writer.h
img_format.c
img_format.h filters/f_hwtransfer: remove VAAPI <-> Vulkan mapping for now 2022-10-29 18:49:46 -07:00
mp_image.c mp_image: strip DoVi metadata that requires an EL 2022-09-28 02:28:37 +02:00
mp_image.h
mp_image_pool.c f_hwtransfer: mp_image_pool: support HW -> HW mapping 2022-09-21 09:39:34 -07:00
mp_image_pool.h f_hwtransfer: mp_image_pool: support HW -> HW mapping 2022-09-21 09:39:34 -07:00
repack.c repack: add repacker for ccc16x16 formats 2022-09-10 12:31:44 -07:00
repack.h
sws_utils.c
sws_utils.h
vaapi.c
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
zimg.c
zimg.h