2017-08-30 18:30:47 +00:00
|
|
|
lib_wlr_render = static_library(
|
|
|
|
'wlr_render',
|
|
|
|
files(
|
2018-05-31 11:33:27 +00:00
|
|
|
'dmabuf.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'egl.c',
|
2019-04-01 16:15:56 +00:00
|
|
|
'drm_format_set.c',
|
2017-08-30 18:30:47 +00:00
|
|
|
'gles2/pixel_format.c',
|
|
|
|
'gles2/renderer.c',
|
|
|
|
'gles2/shaders.c',
|
|
|
|
'gles2/texture.c',
|
|
|
|
'wlr_renderer.c',
|
|
|
|
'wlr_texture.c',
|
|
|
|
),
|
|
|
|
include_directories: wlr_inc,
|
2018-10-14 22:39:35 +00:00
|
|
|
dependencies: [
|
|
|
|
egl,
|
2018-10-15 20:34:23 +00:00
|
|
|
drm.partial_dependency(compile_args: true), # <drm_fourcc.h>
|
2018-10-14 22:39:35 +00:00
|
|
|
glesv2,
|
|
|
|
pixman,
|
2019-04-01 16:15:56 +00:00
|
|
|
wayland_server,
|
2018-10-14 22:39:35 +00:00
|
|
|
],
|
2017-08-30 18:30:47 +00:00
|
|
|
)
|
2017-10-08 00:19:25 +00:00
|
|
|
|
|
|
|
wlr_render = declare_dependency(
|
|
|
|
link_with: lib_wlr_render,
|
|
|
|
)
|