summaryrefslogtreecommitdiff
path: root/libvgem.h
blob: 0dda175d684375e4e943299fd9653fb4c7880b03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _LIBVGEM_H_
#define _LIBVGEM_H_

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

int drm_open_vgem(void);
int create_vgem_bo(int fd, size_t size);
void *mmap_vgem_bo(int fd, int handle, size_t size);

#endif