File: dmabuf_fallback.c

package info (click to toggle)
phoc 0.51.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,948 kB
  • sloc: ansic: 106,056; xml: 3,765; sh: 138; makefile: 33; javascript: 5
file content (17 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (5)
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;
}