From cbbd5bb889a2c271a504c379f36a7cb717a85af4 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 20 Oct 2017 21:48:18 -0700 Subject: 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 Reviewed-by: Eric Engestrom --- meson_options.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'meson_options.txt') 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.' +) -- cgit v1.2.3