render/dmabuf: add dmabuf_export_sync_file()

This commit is contained in:
Simon Ser 2022-12-01 11:29:30 +01:00 committed by Simon Zeni
parent 825f1b2dc6
commit 30219cf76b
3 changed files with 38 additions and 0 deletions

View file

@ -10,3 +10,8 @@ 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;
}
int dmabuf_export_sync_file(int dmabuf_fd, uint32_t flags) {
wlr_log(WLR_ERROR, "DMA-BUF sync_file export IOCTL not available on this system");
return false;
}