Clone of mesa.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

meson_options.txt 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. # Copyright © 2017 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 : 'string',
  20. value : 'auto',
  21. description : 'comma separated list of window systems to support. If this is set to auto all platforms applicable to the OS will be enabled.'
  22. )
  23. option(
  24. 'dri3',
  25. type : 'combo',
  26. value : 'auto',
  27. choices : ['auto', 'true', 'false'],
  28. description : 'enable support for dri3'
  29. )
  30. option(
  31. 'dri-drivers',
  32. type : 'string',
  33. value : 'auto',
  34. 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'
  35. )
  36. option(
  37. 'dri-drivers-path',
  38. type : 'string',
  39. value : '',
  40. description : 'Location of dri drivers. Default: $libdir/dri.'
  41. )
  42. option(
  43. 'gallium-drivers',
  44. type : 'string',
  45. value : 'auto',
  46. 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'
  47. )
  48. option(
  49. 'gallium-media',
  50. type : 'string',
  51. value : '',
  52. description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).'
  53. )
  54. option(
  55. 'gallium-extra-hud',
  56. type : 'boolean',
  57. value : false,
  58. description : 'Enable HUD block/NIC I/O HUD status support',
  59. )
  60. option(
  61. 'vulkan-drivers',
  62. type : 'string',
  63. value : 'auto',
  64. 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'
  65. )
  66. option(
  67. 'shader-cache',
  68. type : 'boolean',
  69. value : true,
  70. description : 'Build with on-disk shader cache support'
  71. )
  72. option(
  73. 'vulkan-icd-dir',
  74. type : 'string',
  75. value : '',
  76. description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d'
  77. )
  78. option(
  79. 'shared-glapi',
  80. type : 'boolean',
  81. value : true,
  82. description : 'Whether to build a shared or static glapi'
  83. )
  84. option(
  85. 'gles1',
  86. type : 'boolean',
  87. value : true,
  88. description : 'Build support for OpenGL ES 1.x'
  89. )
  90. option(
  91. 'gles2',
  92. type : 'boolean',
  93. value : true,
  94. description : 'Build support for OpenGL ES 2.x and 3.x'
  95. )
  96. option(
  97. 'opengl',
  98. type : 'boolean',
  99. value : true,
  100. description : 'Build support for OpenGL (all versions)'
  101. )
  102. option(
  103. 'gbm',
  104. type : 'combo',
  105. value : 'auto',
  106. choices : ['auto', 'true', 'false'],
  107. description : 'Build support for gbm platform'
  108. )
  109. option(
  110. 'glx',
  111. type : 'combo',
  112. value : 'auto',
  113. choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
  114. description : 'Build support for GLX platform'
  115. )
  116. option(
  117. 'egl',
  118. type : 'combo',
  119. value : 'auto',
  120. choices : ['auto', 'true', 'false'],
  121. description : 'Build support for EGL platform'
  122. )
  123. option(
  124. 'glvnd',
  125. type : 'boolean',
  126. value : false,
  127. description : 'Enable GLVND support.'
  128. )
  129. option(
  130. 'asm',
  131. type : 'boolean',
  132. value : true,
  133. description : 'Build assembly code if possible'
  134. )
  135. option(
  136. 'llvm',
  137. type : 'combo',
  138. value : 'auto',
  139. choices : ['auto', 'true', 'false'],
  140. description : 'Build with LLVM support.'
  141. )
  142. option(
  143. 'valgrind',
  144. type : 'combo',
  145. value : 'auto',
  146. choices : ['auto', 'true', 'false'],
  147. description : 'Build with valgrind support'
  148. )
  149. option(
  150. 'libunwind',
  151. type : 'combo',
  152. value : 'auto',
  153. choices : ['auto', 'true', 'false'],
  154. description : 'Use libunwind for stack-traces'
  155. )
  156. option(
  157. 'build-tests',
  158. type : 'boolean',
  159. value : false,
  160. description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.'
  161. )
  162. option(
  163. 'texture-float',
  164. type : 'boolean',
  165. value : false,
  166. 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.'
  167. )
  168. option(
  169. 'selinux',
  170. type : 'boolean',
  171. value : false,
  172. description : 'Build an SELinux-aware Mesa'
  173. )
  174. option(
  175. 'osmesa',
  176. type : 'combo',
  177. value : 'none',
  178. choices : ['none', 'classic', 'gallium'],
  179. description : 'Build OSmesa.'
  180. )
  181. option(
  182. 'osmesa-bits',
  183. type : 'combo',
  184. value : '8',
  185. choices : ['8', '16', '32'],
  186. description : 'Number of channel bits for OSMesa.'
  187. )