mpv/video/out/vulkan
Dudemanguy 652f09a7a6 x11: avoid XPresent API calls when it's not needed
This commit kind of mixes several related things together. The main
thing is to avoid calling any XPresent functions or internal functions
related to presentation when the feature is not auto-whitelisted or
enabled by the user. Internally rework this so it all works off of a
use_present bool (have_present is eliminated because having a non-zero
present_code covers exactly the same thing) and make sure it updates on
runtime. Finally, put some actual logging in here whenever XPresent is
enabled/disabled. Fixes #10326.
2022-06-22 18:09:11 +00:00
..
common.h libplacebo: switch to v4 naming convention 2022-02-03 18:22:14 +01:00
context.c vulkan: correctly inherit proc_addr pointer 2022-03-13 23:39:31 +01:00
context.h wayland_vk: rename start_frame to check_visible 2021-11-04 15:59:56 +00:00
context_android.c wayland: use callback flag + poll for buffer swap 2019-10-10 17:41:19 +00:00
context_display.c libplacebo: update log helpers 2022-02-03 18:22:14 +01:00
context_wayland.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
context_win.c wayland: use callback flag + poll for buffer swap 2019-10-10 17:41:19 +00:00
context_xlib.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
utils.c libplacebo: update log helpers 2022-02-03 18:22:14 +01:00
utils.h