meson: build gallium xvmc state tracker
[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 of dri drivers. Default: $libdir/dri.'
45 )
46 option(
47 'gallium-drivers',
48 type : 'string',
49 value : 'auto',
50 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'
51 )
52 option(
53 'gallium-extra-hud',
54 type : 'boolean',
55 value : false,
56 description : 'Enable HUD block/NIC I/O HUD status support',
57 )
58 option(
59 'gallium-vdpau',
60 type : 'combo',
61 value : 'auto',
62 choices : ['auto', 'true', 'false'],
63 description : 'enable gallium vdpau state tracker.',
64 )
65 option(
66 'vdpau-libs-path',
67 type : 'string',
68 value : '',
69 description : 'path to put vdpau libraries. defaults to $libdir/vdpau.'
70 )
71 option(
72 'gallium-xvmc',
73 type : 'combo',
74 value : 'auto',
75 choices : ['auto', 'true', 'false'],
76 description : 'enable gallium xvmc state tracker.',
77 )
78 option(
79 'xvmc-libs-path',
80 type : 'string',
81 value : '',
82 description : 'path to put xvmc libraries. defaults to $libdir.'
83 )
84 option(
85 'vulkan-drivers',
86 type : 'string',
87 value : 'auto',
88 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'
89 )
90 option(
91 'shader-cache',
92 type : 'boolean',
93 value : true,
94 description : 'Build with on-disk shader cache support'
95 )
96 option(
97 'vulkan-icd-dir',
98 type : 'string',
99 value : '',
100 description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d'
101 )
102 option(
103 'shared-glapi',
104 type : 'boolean',
105 value : true,
106 description : 'Whether to build a shared or static glapi'
107 )
108 option(
109 'gles1',
110 type : 'boolean',
111 value : true,
112 description : 'Build support for OpenGL ES 1.x'
113 )
114 option(
115 'gles2',
116 type : 'boolean',
117 value : true,
118 description : 'Build support for OpenGL ES 2.x and 3.x'
119 )
120 option(
121 'opengl',
122 type : 'boolean',
123 value : true,
124 description : 'Build support for OpenGL (all versions)'
125 )
126 option(
127 'gbm',
128 type : 'combo',
129 value : 'auto',
130 choices : ['auto', 'true', 'false'],
131 description : 'Build support for gbm platform'
132 )
133 option(
134 'glx',
135 type : 'combo',
136 value : 'auto',
137 choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
138 description : 'Build support for GLX platform'
139 )
140 option(
141 'egl',
142 type : 'combo',
143 value : 'auto',
144 choices : ['auto', 'true', 'false'],
145 description : 'Build support for EGL platform'
146 )
147 option(
148 'glvnd',
149 type : 'boolean',
150 value : false,
151 description : 'Enable GLVND support.'
152 )
153 option(
154 'asm',
155 type : 'boolean',
156 value : true,
157 description : 'Build assembly code if possible'
158 )
159 option(
160 'llvm',
161 type : 'combo',
162 value : 'auto',
163 choices : ['auto', 'true', 'false'],
164 description : 'Build with LLVM support.'
165 )
166 option(
167 'valgrind',
168 type : 'combo',
169 value : 'auto',
170 choices : ['auto', 'true', 'false'],
171 description : 'Build with valgrind support'
172 )
173 option(
174 'libunwind',
175 type : 'combo',
176 value : 'auto',
177 choices : ['auto', 'true', 'false'],
178 description : 'Use libunwind for stack-traces'
179 )
180 option(
181 'lmsensors',
182 type : 'combo',
183 value : 'auto',
184 choices : ['auto', 'true', 'false'],
185 description : 'Enable HUD lmsensors support.'
186 )
187 option(
188 'build-tests',
189 type : 'boolean',
190 value : false,
191 description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.'
192 )
193 option(
194 'texture-float',
195 type : 'boolean',
196 value : false,
197 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.'
198 )
199 option(
200 'selinux',
201 type : 'boolean',
202 value : false,
203 description : 'Build an SELinux-aware Mesa'
204 )
205 option(
206 'osmesa',
207 type : 'combo',
208 value : 'none',
209 choices : ['none', 'classic', 'gallium'],
210 description : 'Build OSmesa.'
211 )
212 option(
213 'osmesa-bits',
214 type : 'combo',
215 value : '8',
216 choices : ['8', '16', '32'],
217 description : 'Number of channel bits for OSMesa.'
218 )