summaryrefslogtreecommitdiffstats
path: root/TOOLS
diff options
context:
space:
mode:
authorDudemanguy <random342@airmail.cc>2020-12-11 13:14:50 -0600
committerDudemanguy <random342@airmail.cc>2020-12-14 22:44:43 +0000
commitb59eaf57fef7b4fef37991ad68bdba3a6fca3490 (patch)
treee133740f3509be6cba82b5d094071745b19e27e1 /TOOLS
parent8e793bde78f00fbb64223db30851c6d080c4abeb (diff)
downloadmpv-b59eaf57fef7b4fef37991ad68bdba3a6fca3490.tar.bz2
mpv-b59eaf57fef7b4fef37991ad68bdba3a6fca3490.tar.xz
wayland: unify frame/presentation callback code
Originally when presentation time was implemented, the frame callback and presentation feedback functions were called in each rendering api's separate backend (egl and vulkan). This meant that their respective structs were basically copy and pasted across both files. Plus later vo_wlshm started using frame callbacks too. Things got refactored a few times and it turns out there's actually no need to have these things separate anymore. The frame callback can just be initialized in vo_wayland_init and then everything else will follow from there. Just move all of this code to wayland_common and get rid of the duplication. Sidenote: This means that vo_wlshm can actually receive presentation feedback now. It's really simple to do so might as well. See the next commit.
Diffstat (limited to 'TOOLS')
0 files changed, 0 insertions, 0 deletions