blob: a3a214649d26985902409a974fea498a5d3b7f67 [file] [log] [blame]
pbrook714fa302009-04-01 12:27:59 +00001#ifndef QEMU_FRAMEBUFFER_H
2#define QEMU_FRAMEBUFFER_H
3
4/* Framebuffer device helper routines. */
5
6typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
7
8void framebuffer_update_display(
9 DisplayState *ds,
Anthony Liguoric227f092009-10-01 16:12:16 -050010 target_phys_addr_t base,
pbrook714fa302009-04-01 12:27:59 +000011 int cols,
12 int rows,
13 int src_width,
14 int dest_row_pitch,
15 int dest_col_pitch,
16 int invalidate,
17 drawfn fn,
18 void *opaque,
19 int *first_row,
20 int *last_row);
21
22#endif