diff options
Diffstat (limited to 'src/drm_fb.h')
-rw-r--r-- | src/drm_fb.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/drm_fb.h b/src/drm_fb.h new file mode 100644 index 0000000..c283362 --- /dev/null +++ b/src/drm_fb.h @@ -0,0 +1,12 @@ +#ifndef _DRM_FB_H +#define _DRM_FB_H + +#include <stdint.h> +#include <xf86drmMode.h> + +typedef struct drm_fb_t drm_fb_t; + +drm_fb_t * drm_fb_new(int drm_fd, uint32_t crtc_id, uint32_t *connectors, int n_connectors, drmModeModeInfoPtr mode); +void drm_fb_free(drm_fb_t *fb); + +#endif |