diff --git a/meson.build b/meson.build index aa923cd472b..2115871931d 100644 --- a/meson.build +++ b/meson.build @@ -922,6 +922,10 @@ if with_platform_x11 endif endif +if get_option('gallium-extra-hud') + pre_args += '-DHAVE_GALLIUM_EXTRA_HUD=1' +endif + # TODO: nine # TODO: clover diff --git a/meson_options.txt b/meson_options.txt index 44d46fe0b32..fb1b63331ca 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -55,6 +55,12 @@ option( value : '', description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).' ) +option( + 'gallium-extra-hud', + type : 'boolean', + value : false, + description : 'Enable HUD block/NIC I/O HUD status support', +) option( 'vulkan-drivers', type : 'string',