X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=meson_options.txt;h=dd7bf4bccaa4bce79bbf2b64cce098d6eea2e0e0;hb=30b14ba67e998cbc12447adc6c8e185636b75390;hp=1f72faabee8ec09e5fc8af357d327060c2dbd899;hpb=f5eafc2dc6a68c9c2c2660dff528de1ecdedf4dc;p=mesa.git diff --git a/meson_options.txt b/meson_options.txt index 1f72faabee8..dd7bf4bccaa 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', @@ -227,12 +235,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', @@ -316,7 +318,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( @@ -345,6 +347,12 @@ option( value : false, description : 'Allow work-in-progress freedreno vulkan driver to be enabled', ) +option( + 'prefer-iris', + type : 'boolean', + value : false, + description : 'Prefer new Intel iris driver over older i965 driver' +) option('egl-lib-suffix', type : 'string', value : '', @@ -364,3 +372,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.' +)