1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/video/out/cocoa-cb
Akemi 965ba23303 cocoa-cb: render on a dedicated dispatch queue
we rendered on the displaylink thread which wasn't the best idea. if
rendering took too long or was blocking it also blocked the displaylink
callback. when that happened new vsyncs were reported delayed or not at
all. consequently the mpv_render_context_report_swap function wasn't
called consistently and that could cause bad video playback. so the
rendering is moved to a dedicated dispatch queue. furthermore the update
callback starts a layer update directly instead of the displaylink
callback, making the rendering a bit more consistent.
2018-03-25 16:24:23 -07:00
..
events_view.swift cocoa-cb: don't deactivate mouse events completely with input-cursor=no 2018-03-11 22:44:26 -07:00
video_layer.swift cocoa-cb: render on a dedicated dispatch queue 2018-03-25 16:24:23 -07:00
window.swift cocoa-cb: render on a dedicated dispatch queue 2018-03-25 16:24:23 -07:00