mirror of https://github.com/mpv-player/mpv
652f09a7a6
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. |
||
---|---|---|
.. | ||
common.h | ||
context.c | ||
context.h | ||
context_android.c | ||
context_display.c | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
utils.c | ||
utils.h |