summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <baker.dylan.c@gmail.com>2017-10-20 21:48:18 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-10-27 11:06:45 -0700
commitcbbd5bb889a2c271a504c379f36a7cb717a85af4 (patch)
tree58c7208233c088bdca901498a2ab3ed704469225 /meson_options.txt
parent7503ab687b3992b0967eafd4fb7372ddb3f4445a (diff)
meson: build classic osmesa
This builds the classic (non-gallium) osmesa with meson. This has been tested with the osdemo application from mesa-demos. v2: - Remove unrelated change - Add SELinux dependency to osmesa Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index b6af507bb5c..84feb630026 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -166,3 +166,17 @@ option(
value : false,
description : 'Build an SELinux-aware Mesa'
)
+option(
+ 'osmesa',
+ type : 'combo',
+ value : 'none',
+ choices : ['none', 'classic'],
+ description : 'Build OSmesa.'
+)
+option(
+ 'osmesa-bits',
+ type : 'combo',
+ value : '8',
+ choices : ['8', '16', '32'],
+ description : 'Number of channel bits for OSMesa.'
+)