diff options
author | Simon Ser <contact@emersion.fr> | 2021-08-25 09:33:19 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-08-25 09:57:20 -0400 |
commit | 3ce2ea9e16fcd1bfab4ec9d5994fa721c5d58dcd (patch) | |
tree | 1bce6445158968c4d73cd73be30c141468dbc84c /render/meson.build | |
parent | b37731cdbbef4dc52033c2d26b04d2329720fa07 (diff) |
Move allocator stuff into new directory
Add render/allocator/ and include/render/allocator/ to hold
everything allocator-related.
Diffstat (limited to 'render/meson.build')
-rw-r--r-- | render/meson.build | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/render/meson.build b/render/meson.build index 8c1793f1..b35ba7c9 100644 --- a/render/meson.build +++ b/render/meson.build @@ -6,21 +6,14 @@ elif 'auto' in renderers and get_option('auto_features').disabled() endif wlr_files += files( - 'allocator.c', 'dmabuf.c', 'drm_format_set.c', - 'gbm_allocator.c', 'pixel_format.c', - 'shm_allocator.c', 'swapchain.c', 'wlr_renderer.c', 'wlr_texture.c', - 'drm_dumb_allocator.c', ) -has = cc.has_function('gbm_bo_get_fd_for_plane', dependencies: [gbm]) -add_project_arguments('-DHAS_GBM_BO_GET_FD_FOR_PLANE=@0@'.format(has.to_int()), language: 'c') - egl = dependency('egl', required: 'gles2' in renderers) if egl.found() wlr_deps += egl @@ -32,3 +25,5 @@ if 'gles2' in renderers or 'auto' in renderers endif subdir('pixman') + +subdir('allocator') |