aboutsummaryrefslogtreecommitdiffstats
path: root/tools/trasher.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-07-05 16:49:44 +0100
committerMark Thompson <sw@jkqxz.net>2020-08-09 20:18:48 +0100
commitef934dba2d0caab7ab778c99c6005b8b9720eb27 (patch)
treea12840b1732d528234a36f287d6db311735b952b /tools/trasher.c
parentfa0b064cf2ff267feaa9405ffd0ca74280f274d9 (diff)
downloadffmpeg-ef934dba2d0caab7ab778c99c6005b8b9720eb27.tar.gz
kmsgrab: Use GetFB2 if available
The most useful feature here is the ability to automatically extract the framebuffer format and modifiers. It also makes support for multi-plane framebuffers possible, though none are added to the format table in this patch. This requires libdrm 2.4.101 (from April 2020) to build, so it includes a configure check to allow compatibility with existing distributions. Even with libdrm support, it still won't do anything at runtime if you are running Linux < 5.7 (before June 2020).
Diffstat (limited to 'tools/trasher.c')
0 files changed, 0 insertions, 0 deletions