mpv/video/out
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
..
cocoa
d3d11 vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
gpu lcms: fix validate_3dlut_size_opt 2022-11-21 17:39:37 +01:00
gpu_next vo_gpu_next: vulkan: libplacebo: unify log prefix 2022-10-09 21:47:35 +02:00
hwdec vo: hwdec: remove legacy_names 2022-11-15 16:33:12 +01:00
mac mac: avoid unnecessary unsafe conversions; fixes crash in debug builds 2022-09-14 16:28:12 -05:00
opengl drm: remove legacy API 2022-11-16 09:32:55 +01:00
placebo vo_gpu_next: vulkan: libplacebo: unify log prefix 2022-10-09 21:47:35 +02:00
vulkan vo_gpu_next: vulkan: libplacebo: unify log prefix 2022-10-09 21:47:35 +02:00
win32
wldmabuf vo_dmabuf_wayland: use special ra_ctx_create_by_name 2022-10-28 02:36:46 +00:00
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac: avoid unnecessary unsafe conversions; fixes crash in debug builds 2022-09-14 16:28:12 -05:00
cocoa_common.h
cocoa_common.m various: fix typos 2022-04-25 09:07:18 -04:00
dither.c video/out/dither: remove custom index_t typedef 2022-06-04 01:23:03 +02:00
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c vo_gpu/hwdec: rename and introduce legacy names for some interops 2022-10-11 10:07:48 -07:00
drm_atomic.h drm: context_drm_egl: add support for enabling VRR 2022-04-05 20:56:36 -07:00
drm_common.c drm: remove legacy API 2022-11-16 09:32:55 +01:00
drm_common.h drm: remove legacy API 2022-11-16 09:32:55 +01:00
drm_prime.c
drm_prime.h
filter_kernels.c various: fix typos 2022-04-25 09:07:18 -04:00
filter_kernels.h
libmpv.h
libmpv_sw.c
present_sync.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
present_sync.h vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
vo.c vo_vaapi_wayland: remove, as it is superceded by vo_dmabuf_wayland 2022-10-26 18:41:47 +00:00
vo.h player/video: add VOCTRL_CONTENT_TYPE 2022-11-15 23:18:55 +00:00
vo_caca.c
vo_direct3d.c various: fix typos 2022-04-25 09:07:18 -04:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: use single-pixel-buffer-v1 2022-11-20 19:13:59 +00:00
vo_drm.c drm: remove legacy API 2022-11-16 09:32:55 +01:00
vo_gpu.c vo_gpu[_next]: hwdec: fix logging regression when probing 2022-03-21 09:53:37 -07:00
vo_gpu_next.c vo_gpu_next: don't flush cache on OSD update 2022-11-25 02:15:05 +01:00
vo_image.c
vo_lavc.c
vo_libmpv.c
vo_mediacodec_embed.c vo: hwdec: do hwdec interop lookup by image format 2022-09-21 09:39:34 -07:00
vo_null.c
vo_rpi.c
vo_sdl.c sub: rename SUBBITMAP_RGBA to SUBBITMAP_BGRA 2022-01-11 23:45:08 +02:00
vo_sixel.c
vo_tct.c
vo_vaapi.c x11: support xorg present extension 2022-06-19 18:13:55 +00:00
vo_vdpau.c various: fix typos 2022-04-25 09:07:18 -04:00
vo_wlshm.c wayland: error out if essential protocol support is missing 2022-11-15 14:42:02 +00:00
vo_x11.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
vo_xv.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
w32_common.c various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
w32_common.h
wayland_common.c vo_dmabuf_wayland: use single-pixel-buffer-v1 2022-11-20 19:13:59 +00:00
wayland_common.h vo_dmabuf_wayland: use single-pixel-buffer-v1 2022-11-20 19:13:59 +00:00
win_state.c
win_state.h
wlbuf_pool.c vo_dmabuf_wayland: wayland VO displaying dmabuf buffers 2022-10-26 18:41:47 +00:00
wlbuf_pool.h wlbuf_pool.h: add headers for forward declarations 2022-11-20 19:13:59 +00:00
x11_common.c player: add --force-render option 2022-11-15 15:31:21 +00:00
x11_common.h x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00