summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-10-20 21:48:18 -0700
committerDylan Baker <[email protected]>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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
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.'
+)