X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=meson_options.txt;h=a2f86be19ae72b0d75d95c59b2c150c9e5400f18;hb=ad9c1838e0e096ab8aafadd65fa93e55259ec587;hp=6c14fd503b9a0d0a4e427a0064a448a875bbae39;hpb=4f863dc0f72719603a6fd60a62a1d619ee2696af;p=mesa.git diff --git a/meson_options.txt b/meson_options.txt index 6c14fd503b9..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.' ) @@ -60,7 +61,7 @@ option( choices : [ '', 'auto', 'kmsro', 'radeonsi', 'r300', 'r600', 'nouveau', 'freedreno', 'swrast', 'v3d', 'vc4', 'etnaviv', 'tegra', 'i915', 'svga', 'virgl', - 'swr', 'panfrost', 'iris' + 'swr', 'panfrost', 'iris', 'lima' ], description : 'List of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built' ) @@ -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', @@ -276,6 +275,12 @@ option( value : false, description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.' ) +option( + 'install-intel-gpu-tests', + type : 'boolean', + value : false, + description : 'Build and install Intel unit tests which require the GPU. This option is for developers and the Intel CI system only.' +) option( 'selinux', type : 'boolean', @@ -307,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( @@ -336,3 +341,22 @@ option( value : false, description : 'Allow work-in-progress freedreno vulkan driver to be enabled', ) +option('egl-lib-suffix', + type : 'string', + value : '', + description : 'Suffix to append to EGL library name. Default: none.' +) +option( + 'gles-lib-suffix', + type : 'string', + value : '', + description : 'Suffix to append to GLES library names. Default: none.' +) +option( + 'platform-sdk-version', + type : 'integer', + min : 25, + max : 28, + value : 25, + description : 'Android Platform SDK version. Default: Nougat version.' +)