[Mesa-dev] [PATCH 1/3] meson: Add support for gallium extra hud

Dylan Baker dylan at pnwbakers.com
Wed Nov 29 00:56:37 UTC 2017


Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 meson.build       | 4 ++++
 meson_options.txt | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/meson.build b/meson.build
index e2ba3cb0524..e3c201d7b87 100644
--- a/meson.build
+++ b/meson.build
@@ -916,6 +916,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',
-- 
2.15.0



More information about the mesa-dev mailing list