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>
This commit is contained in:
@@ -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.'
|
||||
)
|
||||
|
Reference in New Issue
Block a user