summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2018-12-04 10:06:08 -0800
committerDylan Baker <dylan@pnwbakers.com>2018-12-18 09:20:53 -0800
commit7a90886921eb1d5d73b40aadd6fd3f340041bd26 (patch)
tree2f3b97cf407b732e218c295a8a9adb23a8abb93a /meson_options.txt
parent8c77f4c76ddfe0b692b430b012b65f6981a53336 (diff)
downloadmesa-7a90886921eb1d5d73b40aadd6fd3f340041bd26.tar.gz
meson: Add toggle for glx-direct
GNU Hurd needs to turn off glx-direct, rather than special case it, we'll just add a toggle. CC: 18.3 <mesa-stable@lists.freedesktop.org> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index a1d5ab0e185..589d10bb3f3 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -318,3 +318,9 @@ option(
choices : ['auto', 'true', 'false'],
description : 'Enable VK_EXT_acquire_xlib_display.'
)
+option(
+ 'glx-direct',
+ type : 'boolean',
+ value : true,
+ description : 'Enable direct rendering in GLX and EGL for DRI',
+)