Mesa (master): meson: Add support for gallium extra hud

Dylan Baker dbaker at kemper.freedesktop.org
Fri Dec 1 23:34:11 UTC 2017


Module: Mesa
Branch: master
Commit: 7309207432e64678ccde2862040861146e3515d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7309207432e64678ccde2862040861146e3515d4

Author: Dylan Baker <dylan at pnwbakers.com>
Date:   Tue Nov 28 16:31:06 2017 -0800

meson: Add support for gallium extra hud

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>

---

 meson.build       | 4 ++++
 meson_options.txt | 6 ++++++
 2 files changed, 10 insertions(+)

diff --git a/meson.build b/meson.build
index aa923cd472..2115871931 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 44d46fe0b3..fb1b63331c 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -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',




More information about the mesa-commit mailing list