Skip to content

meson: Move video to separate section in meson configuration summary

Feng Jiang requested to merge flynnjiang/mesa:meson-video-summary into main

What does this MR do and why?

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

Additionally, placing video within the 'Vulkan' section has the side effect of not showing 'Video codecs' information if 'vulkan-drivers' is configured to null.

Before:

mesa 23.3.0-devel

  Directories
    prefix                       : /usr
    libdir                       : lib64
    includedir                   : include

  Common C and C++ arguments
    c_cpp_args                   : -mtls-dialect=gnu2

  OpenGL
    OpenGL                       : YES
    ES1                          : YES
    ES2                          : YES
    Shared glapi                 : YES
    GLVND                        : NO

  DRI
    Platform                     : drm
    Driver dir                   : /usr/lib64/dri

  GLX
    Enabled                      : YES
    Provider                     : dri

  EGL
    Enabled                      : YES
    Drivers                      : builtin:egl_dri2 builtin:egl_dri3
    Platforms                    : x11 wayland surfaceless drm xcb

  GBM
    Enabled                      : YES
    Backends path                : /usr/lib64/gbm

  Vulkan
    Drivers                      : amd intel intel_hasvk swrast
    Platforms                    : x11 wayland surfaceless drm xcb
    ICD dir                      : share/vulkan/icd.d
    Video codecs                 : vc1dec h264dec h264enc h265dec h265enc
    Intel Ray tracing            : NO

  LLVM
    Enabled                      : YES
    Version                      : 16.0.6

  Gallium
    Enabled                      : YES
    Drivers                      : r300 r600 radeonsi nouveau virgl svga swrast iris crocus i915
    Platforms                    : x11 wayland surfaceless drm xcb
    Frontends                    : mesa xa vdpau va
    Off-screen rendering (OSMesa): NO
    HUD lm-sensors               : YES

  Perfetto
    Enabled                      : NO

  User defined options
    prefix                       : /usr
    video-codecs                 : vc1dec,h264dec,h264enc,h265dec,h265enc

After:

mesa 23.3.0-devel

  Directories
    prefix                       : /usr
    libdir                       : lib64
    includedir                   : include

  Common C and C++ arguments
    c_cpp_args                   : -mtls-dialect=gnu2

  OpenGL
    OpenGL                       : YES
    ES1                          : YES
    ES2                          : YES
    Shared glapi                 : YES
    GLVND                        : NO

  DRI
    Platform                     : drm
    Driver dir                   : /usr/lib64/dri

  GLX
    Enabled                      : YES
    Provider                     : dri

  EGL
    Enabled                      : YES
    Drivers                      : builtin:egl_dri2 builtin:egl_dri3
    Platforms                    : x11 wayland surfaceless drm xcb

  GBM
    Enabled                      : YES
    Backends path                : /usr/lib64/gbm

  Vulkan
    Drivers                      : amd intel intel_hasvk swrast
    Platforms                    : x11 wayland surfaceless drm xcb
    ICD dir                      : share/vulkan/icd.d
    Intel Ray tracing            : NO

  Video
    Codecs                       : vc1dec h264dec h264enc h265dec h265enc
    APIs                         : vdpau va vulkan

  LLVM
    Enabled                      : YES
    Version                      : 16.0.6

  Gallium
    Enabled                      : YES
    Drivers                      : r300 r600 radeonsi nouveau virgl svga swrast iris crocus i915
    Platforms                    : x11 wayland surfaceless drm xcb
    Frontends                    : mesa xa vdpau va
    Off-screen rendering (OSMesa): NO
    HUD lm-sensors               : YES

  Perfetto
    Enabled                      : NO

  User defined options
    prefix                       : /usr
    video-codecs                 : vc1dec,h264dec,h264enc,h265dec,h265enc

Signed-off-by: Feng Jiang jiangfeng@kylinos.cn

Merge request reports