Module: Mesa
Branch: main
Commit: a1a2aac3a3e14fb5c089c19849ee9e895d72bbaa
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a1a2aac3a3e14fb5c089c19849ee9e895d72bbaa

Author: Feng Jiang <[email protected]>
Date:   Thu Aug 10 10:53:47 2023 +0800

meson: Move video to separate section in meson configuration summary

Since the video configuration is shared by multiple video APIs, not
just vulkan, move it to a separate section.

Signed-off-by: Feng Jiang <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24598>

---

 meson.build | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index 2501423bf5c..63b7621a072 100644
--- a/meson.build
+++ b/meson.build
@@ -2232,11 +2232,30 @@ if with_any_vk
   if with_any_vulkan_layers
     vulkan_summary += {'Layers': get_option('vulkan-layers')}
   endif
-  vulkan_summary += {'Video codecs': _codecs.length() != 0 ? _codecs : false}
   vulkan_summary += {'Intel Ray tracing': with_intel_vk_rt}
 endif
 summary(vulkan_summary, section: 'Vulkan', bool_yn: true, list_sep: ' ')
 
+video_summary = {'Codecs': _codecs.length() != 0 ? _codecs : false}
+video_apis = []
+if with_gallium_vdpau
+  video_apis += 'vdpau'
+endif
+if with_gallium_va
+  video_apis += 'va'
+endif
+if with_any_vk
+  video_apis += 'vulkan'
+endif
+if with_gallium_xa
+  video_apis += 'xa'
+endif
+if with_gallium_omx != 'disabled'
+  video_apis += 'omx'
+endif
+video_summary += {'APIs': video_apis.length() != 0 ? video_apis : false}
+summary(video_summary, section: 'Video', bool_yn: true, list_sep: ' ')
+
 llvm_summary = {'Enabled': with_llvm}
 if with_llvm
   llvm_summary += {'Version': dep_llvm.version()}

Reply via email to