summaryrefslogtreecommitdiff
path: root/libvgem.h
diff options
context:
space:
mode:
Diffstat (limited to 'libvgem.h')
-rw-r--r--libvgem.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libvgem.h b/libvgem.h
new file mode 100644
index 0000000..0dda175
--- /dev/null
+++ b/libvgem.h
@@ -0,0 +1,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