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
|
srcs_glamor = [
'glamor.c',
'glamor_copy.c',
'glamor_core.c',
'glamor_dash.c',
'glamor_font.c',
'glamor_glx.c',
'glamor_composite_glyphs.c',
'glamor_image.c',
'glamor_lines.c',
'glamor_segs.c',
'glamor_render.c',
'glamor_gradient.c',
'glamor_prepare.c',
'glamor_program.c',
'glamor_rects.c',
'glamor_spans.c',
'glamor_text.c',
'glamor_transfer.c',
'glamor_transform.c',
'glamor_trapezoid.c',
'glamor_triangles.c',
'glamor_addtraps.c',
'glamor_glyphblt.c',
'glamor_points.c',
'glamor_pixmap.c',
'glamor_largepixmap.c',
'glamor_picture.c',
'glamor_vbo.c',
'glamor_window.c',
'glamor_fbo.c',
'glamor_compositerects.c',
'glamor_utils.c',
'glamor_sync.c',
]
if build_xv
srcs_glamor += 'glamor_xv.c'
endif
epoxy_dep = dependency('epoxy')
glamor = static_library('glamor',
srcs_glamor,
include_directories: inc,
dependencies: [
common_dep,
epoxy_dep,
],
)
glamor_egl_stubs = static_library('glamor_egl_stubs',
'glamor_egl_stubs.c',
include_directories: inc,
dependencies: common_dep,
)
if build_xorg
install_data('glamor.h', install_dir: xorgsdkdir)
endif
|