mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-23 02:19:49 +01:00
3ce2ea9e16
Add render/allocator/ and include/render/allocator/ to hold everything allocator-related.
9 lines
239 B
Meson
9 lines
239 B
Meson
wlr_files += files(
|
|
'allocator.c',
|
|
'gbm.c',
|
|
'shm.c',
|
|
'drm_dumb.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')
|