X-Git-Url: https://git.libre-soc.org/?p=mesa.git;a=blobdiff_plain;f=meson_options.txt;h=b768c15053cddd034b7cafeeb528ba27dc7106e2;hp=a723b5406cfbd90012bdb56201f90ed01605cf20;hb=914ecc9384ef31411bb06178f01cb0b2683fa344;hpb=2dce0e94a3debe8d514a67dccad2505524c7d642 diff --git a/meson_options.txt b/meson_options.txt index a723b5406cf..b768c15053c 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -60,7 +60,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' ) @@ -152,13 +152,14 @@ option( 'vulkan-drivers', type : 'array', value : ['auto'], - choices : ['', 'auto', 'amd', 'intel'], + choices : ['', 'auto', 'amd', 'freedreno', 'intel'], description : 'List of vulkan drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built' ) option( 'shader-cache', - type : 'boolean', - value : true, + type : 'combo', + value : 'auto', + choices : ['auto', 'true', 'false'], description : 'Build with on-disk shader cache support' ) option( @@ -181,14 +182,16 @@ option( ) 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 +227,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 +273,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 +310,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( @@ -330,3 +333,28 @@ option( value : true, description : 'Enable direct rendering in GLX and EGL for DRI', ) +option( + 'I-love-half-baked-turnips', + type : 'boolean', + 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.' +)