OSDN Git Service

radeon/vcn: add VP9 prob table buffer
[android-x86/external-mesa.git] / meson_options.txt
1 # Copyright © 2017 Intel Corporation
2
3 # Permission is hereby granted, free of charge, to any person obtaining a copy
4 # of this software and associated documentation files (the "Software"), to deal
5 # in the Software without restriction, including without limitation the rights
6 # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 # copies of the Software, and to permit persons to whom the Software is
8 # furnished to do so, subject to the following conditions:
9
10 # The above copyright notice and this permission notice shall be included in
11 # all copies or substantial portions of the Software.
12
13 # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19 # SOFTWARE.
20
21 option(
22   'platforms',
23   type : 'string',
24   value : 'auto',
25   description : 'comma separated list of window systems to support. If this is set to auto all platforms applicable to the OS will be enabled.'
26 )
27 option(
28   'dri3',
29   type : 'combo',
30   value : 'auto',
31   choices : ['auto', 'true', 'false'],
32   description : 'enable support for dri3'
33 )
34 option(
35   'dri-drivers',
36   type : 'string',
37   value : 'auto',
38   description : 'comma separated list of dri drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
39 )
40 option(
41   'dri-drivers-path',
42   type : 'string',
43   value : '',
44   description : 'Location to install dri drivers. Default: $libdir/dri.'
45 )
46 option(
47   'dri-search-path',
48   type : 'string',
49   value : '',
50   description : 'Locations to search for dri drivers, passed as colon separated list. Default: dri-drivers-path.'
51 )
52 option(
53   'gallium-drivers',
54   type : 'string',
55   value : 'auto',
56   description : 'comma separated list of gallium drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
57 )
58 option(
59   'gallium-extra-hud',
60   type : 'boolean',
61   value : false,
62   description : 'Enable HUD block/NIC I/O HUD status support',
63 )
64 option(
65   'gallium-vdpau',
66   type : 'combo',
67   value : 'auto',
68   choices : ['auto', 'true', 'false'],
69   description : 'enable gallium vdpau state tracker.',
70 )
71 option(
72   'vdpau-libs-path',
73   type : 'string',
74   value : '',
75   description : 'path to put vdpau libraries. defaults to $libdir/vdpau.'
76 )
77 option(
78   'gallium-xvmc',
79   type : 'combo',
80   value : 'auto',
81   choices : ['auto', 'true', 'false'],
82   description : 'enable gallium xvmc state tracker.',
83 )
84 option(
85   'xvmc-libs-path',
86   type : 'string',
87   value : '',
88   description : 'path to put xvmc libraries. defaults to $libdir.'
89 )
90 option(
91   'gallium-omx',
92   type : 'combo',
93   value : 'auto',
94   choices : ['auto', 'disabled', 'bellagio', 'tizonia'],
95   description : 'enable gallium omx state tracker.',
96 )
97 option(
98   'omx-libs-path',
99   type : 'string',
100   value : '',
101   description : 'path to put omx libraries. defaults to omx-bellagio pkg-config pluginsdir.'
102 )
103 option(
104   'gallium-va',
105   type : 'combo',
106   value : 'auto',
107   choices : ['auto', 'true', 'false'],
108   description : 'enable gallium va state tracker.',
109 )
110 option(
111   'va-libs-path',
112   type : 'string',
113   value : '',
114   description : 'path to put va libraries. defaults to $libdir/dri.'
115 )
116 option(
117   'gallium-xa',
118   type : 'combo',
119   value : 'auto',
120   choices : ['auto', 'true', 'false'],
121   description : 'enable gallium xa state tracker.',
122 )
123 option(
124   'gallium-nine',
125   type : 'boolean',
126   value : false,
127   description : 'build gallium "nine" Direct3D 9.x state tracker.',
128 )
129 option(
130   'gallium-opencl',
131   type : 'combo',
132   choices : ['icd', 'standalone', 'disabled'],
133   value : 'disabled',
134   description : 'build gallium "clover" OpenCL state tracker.',
135 )
136 option(
137   'd3d-drivers-path',
138   type : 'string',
139   value : '',
140   description : 'Location of D3D drivers. Default: $libdir/d3d',
141 )
142 option(
143   'vulkan-drivers',
144   type : 'string',
145   value : 'auto',
146   description : 'comma separated list of vulkan drivers to build. If this is set to auto all drivers applicable to the target OS/architecture will be built'
147 )
148 option(
149   'shader-cache',
150   type : 'boolean',
151   value : true,
152   description : 'Build with on-disk shader cache support'
153 )
154 option(
155   'vulkan-icd-dir',
156   type : 'string',
157   value : '',
158   description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d'
159 )
160 option(
161   'shared-glapi',
162   type : 'boolean',
163   value : true,
164   description : 'Whether to build a shared or static glapi'
165 )
166 option(
167   'gles1',
168   type : 'boolean',
169   value : true,
170   description : 'Build support for OpenGL ES 1.x'
171 )
172 option(
173   'gles2',
174   type : 'boolean',
175   value : true,
176   description : 'Build support for OpenGL ES 2.x and 3.x'
177 )
178 option(
179   'opengl',
180   type : 'boolean',
181   value : true,
182   description : 'Build support for OpenGL (all versions)'
183 )
184 option(
185   'gbm',
186   type : 'combo',
187   value : 'auto',
188   choices : ['auto', 'true', 'false'],
189   description : 'Build support for gbm platform'
190 )
191 option(
192   'glx',
193   type : 'combo',
194   value : 'auto',
195   choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
196   description : 'Build support for GLX platform'
197 )
198 option(
199   'egl',
200   type : 'combo',
201   value : 'auto',
202   choices : ['auto', 'true', 'false'],
203   description : 'Build support for EGL platform'
204 )
205 option(
206   'glvnd',
207   type : 'boolean',
208   value : false,
209   description : 'Enable GLVND support.'
210 )
211 option(
212   'asm',
213   type : 'boolean',
214   value : true,
215   description : 'Build assembly code if possible'
216 )
217 option(
218   'llvm',
219   type : 'combo',
220   value : 'auto',
221   choices : ['auto', 'true', 'false'],
222   description : 'Build with LLVM support.'
223 )
224 option(
225   'valgrind',
226   type : 'combo',
227   value : 'auto',
228   choices : ['auto', 'true', 'false'],
229   description : 'Build with valgrind support'
230 )
231 option(
232   'libunwind',
233   type : 'combo',
234   value : 'auto',
235   choices : ['auto', 'true', 'false'],
236   description : 'Use libunwind for stack-traces'
237 )
238 option(
239   'lmsensors',
240   type : 'combo',
241   value : 'auto',
242   choices : ['auto', 'true', 'false'],
243   description : 'Enable HUD lmsensors support.'
244 )
245 option(
246   'build-tests',
247   type : 'boolean',
248   value : false,
249   description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.'
250 )
251 option(
252   'texture-float',
253   type : 'boolean',
254   value : false,
255   description : 'Enable floating point textures and renderbuffers. This option may be patent encumbered, please read docs/patents.txt and consult with your lawyer before turning this on.'
256 )
257 option(
258   'selinux',
259   type : 'boolean',
260   value : false,
261   description : 'Build an SELinux-aware Mesa'
262 )
263 option(
264   'osmesa',
265   type : 'combo',
266   value : 'none',
267   choices : ['none', 'classic', 'gallium'],
268   description : 'Build OSmesa.'
269 )
270 option(
271   'osmesa-bits',
272   type : 'combo',
273   value : '8',
274   choices : ['8', '16', '32'],
275   description : 'Number of channel bits for OSMesa.'
276 )
277 option(
278   'swr-arches',
279   type : 'string',
280   value : 'avx,avx2',
281   description : 'Comma delemited swr architectures. choices : avx,avx2,knl,skx'
282 )
283 option(
284   'tools',
285   type : 'string',
286   value : '',
287   description : 'Comma delimited list of tools to build. choices : freedreno,glsl,intel,nir,nouveau or all'
288 )