mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -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
12
render/dmabuf_fallback.c
Normal file
12
render/dmabuf_fallback.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include <wlr/util/log.h>
|
||||
|
||||
#include "render/dmabuf.h"
|
||||
|
||||
bool dmabuf_check_sync_file_import_export(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
bool dmabuf_import_sync_file(int dmabuf_fd, uint32_t flags, int sync_file_fd) {
|
||||
wlr_log(WLR_ERROR, "DMA-BUF sync_file import IOCTL not available on this system");
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue