blob: 8fd00d41b45c8ce84ff3c6e02445c80efc2ad42f [file] [log] [blame]
Dylan Bakerd1992252017-09-14 17:57:17 -07001# 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
Dylan Baker61631be2017-10-10 15:44:14 -070021option(
22 'platforms',
23 type : 'string',
24 value : 'x11,wayland,drm',
25 description : 'comma separated list of window systems to support. wayland, x11, surfaceless, drm, etc.'
26)
27option(
28 'dri3',
29 type : 'combo',
30 value : 'auto',
31 choices : ['auto', 'yes', 'no'],
32 description : 'enable support for dri3'
33)
34option(
35 'dri-drivers',
36 type : 'string',
37 value : 'i915,i965',
38 description : 'comma separated list of dri drivers to build.'
39)
40option(
41 'dri-drivers-path',
42 type : 'string',
43 value : '',
44 description : 'Location of dri drivers. Default: $libdir/dri.'
45)
46option(
47 'gallium-drivers',
48 type : 'string',
Eric Anholt1918c9b2017-10-12 18:39:08 -070049 value : 'pl111,radeonsi,nouveau,swrast,vc4',
Dylan Baker61631be2017-10-10 15:44:14 -070050 description : 'comma separated list of gallium drivers to build.'
51)
52option(
53 'gallium-media',
54 type : 'string',
55 value : '',
56 description : 'comma separated list of gallium media APIs to build (omx,va,vdpau,xvmc).'
57)
58option(
59 'vulkan-drivers',
60 type : 'string',
61 value : 'intel,amd',
62 description : 'comma separated list of vulkan drivers to build.'
63)
64option(
65 'shader-cache',
66 type : 'boolean',
67 value : true,
68 description : 'Build with on-disk shader cache support'
69)
70option(
71 'vulkan-icd-dir',
72 type : 'string',
73 value : '',
74 description : 'Location relative to prefix to put vulkan icds on install. Default: $datadir/vulkan/icd.d'
75)
76option(
77 'shared-glapi',
78 type : 'boolean',
79 value : true,
80 description : 'Whether to build a shared or static glapi'
81)
82option(
83 'gles1',
84 type : 'boolean',
85 value : true,
86 description : 'Build support for OpenGL ES 1.x'
87)
88option(
89 'gles2',
90 type : 'boolean',
91 value : true,
92 description : 'Build support for OpenGL ES 2.x and 3.x'
93)
94option(
95 'opengl',
96 type : 'boolean',
97 value : true,
98 description : 'Build support for OpenGL (all versions)'
99)
100option(
101 'gbm',
102 type : 'combo',
103 value : 'auto',
104 choices : ['auto', 'yes', 'no'],
105 description : 'Build support for gbm platform'
106)
107option(
108 'glx',
109 type : 'combo',
110 value : 'auto',
111 choices : ['auto', 'disabled', 'dri', 'xlib', 'gallium-xlib'],
112 description : 'Build support for GLX platform'
113)
114option(
115 'glvnd',
116 type : 'boolean',
117 value : false,
118 description : 'Enable GLVND support.'
119)
120option(
121 'asm',
122 type : 'boolean',
123 value : true,
124 description : 'Build assembly code if possible'
125)
126option(
127 'llvm',
128 type : 'boolean',
129 value : true,
130 description : 'Build with LLVM support.'
131)
132option(
133 'valgrind',
134 type : 'boolean',
135 value : true,
136 description : 'Build with valgrind support if possible'
137)
138option(
139 'build-tests',
140 type : 'boolean',
141 value : false,
142 description : 'Build unit tests. Currently this will build *all* unit tests, which may build more than expected.'
143)
144option(
145 'texture-float',
146 type : 'boolean',
147 value : false,
148 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.'
149)