summaryrefslogtreecommitdiffstats
path: root/rules/mesalib.in
blob: bc85e765b8d7bad487039f52ebca5f4cae73febf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
## SECTION=multimedia_xorg_support_libs

menuconfig MESALIB
	tristate
	prompt "mesa                          "
	select LIBDRM
	select DRI2PROTO
	select XORG_LIB_X11		if MESALIB_DRIVER_DRI
	select XORG_LIB_XEXT		if MESALIB_DRIVER_DRI || MESALIB_DRIVER_XLIB
	select XORG_LIB_XXF86VM		if MESALIB_DRIVER_DRI
	select XORG_LIB_XDAMAGE		if MESALIB_DRIVER_DRI
	select XORG_LIB_XFIXES		if MESALIB_DRIVER_DRI
	select XORG_PROTO_GL		if MESALIB_DRIVER_DRI
	select EXPAT			if MESALIB_DRIVER_DRI
	help
	  Mesa is a 3-D graphics library with an API which is very
	  similar to that of OpenGL. See the project homepage for
	  details:

		http://www.mesa3d.org/

if MESALIB

choice
	depends on MESALIB
	prompt "backend driver "


	config MESALIB_DRIVER_XLIB
		depends on !XORG_SERVER_EXT_GLX
		bool
		prompt "xlib"

	config MESALIB_DRIVER_DRI
		bool
		prompt "dri"

	config MESALIB_DRIVER_OSMESA
		depends on !XORG_SERVER_EXT_GLX
		bool
		prompt "osmesa"

endchoice

if MESALIB_DRIVER_DRI

config MESALIB_DRI_GALLIUM
	bool
	prompt "Enable Gallium"

config MESALIB_DRI_SWRAST
	bool
	prompt "Software Rasterizer           "

menuconfig MESALIB_DRI_INTEL
	bool
	prompt "Intel DRI drivers             "

if MESALIB_DRI_INTEL

config MESALIB_DRI_INTEL_GALLIUM
	bool
	depends on MESALIB_DRI_GALLIUM
	prompt "Enable Gallium"

comment "Drivers"

config MESALIB_DRI_I810
	bool
	prompt "i810"

config MESALIB_DRI_I915
	bool
	prompt "i915"

config MESALIB_DRI_I965
	bool
	prompt "i965"

endif

menuconfig MESALIB_DRI_ATI
	bool
	prompt "Ati DRI drivers               "

if MESALIB_DRI_ATI

config MESALIB_DRI_MACH64
	bool
	prompt "mach64"

config MESALIB_DRI_R128
	bool
	prompt "r128"

config MESALIB_DRI_R200
	bool
	prompt "r200"

config MESALIB_DRI_R300
	bool
	prompt "r300"

config MESALIB_DRI_RADEON
	bool
	prompt "radeon"

endif

menu "Other DRI Drivers             "

config MESALIB_DRI_MGA
	bool
	prompt "mga"

config MESALIB_DRI_S3V
	bool
	prompt "s3v"

config MESALIB_DRI_SAVAGE
	bool
	prompt "savage"

config MESALIB_DRI_SIS
	bool
	# sis_context.h:408:2: error: #error platform needs WMB
	depends on BROKEN
	prompt "sis"

config MESALIB_DRI_TDFX
	bool
	prompt "tdfx"

config MESALIB_DRI_TRIDENT
	bool
	prompt "trident"

config MESALIB_DRI_UNICHROME
	bool
	prompt "unichrome"

config MESALIB_DRI_FFB
	bool
	prompt "ffb"

endmenu

endif

menuconfig MESALIB_TOOLS
	bool
	prompt "Tools and Demos               "

if MESALIB_TOOLS

config MESALIB_TOOLS_CORENDER
	bool
	prompt "corender"

config MESALIB_TOOLS_GLSYNC
	bool
	prompt "glsync"

config MESALIB_TOOLS_GLTHREADS
	bool
	prompt "glthreads"

config MESALIB_TOOLS_GLXCONTEXTS
	bool
	prompt "glxcontexts"

config MESALIB_TOOLS_GLXDEMO
	bool
	prompt "glxdemo"

config MESALIB_TOOLS_GLXGEARS
	bool
	prompt "glxgears"

config MESALIB_TOOLS_GLXGEARS_FBCONFIG
	bool
	prompt "glxgears_fbconfig"

config MESALIB_TOOLS_GLXGEARS_PIXMAP
	bool
	prompt "glxgears_pixmap"

config MESALIB_TOOLS_GLXHEADS
	bool
	prompt "glxheads"

config MESALIB_TOOLS_GLXINFO
	bool
	prompt "glxinfo"

config MESALIB_TOOLS_GLXPBDEMO
	bool
	prompt "glxpbdemo"

config MESALIB_TOOLS_GLXPIXMAP
	bool
	prompt "glxpixmap"

config MESALIB_TOOLS_GLXSNOOP
	bool
	prompt "glxsnoop"

config MESALIB_TOOLS_GLXSWAPCONTROL
	bool
	prompt "glxswapcontrol"

config MESALIB_TOOLS_MANYWIN
	bool
	prompt "manywin"

config MESALIB_TOOLS_OFFSET
	bool
	prompt "offset"

config MESALIB_TOOLS_OVERLAY
	bool
	prompt "overlay"

config MESALIB_TOOLS_PBDEMO
	bool
	prompt "pbdemo"

config MESALIB_TOOLS_PBINFO
	bool
	prompt "pbinfo"

config MESALIB_TOOLS_SHAREDTEX
	bool
	prompt "sharedtex"

config MESALIB_TOOLS_SHAREDTEX_MT
	bool
	prompt "sharedtex_mt"

config MESALIB_TOOLS_TEXTURE_FROM_PIXMAP
	bool
	prompt "texture_from_pixmap"

config MESALIB_TOOLS_WINCOPY
	bool
	prompt "wincopy"

config MESALIB_TOOLS_XFONT
	bool
	prompt "xfont"

config MESALIB_TOOLS_XROTFONTDEMO
	bool
	prompt "xrotfontdemo"

endif

endif