Clone of mesa.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

meson_options.txt 7.7KB

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