File modeset.c

Defines

_GNU_SOURCE

Functions

static int modeset_find_crtc(int fd, drmModeRes *res, drmModeConnector *conn, struct modeset_dev *dev)
static int modeset_create_fb(int fd, struct modeset_dev *dev)
static int modeset_setup_dev(int fd, drmModeRes *res, drmModeConnector *conn, struct modeset_dev *dev)
static int modeset_open(int *out, const char *node)
static int modeset_prepare(int fd)
static void modeset_draw(void)
static void modeset_cleanup(int fd)
int main(int argc, char **argv)
static uint8_t next_color(bool *up, uint8_t cur, unsigned int mod)

Variables

static struct modeset_dev *modeset_list = NULL
struct modeset_dev