X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=meson_options.txt;h=a39596a6f19d970f9b78f576213a4e8c948abf3b;hb=1ac9f362e0f848ef5bdc6ede12d0389bb7407ff6;hp=5cbb85658a27a7be6466a0837fe29a4ff607ccc5;hpb=cc78a425772a377c309fe1a9cb02186a834621a8;p=mesa.git diff --git a/meson_options.txt b/meson_options.txt index 5cbb85658a2..a39596a6f19 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ -# Copyright © 2017-2018 Intel Corporation +# Copyright © 2017-2019 Intel Corporation # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal @@ -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', 'lima' + 'swr', 'panfrost', 'iris', 'lima', 'zink' ], description : 'List of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built' ) @@ -142,6 +143,12 @@ option( value : 'disabled', description : 'build gallium "clover" OpenCL state tracker.', ) +option( + 'opencl-spirv', + type : 'boolean', + value : false, + description : 'build gallium "clover" OpenCL state tracker with SPIR-V binary support.', +) option( 'd3d-drivers-path', type : 'string', @@ -176,9 +183,10 @@ 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', @@ -306,11 +314,18 @@ option( choices : ['avx', 'avx2', 'knl', 'skx'], description : 'Architectures to build SWR support for.', ) +option( + 'shared-swr', + type : 'boolean', + value : true, + description : 'Whether to link SWR shared or statically.', +) + option( 'tools', type : 'array', value : [], - choices : ['etnaviv', 'freedreno', 'glsl', 'intel', 'intel-ui', 'nir', 'nouveau', 'xvmc', 'lima', '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( @@ -334,10 +349,10 @@ option( description : 'Enable direct rendering in GLX and EGL for DRI', ) option( - 'I-love-half-baked-turnips', + 'prefer-iris', type : 'boolean', - value : false, - description : 'Allow work-in-progress freedreno vulkan driver to be enabled', + value : true, + description : 'Prefer new Intel iris driver over older i965 driver' ) option('egl-lib-suffix', type : 'string', @@ -358,3 +373,10 @@ option( value : 25, description : 'Android Platform SDK version. Default: Nougat version.' ) +option( + 'zstd', + type : 'combo', + choices : ['auto', 'true', 'false'], + value : 'auto', + description : 'Use ZSTD instead of ZLIB in some cases.' +)