File: dmabuf_fallback.c

package info (click to toggle)
wlroots 0.19.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,592 kB
  • sloc: ansic: 75,754; xml: 2,739; sh: 33; makefile: 23
file content (17 lines) | stat: -rw-r--r-- 467 bytes parent folder | download | duplicates (3)
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;
}