aboutsummaryrefslogtreecommitdiff
path: root/render/dmabuf_fallback.c
blob: 820d46d566a02b1130f742fc3c4ee460310f94af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
}

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;
}