aboutsummaryrefslogtreecommitdiff
path: root/src/common/include/framebuffer.h
blob: febbfaa4bd108051397aa0c1e758d68af57e0be0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

typedef struct {
	uint32_t width, height;
	uint32_t pitch;		// bytes per line
	uint32_t bpp;
} framebuffer_info_t;

typedef struct {
	int mode_number;
	framebuffer_info_t geom;
} fbdev_mode_info_t;

#define IOCTL_FBDEV_GET_MODE_INFO	10
#define IOCTL_FBDEV_SET_MODE		11

#define IOCTL_FB_GET_INFO			12

/* vim: set ts=4 sw=4 tw=0 noet :*/