summaryrefslogtreecommitdiffstats
path: root/video/out/drm_common.h
diff options
context:
space:
mode:
authorAnton Kindestam <antonki@kth.se>2019-04-11 23:26:06 +0200
committerJan Ekström <jeebjp@gmail.com>2019-09-28 14:10:01 +0300
commit77980c8184cdc62f964fd85fc6cbd3d79019ce7a (patch)
treed038b7698d142df14cbd56b7da44369c7c4e5e18 /video/out/drm_common.h
parentdfe45f018e7c2456a54684195df571a7d49a3615 (diff)
downloadmpv-77980c8184cdc62f964fd85fc6cbd3d79019ce7a.tar.bz2
mpv-77980c8184cdc62f964fd85fc6cbd3d79019ce7a.tar.xz
vo_drm: Implement N-buffering and presentation feedback
Swapchain depth currently hard-coded to 3 (4 buffers). As we now avoid redrawing on repeat frames (we simply requeue the same fb again), this should give a nice performance boost when playing videos with a lower FPS than the display FPS in video-sync=display-resample mode. Presentation feedback has also been implemented to help counter the significant amounts of jitter we would otherwise be seeing.
Diffstat (limited to 'video/out/drm_common.h')
0 files changed, 0 insertions, 0 deletions