summaryrefslogtreecommitdiff
path: root/src/drm_fb.h
blob: c283362c8e76070acd77964cab4b546dca0d0982 (plain)
1
2
3
4
5
6
7
8
9
10
11
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
© All Rights Reserved