mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
render/allocator/gbm: require GBM 21.1
Mesa 21.1 was released back in 2021. Let's require it so that we can simplify our build and remove the workaround.
This commit is contained in:
parent
221b37355f
commit
bb50c7a5a4
2 changed files with 1 additions and 33 deletions
|
|
@ -13,15 +13,12 @@ wlr_files += files(
|
|||
|
||||
gbm = disabler()
|
||||
if 'gbm' in allocators or 'auto' in allocators
|
||||
gbm = dependency('gbm', version: '>=17.1.0', required: 'gbm' in allocators)
|
||||
gbm = dependency('gbm', version: '>=21.1', required: 'gbm' in allocators)
|
||||
endif
|
||||
if gbm.found()
|
||||
wlr_files += files('gbm.c')
|
||||
wlr_deps += gbm
|
||||
features += { 'gbm-allocator': true }
|
||||
|
||||
has = cc.has_function('gbm_bo_get_fd_for_plane', dependencies: [gbm])
|
||||
internal_config.set10('HAVE_GBM_BO_GET_FD_FOR_PLANE', has)
|
||||
endif
|
||||
|
||||
udmabuf = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue