meson: Add support for gallium extra hud
authorDylan Baker <dylan@pnwbakers.com>
Wed, 29 Nov 2017 00:31:06 +0000 (16:31 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Fri, 1 Dec 2017 23:31:43 +0000 (15:31 -0800)
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
meson.build
meson_options.txt

index aa923cd..2115871 100644 (file)
@@ -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
index 44d46fe..fb1b633 100644 (file)
@@ -56,6 +56,12 @@ option(
   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',
   value : 'auto',