mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
render/dmabuf: add dmabuf_import_sync_file
References: https://lore.kernel.org/dri-devel/20220506180216.2095060-1-jason@jlekstrand.net/
This commit is contained in:
parent
10f543d579
commit
aaf828d3d2
5 changed files with 120 additions and 0 deletions
|
|
@ -14,6 +14,12 @@ wlr_files += files(
|
|||
'wlr_texture.c',
|
||||
)
|
||||
|
||||
if cc.has_header('linux/dma-buf.h') and target_machine.system() == 'linux'
|
||||
wlr_files += files('dmabuf_linux.c')
|
||||
else
|
||||
wlr_files += files('dmabuf_fallback.c')
|
||||
endif
|
||||
|
||||
if 'gles2' in renderers or 'auto' in renderers
|
||||
egl = dependency('egl', required: 'gles2' in renderers)
|
||||
gbm = dependency('gbm', required: 'gles2' in renderers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue