• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1### Lists of source files, included by Makefiles
2
3# this is part of MAIN_FILES
4MAIN_ES_FILES = \
5	main/es1_conversion.c \
6	main/es1_conversion.h
7
8MAIN_FILES = \
9	main/accum.c \
10	main/accum.h \
11	main/api_arrayelt.c \
12	main/api_arrayelt.h \
13	main/api_exec.c \
14	main/api_exec.h \
15	main/api_loopback.c \
16	main/api_loopback.h \
17	main/api_validate.c \
18	main/api_validate.h \
19	main/arbprogram.c \
20	main/arbprogram.h \
21	main/arrayobj.c \
22	main/arrayobj.h \
23	main/atifragshader.c \
24	main/atifragshader.h \
25	main/attrib.c \
26	main/attrib.h \
27	main/barrier.c \
28	main/barrier.h \
29	main/bbox.c \
30	main/bbox.h \
31	main/blend.c \
32	main/blend.h \
33	main/blit.c \
34	main/blit.h \
35	main/bufferobj.c \
36	main/bufferobj.h \
37	main/buffers.c \
38	main/buffers.h \
39	main/clear.c \
40	main/clear.h \
41	main/clip.c \
42	main/clip.h \
43	main/colormac.h \
44	main/colortab.c \
45	main/colortab.h \
46	main/compute.c \
47	main/compute.h \
48	main/compiler.h \
49	main/condrender.c \
50	main/condrender.h \
51	main/config.h \
52	main/context.c \
53	main/context.h \
54	main/convolve.c \
55	main/convolve.h \
56	main/copyimage.c \
57	main/copyimage.h \
58	main/core.h \
59	main/cpuinfo.c \
60	main/cpuinfo.h \
61	main/dd.h \
62	main/debug.c \
63	main/debug.h \
64	main/debug_output.c \
65	main/debug_output.h \
66	main/depth.c \
67	main/depth.h \
68	main/dlist.c \
69	main/dlist.h \
70	main/drawpix.c \
71	main/drawpix.h \
72	main/drawtex.c \
73	main/drawtex.h \
74	main/enable.c \
75	main/enable.h \
76	main/enums.c \
77	main/enums.h \
78	main/errors.c \
79	main/errors.h \
80	main/eval.c \
81	main/eval.h \
82	main/execmem.c \
83	main/execmem.h \
84	main/extensions.c \
85	main/extensions.h \
86	main/extensions_table.c \
87	main/extensions_table.h \
88	main/externalobjects.c \
89	main/externalobjects.h \
90	main/fbobject.c \
91	main/fbobject.h \
92	main/feedback.c \
93	main/feedback.h \
94	main/ff_fragment_shader.cpp \
95	main/ffvertex_prog.c \
96	main/ffvertex_prog.h \
97	main/fog.c \
98	main/fog.h \
99	main/format_fallback.c \
100	main/format_info.h \
101	main/format_pack.h \
102	main/format_pack.c \
103	main/format_unpack.h \
104	main/format_unpack.c \
105	main/formatquery.c \
106	main/formatquery.h \
107	main/formats.c \
108	main/formats.h \
109	main/format_utils.c \
110	main/format_utils.h \
111	main/framebuffer.c \
112	main/framebuffer.h \
113	main/get.c \
114	main/get.h \
115	main/get_hash.h \
116	main/genmipmap.c \
117	main/genmipmap.h \
118	main/getstring.c \
119	main/glformats.c \
120	main/glformats.h \
121	main/glspirv.c \
122	main/glspirv.h \
123	main/glthread.c \
124	main/glthread.h \
125	main/glheader.h \
126	main/hash.c \
127	main/hash.h \
128	main/hint.c \
129	main/hint.h \
130	main/histogram.c \
131	main/histogram.h \
132	main/image.c \
133	main/image.h \
134	main/imports.c \
135	main/imports.h \
136	main/light.c \
137	main/light.h \
138	main/lines.c \
139	main/lines.h \
140	main/macros.h \
141	main/marshal.c \
142	main/marshal.h \
143	main/marshal_generated.c \
144	main/marshal_generated.h \
145	main/matrix.c \
146	main/matrix.h \
147	main/mipmap.c \
148	main/mipmap.h \
149	main/mm.c \
150	main/mm.h \
151	main/mtypes.h \
152	main/multisample.c \
153	main/multisample.h \
154	main/objectlabel.c \
155	main/objectlabel.h \
156	main/objectpurge.c \
157	main/objectpurge.h \
158	main/pack.c \
159	main/pack.h \
160	main/pbo.c \
161	main/pbo.h \
162	main/performance_monitor.c \
163	main/performance_monitor.h \
164	main/performance_query.c \
165	main/performance_query.h \
166	main/pipelineobj.c \
167	main/pipelineobj.h \
168	main/pixel.c \
169	main/pixel.h \
170	main/pixelstore.c \
171	main/pixelstore.h \
172	main/pixeltransfer.c \
173	main/pixeltransfer.h \
174	main/points.c \
175	main/points.h \
176	main/polygon.c \
177	main/polygon.h \
178	main/program_binary.c \
179	main/program_binary.h \
180	main/program_resource.c \
181	main/program_resource.h \
182	main/querymatrix.c \
183	main/querymatrix.h \
184	main/queryobj.c \
185	main/queryobj.h \
186	main/rastpos.c \
187	main/rastpos.h \
188	main/readpix.c \
189	main/readpix.h \
190	main/remap.c \
191	main/remap.h \
192	main/renderbuffer.c \
193	main/renderbuffer.h \
194	main/robustness.c \
195	main/samplerobj.c \
196	main/samplerobj.h \
197	main/scissor.c \
198	main/scissor.h \
199	main/shaderapi.c \
200	main/shaderapi.h \
201	main/shaderimage.c \
202	main/shaderimage.h \
203	main/shaderobj.c \
204	main/shaderobj.h \
205	main/shader_query.cpp \
206	main/shared.c \
207	main/shared.h \
208	main/state.c \
209	main/state.h \
210	main/stencil.c \
211	main/stencil.h \
212	main/syncobj.c \
213	main/syncobj.h \
214	main/texcompress.c \
215	main/texcompress_bptc.c \
216	main/texcompress_bptc.h \
217	main/texcompress_cpal.c \
218	main/texcompress_cpal.h \
219	main/texcompress_etc.c \
220	main/texcompress_etc.h \
221	main/texcompress_etc_tmp.h \
222	main/texcompress_fxt1.c \
223	main/texcompress_fxt1.h \
224	main/texcompress.h \
225	main/texcompress_rgtc.c \
226	main/texcompress_rgtc.h \
227	main/texcompress_s3tc.c \
228	main/texcompress_s3tc.h \
229	main/texcompress_s3tc_tmp.h \
230	main/texenv.c \
231	main/texenv.h \
232	main/texenvprogram.h \
233	main/texformat.c \
234	main/texformat.h \
235	main/texgen.c \
236	main/texgen.h \
237	main/texgetimage.c \
238	main/texgetimage.h \
239	main/teximage.c \
240	main/teximage.h \
241	main/texobj.c \
242	main/texobj.h \
243	main/texparam.c \
244	main/texparam.h \
245	main/texstate.c \
246	main/texstate.h \
247	main/texstorage.c \
248	main/texstorage.h \
249	main/texstore.c \
250	main/texstore.h \
251	main/texturebindless.c \
252	main/texturebindless.h \
253	main/textureview.c \
254	main/textureview.h \
255	main/transformfeedback.c \
256	main/transformfeedback.h \
257	main/uniform_query.cpp \
258	main/uniforms.c \
259	main/uniforms.h \
260	main/varray.c \
261	main/varray.h \
262	main/vdpau.c \
263	main/vdpau.h \
264	main/version.c \
265	main/version.h \
266	main/viewport.c \
267	main/viewport.h \
268	main/vtxfmt.c \
269	main/vtxfmt.h \
270	$(MAIN_ES_FILES)
271
272MATH_FILES = \
273	math/m_debug.h \
274	math/m_debug_clip.c \
275	math/m_debug_norm.c \
276	math/m_debug_util.h \
277	math/m_debug_xform.c \
278	math/m_eval.c \
279	math/m_eval.h \
280	math/m_matrix.c \
281	math/m_matrix.h \
282	math/m_trans_tmp.h \
283	math/m_translate.c \
284	math/m_translate.h \
285	math/m_vector.c \
286	math/m_vector.h
287
288MATH_XFORM_FILES = \
289	math/m_clip_tmp.h \
290	math/m_copy_tmp.h \
291	math/m_dotprod_tmp.h \
292	math/m_norm_tmp.h \
293	math/m_xform.c \
294	math/m_xform.h \
295	math/m_xform_tmp.h
296
297SWRAST_FILES = \
298	swrast/s_aaline.c \
299	swrast/s_aaline.h \
300	swrast/s_aalinetemp.h \
301	swrast/s_aatriangle.c \
302	swrast/s_aatriangle.h \
303	swrast/s_aatritemp.h \
304	swrast/s_alpha.c \
305	swrast/s_alpha.h \
306	swrast/s_atifragshader.c \
307	swrast/s_atifragshader.h \
308	swrast/s_bitmap.c \
309	swrast/s_blend.c \
310	swrast/s_blend.h \
311	swrast/s_blit.c \
312	swrast/s_chan.h \
313	swrast/s_clear.c \
314	swrast/s_context.c \
315	swrast/s_context.h \
316	swrast/s_copypix.c \
317	swrast/s_depth.c \
318	swrast/s_depth.h \
319	swrast/s_drawpix.c \
320	swrast_setup/ss_tritmp.h \
321	swrast_setup/ss_vb.h \
322	swrast_setup/swrast_setup.h \
323	swrast/s_feedback.c \
324	swrast/s_feedback.h \
325	swrast/s_fog.c \
326	swrast/s_fog.h \
327	swrast/s_fragprog.c \
328	swrast/s_fragprog.h \
329	swrast/s_lines.c \
330	swrast/s_lines.h \
331	swrast/s_linetemp.h \
332	swrast/s_logic.c \
333	swrast/s_logic.h \
334	swrast/s_masking.c \
335	swrast/s_masking.h \
336	swrast/s_points.c \
337	swrast/s_points.h \
338	swrast/s_renderbuffer.c \
339	swrast/s_renderbuffer.h \
340	swrast/s_span.c \
341	swrast/s_span.h \
342	swrast/s_stencil.c \
343	swrast/s_stencil.h \
344	swrast/s_texcombine.c \
345	swrast/s_texcombine.h \
346	swrast/s_texfetch.c \
347	swrast/s_texfetch.h \
348	swrast/s_texfetch_tmp.h \
349	swrast/s_texfilter.c \
350	swrast/s_texfilter.h \
351	swrast/s_texrender.c \
352	swrast/s_texture.c \
353	swrast/s_triangle.c \
354	swrast/s_triangle.h \
355	swrast/s_tritemp.h \
356	swrast/swrast.h \
357	swrast/s_zoom.c \
358	swrast/s_zoom.h
359
360SWRAST_SETUP_FILES = \
361	swrast_setup/ss_context.c \
362	swrast_setup/ss_context.h \
363	swrast_setup/ss_triangle.c \
364	swrast_setup/ss_triangle.h
365
366TNL_FILES = \
367	tnl/t_context.c \
368	tnl/t_context.h \
369	tnl/t_draw.c \
370	tnl/tnl.h \
371	tnl/t_pipeline.c \
372	tnl/t_pipeline.h \
373	tnl/t_vb_cliptmp.h \
374	tnl/t_vb_fog.c \
375	tnl/t_vb_light.c \
376	tnl/t_vb_lighttmp.h \
377	tnl/t_vb_normals.c \
378	tnl/t_vb_points.c \
379	tnl/t_vb_program.c \
380	tnl/t_vb_render.c \
381	tnl/t_vb_rendertmp.h \
382	tnl/t_vb_texgen.c \
383	tnl/t_vb_texmat.c \
384	tnl/t_vb_vertex.c \
385	tnl/t_vertex.c \
386	tnl/t_vertex_generic.c \
387	tnl/t_vertex.h \
388	tnl/t_vertex_sse.c \
389	tnl/t_vp_build.c \
390	tnl/t_vp_build.h
391
392VBO_FILES = \
393	vbo/vbo_attrib.h \
394	vbo/vbo_attrib_tmp.h \
395	vbo/vbo_context.c \
396	vbo/vbo_context.h \
397	vbo/vbo_exec_api.c \
398	vbo/vbo_exec_array.c \
399	vbo/vbo_exec.c \
400	vbo/vbo_exec_draw.c \
401	vbo/vbo_exec_eval.c \
402	vbo/vbo_exec.h \
403	vbo/vbo.h \
404	vbo/vbo_minmax_index.c \
405	vbo/vbo_noop.c \
406	vbo/vbo_noop.h \
407	vbo/vbo_primitive_restart.c \
408	vbo/vbo_rebase.c \
409	vbo/vbo_save_api.c \
410	vbo/vbo_save.c \
411	vbo/vbo_save_draw.c \
412	vbo/vbo_save.h \
413	vbo/vbo_save_loopback.c \
414	vbo/vbo_split.c \
415	vbo/vbo_split_copy.c \
416	vbo/vbo_split.h \
417	vbo/vbo_split_inplace.c
418
419STATETRACKER_FILES = \
420	state_tracker/st_atifs_to_tgsi.c \
421	state_tracker/st_atifs_to_tgsi.h \
422	state_tracker/st_atom_array.c \
423	state_tracker/st_atom_atomicbuf.c \
424	state_tracker/st_atom_blend.c \
425	state_tracker/st_atom.c \
426	state_tracker/st_atom_clip.c \
427	state_tracker/st_atom_constbuf.c \
428	state_tracker/st_atom_constbuf.h \
429	state_tracker/st_atom_depth.c \
430	state_tracker/st_atom_framebuffer.c \
431	state_tracker/st_atom.h \
432	state_tracker/st_atom_list.h \
433	state_tracker/st_atom_image.c \
434	state_tracker/st_atom_msaa.c \
435	state_tracker/st_atom_pixeltransfer.c \
436	state_tracker/st_atom_rasterizer.c \
437	state_tracker/st_atom_sampler.c \
438	state_tracker/st_atom_scissor.c \
439	state_tracker/st_atom_shader.c \
440	state_tracker/st_atom_shader.h \
441	state_tracker/st_atom_stipple.c \
442	state_tracker/st_atom_storagebuf.c \
443	state_tracker/st_atom_tess.c \
444	state_tracker/st_atom_texture.c \
445	state_tracker/st_atom_viewport.c \
446	state_tracker/st_cb_bitmap.c \
447	state_tracker/st_cb_bitmap.h \
448	state_tracker/st_cb_bitmap_shader.c \
449	state_tracker/st_cb_blit.c \
450	state_tracker/st_cb_blit.h \
451	state_tracker/st_cb_bufferobjects.c \
452	state_tracker/st_cb_bufferobjects.h \
453	state_tracker/st_cb_clear.c \
454	state_tracker/st_cb_clear.h \
455	state_tracker/st_cb_compute.c \
456	state_tracker/st_cb_compute.h \
457	state_tracker/st_cb_condrender.c \
458	state_tracker/st_cb_condrender.h \
459	state_tracker/st_cb_copyimage.c \
460	state_tracker/st_cb_copyimage.h \
461	state_tracker/st_cb_drawpixels.c \
462	state_tracker/st_cb_drawpixels.h \
463	state_tracker/st_cb_drawpixels_shader.c \
464	state_tracker/st_cb_drawtex.c \
465	state_tracker/st_cb_drawtex.h \
466	state_tracker/st_cb_eglimage.c \
467	state_tracker/st_cb_eglimage.h \
468	state_tracker/st_cb_fbo.c \
469	state_tracker/st_cb_fbo.h \
470	state_tracker/st_cb_feedback.c \
471	state_tracker/st_cb_feedback.h \
472	state_tracker/st_cb_flush.c \
473	state_tracker/st_cb_flush.h \
474	state_tracker/st_cb_memoryobjects.c \
475	state_tracker/st_cb_memoryobjects.h \
476	state_tracker/st_cb_msaa.c \
477	state_tracker/st_cb_msaa.h \
478	state_tracker/st_cb_perfmon.c \
479	state_tracker/st_cb_perfmon.h \
480	state_tracker/st_cb_program.c \
481	state_tracker/st_cb_program.h \
482	state_tracker/st_cb_queryobj.c \
483	state_tracker/st_cb_queryobj.h \
484	state_tracker/st_cb_rasterpos.c \
485	state_tracker/st_cb_rasterpos.h \
486	state_tracker/st_cb_readpixels.c \
487	state_tracker/st_cb_readpixels.h \
488	state_tracker/st_cb_strings.c \
489	state_tracker/st_cb_strings.h \
490	state_tracker/st_cb_syncobj.c \
491	state_tracker/st_cb_syncobj.h \
492	state_tracker/st_cb_texturebarrier.c \
493	state_tracker/st_cb_texturebarrier.h \
494	state_tracker/st_cb_texture.c \
495	state_tracker/st_cb_texture.h \
496	state_tracker/st_cb_viewport.c \
497	state_tracker/st_cb_viewport.h \
498	state_tracker/st_cb_xformfb.c \
499	state_tracker/st_cb_xformfb.h \
500	state_tracker/st_context.c \
501	state_tracker/st_context.h \
502	state_tracker/st_copytex.c \
503	state_tracker/st_copytex.h \
504	state_tracker/st_debug.c \
505	state_tracker/st_debug.h \
506	state_tracker/st_draw.c \
507	state_tracker/st_draw_feedback.c \
508	state_tracker/st_draw.h \
509	state_tracker/st_extensions.c \
510	state_tracker/st_extensions.h \
511	state_tracker/st_format.c \
512	state_tracker/st_format.h \
513	state_tracker/st_gen_mipmap.c \
514	state_tracker/st_gen_mipmap.h \
515	state_tracker/st_gl_api.h \
516	state_tracker/st_glsl_to_nir.cpp \
517	state_tracker/st_glsl_to_tgsi.cpp \
518	state_tracker/st_glsl_to_tgsi.h \
519	state_tracker/st_glsl_to_tgsi_private.cpp \
520	state_tracker/st_glsl_to_tgsi_private.h \
521	state_tracker/st_glsl_to_tgsi_temprename.cpp \
522	state_tracker/st_glsl_to_tgsi_temprename.h \
523	state_tracker/st_glsl_types.cpp \
524	state_tracker/st_glsl_types.h \
525	state_tracker/st_manager.c \
526	state_tracker/st_manager.h \
527	state_tracker/st_mesa_to_tgsi.c \
528	state_tracker/st_mesa_to_tgsi.h \
529	state_tracker/st_nir.h \
530	state_tracker/st_nir_lower_builtin.c \
531	state_tracker/st_nir_lower_tex_src_plane.c \
532	state_tracker/st_pbo.c \
533	state_tracker/st_pbo.h \
534	state_tracker/st_program.c \
535	state_tracker/st_program.h \
536	state_tracker/st_sampler_view.c \
537	state_tracker/st_sampler_view.h \
538	state_tracker/st_scissor.c \
539	state_tracker/st_scissor.h \
540	state_tracker/st_shader_cache.c \
541	state_tracker/st_shader_cache.h \
542	state_tracker/st_texture.c \
543	state_tracker/st_texture.h \
544	state_tracker/st_tgsi_lower_yuv.c \
545	state_tracker/st_tgsi_lower_yuv.h \
546	state_tracker/st_vdpau.c \
547	state_tracker/st_vdpau.h
548
549PROGRAM_FILES = \
550	program/arbprogparse.c \
551	program/arbprogparse.h \
552	program/ir_to_mesa.cpp \
553	program/ir_to_mesa.h \
554	program/lex.yy.c \
555	program/prog_cache.c \
556	program/prog_cache.h \
557	program/prog_execute.c \
558	program/prog_execute.h \
559	program/prog_instruction.c \
560	program/prog_instruction.h \
561	program/prog_noise.c \
562	program/prog_noise.h \
563	program/prog_opt_constant_fold.c \
564	program/prog_optimize.c \
565	program/prog_optimize.h \
566	program/prog_parameter.c \
567	program/prog_parameter.h \
568	program/prog_parameter_layout.c \
569	program/prog_parameter_layout.h \
570	program/prog_print.c \
571	program/prog_print.h \
572	program/program.c \
573	program/program.h \
574	program/programopt.c \
575	program/programopt.h \
576	program/program_parse_extra.c \
577	program/program_parse.tab.c \
578	program/program_parse.tab.h \
579	program/program_parser.h \
580	program/prog_statevars.c \
581	program/prog_statevars.h \
582	program/symbol_table.c \
583	program/symbol_table.h
584
585PROGRAM_NIR_FILES = \
586	program/prog_to_nir.c \
587	program/prog_to_nir.h
588
589ASM_C_FILES =	\
590	x86/common_x86.c \
591	x86/x86_xform.c \
592	x86/3dnow.c \
593	x86/sse.c \
594	x86/rtasm/x86sse.c \
595	x86/rtasm/x86sse.h \
596	sparc/sparc.c \
597	x86-64/x86-64.c
598
599X86_FILES =			\
600	x86/assyntax.h		\
601	x86/clip_args.h	\
602	x86/norm_args.h	\
603	x86/xform_args.h	\
604	x86/common_x86_asm.S	\
605	x86/common_x86_asm.h	\
606	x86/common_x86_features.h	\
607	x86/x86_xform.h	\
608	x86/x86_xform2.S	\
609	x86/x86_xform3.S	\
610	x86/x86_xform4.S	\
611	x86/x86_cliptest.S	\
612	x86/mmx.h		\
613	x86/mmx_blend.S	\
614	x86/mmx_blendtmp.h	\
615	x86/3dnow.h		\
616	x86/3dnow_xform1.S	\
617	x86/3dnow_xform2.S	\
618	x86/3dnow_xform3.S	\
619	x86/3dnow_xform4.S	\
620	x86/sse.h		\
621	x86/sse_xform1.S	\
622	x86/sse_xform2.S	\
623	x86/sse_xform3.S	\
624	x86/sse_xform4.S	\
625	x86/sse_normal.S	\
626	x86/read_rgba_span_x86.S
627
628X86_64_FILES =		\
629	x86-64/x86-64.h	\
630	x86-64/xform4.S
631
632X86_SSE41_FILES = \
633	main/streaming-load-memcpy.c \
634	main/streaming-load-memcpy.h \
635	main/sse_minmax.c \
636	main/sse_minmax.h
637
638SPARC_FILES =			\
639	sparc/sparc.h		\
640	sparc/sparc_clip.S	\
641	sparc/sparc_matrix.h	\
642	sparc/norm.S		\
643	sparc/xform.S
644
645COMMON_DRIVER_FILES =			\
646	drivers/common/driverfuncs.c	\
647	drivers/common/driverfuncs.h	\
648	drivers/common/meta_blit.c	\
649	drivers/common/meta_generate_mipmap.c	\
650	drivers/common/meta.c \
651	drivers/common/meta.h
652
653
654# Sources for building non-Gallium drivers
655MESA_FILES = \
656	$(MAIN_FILES)		\
657	$(MATH_FILES)		\
658	$(MATH_XFORM_FILES)	\
659	$(VBO_FILES)		\
660	$(TNL_FILES)		\
661	$(SWRAST_FILES)	\
662	$(SWRAST_SETUP_FILES)	\
663	$(COMMON_DRIVER_FILES)\
664	$(ASM_C_FILES)
665
666# Sources for building Gallium drivers
667MESA_GALLIUM_FILES = \
668	$(MAIN_FILES)		\
669	$(MATH_FILES)		\
670	$(VBO_FILES)		\
671	$(STATETRACKER_FILES)	\
672	x86/common_x86.c
673
674### Include directories
675
676INCLUDE_DIRS = \
677	-I$(top_srcdir)/include \
678	-I$(top_builddir)/src \
679	-I$(top_srcdir)/src \
680	-I$(top_builddir)/src/compiler/glsl \
681	-I$(top_builddir)/src/compiler/nir \
682	-I$(top_builddir)/src/mesa \
683	-I$(top_srcdir)/src/mesa \
684	-I$(top_builddir)/src/mesa/main \
685	-I$(top_srcdir)/src/mesa/main \
686	-I$(top_builddir)/src/mapi \
687	-I$(top_srcdir)/src/mapi \
688	-I$(top_srcdir)/src/gallium/include \
689	-I$(top_srcdir)/src/gallium/auxiliary
690