xserver-multidpi/glamor/meson.build
Louis-Francis Ratté-Boulianne cef12efc15 glamor: Implement GetSupportedModifiers
Implement function added in DRI3 v1.1.

A newest version of libepoxy (>= 1.4.4) is required as earlier
versions use a problematic version of Khronos
EXT_image_dma_buf_import_modifiers spec.

v4: Only send scanout-supported modifiers if flipping is possible
v5: Fix memory corruption in XWayland (uninitialized pointer)

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Acked-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
2018-03-05 13:27:55 -05:00

61 lines
1.2 KiB
Meson

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