OSDN Git Service

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