mirror of
https://github.com/mpv-player/mpv
synced 2025-01-06 23:20:15 +00:00
4c7c8daf9c
This commit: - Implements output tracking (e.g. monitor plug/unplug) - Creates the surface during registry (no other dependencies) - Queues the callback immediately after surface creation - Cleaner and better event handling (functions return directly) - Better reconfigure handling (resizes reduced to 1 during init) - Don't unnecessarily resize (if dimensions match) Apart from that fixes 2 potential memory leaks (mime type and window title), 2 string ownership issues (output name and make need to be dup'd), fixes some style issues (switches were indented) and finally adds messages when disabling/enabling idle inhibition. The callback setter function was removed in preparation for the commit which will use the frame event cb because it was unnecessary. |
||
---|---|---|
.. | ||
common.h | ||
context_wayland.c | ||
context_win.c | ||
context_xlib.c | ||
context.c | ||
context.h | ||
formats.c | ||
formats.h | ||
malloc.c | ||
malloc.h | ||
ra_vk.c | ||
ra_vk.h | ||
spirv_nvidia.c | ||
utils.c | ||
utils.h |