X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=meson_options.txt;h=a2f86be19ae72b0d75d95c59b2c150c9e5400f18;hb=fc5a87715ab9a10d32c7d6fb03c28a9129775e93;hp=4428745bef7d779c21e0d00f1a860dfd1821132f;hpb=8b8deeca78fd539c6ccb5726cb0114de84714cf1;p=mesa.git diff --git a/meson_options.txt b/meson_options.txt index 4428745bef7..a2f86be19ae 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -24,6 +24,7 @@ option( value : ['auto'], choices : [ '', 'auto', 'x11', 'wayland', 'drm', 'surfaceless', 'haiku', 'android', + 'windows', ], description : 'window systems to support. If this is set to `auto`, all platforms applicable will be enabled.' ) @@ -157,8 +158,9 @@ option( ) option( 'shader-cache', - type : 'boolean', - value : true, + type : 'combo', + value : 'auto', + choices : ['auto', 'true', 'false'], description : 'Build with on-disk shader cache support' ) option( @@ -175,20 +177,23 @@ option( ) option( 'shared-glapi', - type : 'boolean', - value : true, - description : 'Whether to build a shared or static glapi' + type : 'combo', + value : 'auto', + choices : ['auto', 'true', 'false'], + description : 'Whether to build a shared or static glapi. Defaults to false on Windows, true elsewhere' ) option( 'gles1', - type : 'boolean', - value : true, + type : 'combo', + value : 'auto', + choices : ['auto', 'true', 'false'], description : 'Build support for OpenGL ES 1.x' ) option( 'gles2', - type : 'boolean', - value : true, + type : 'combo', + value : 'auto', + choices : ['auto', 'true', 'false'], description : 'Build support for OpenGL ES 2.x and 3.x' ) option( @@ -224,12 +229,6 @@ option( value : false, description : 'Enable GLVND support.' ) -option( - 'asm', - type : 'boolean', - value : true, - description : 'Build assembly code if possible' -) option( 'glx-read-only-text', type : 'boolean', @@ -313,7 +312,7 @@ option( 'tools', type : 'array', value : [], - choices : ['etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'all'], + choices : ['drm-shim', 'etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', 'all'], description : 'List of tools to build. (Note: `intel-ui` selects `intel`)', ) option(