From ef934dba2d0caab7ab778c99c6005b8b9720eb27 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 5 Jul 2020 16:49:44 +0100 Subject: 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). --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') diff --git a/configure b/configure index b137669dd3..8de1afcb99 100755 --- a/configure +++ b/configure @@ -2325,6 +2325,7 @@ HAVE_LIST=" $THREADS_LIST $TOOLCHAIN_FEATURES $TYPES_LIST + libdrm_getfb2 makeinfo makeinfo_html opencl_d3d11 @@ -6657,6 +6658,9 @@ test_cpp <= 0.35.0" "va/va.h" vaInitialize -- cgit v1.2.3