From 7309207432e64678ccde2862040861146e3515d4 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 28 Nov 2017 16:31:06 -0800 Subject: [PATCH] meson: Add support for gallium extra hud Signed-off-by: Dylan Baker Reviewed-by: Eric Engestrom --- meson.build | 4 ++++ meson_options.txt | 6 ++++++ 2 files changed, 10 insertions(+) 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',