blob: 6fa342011a34ac6485a5777c59263d796623133b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#ifndef DRM_XVIMAGE_H
#define DRM_XVIMAGE_H
#include <stdint.h>
#include <xf86drm.h>
#include <X11/Xlib.h>
struct drm {
int fd;
};
struct drm *drm_get_and_auth(Display *dpy);
void drm_close(struct drm *);
int drm_handle_flink(struct drm *drm, uint32_t handle, uint32_t *name);
void drm_handle_close(struct drm *drm, uint32_t handle);
#endif
|