pbrook | 714fa30 | 2009-04-01 12:27:59 +0000 | [diff] [blame^] | 1 | #ifndef QEMU_FRAMEBUFFER_H |
2 | #define QEMU_FRAMEBUFFER_H | ||||
3 | |||||
4 | /* Framebuffer device helper routines. */ | ||||
5 | |||||
6 | typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int); | ||||
7 | |||||
8 | void framebuffer_update_display( | ||||
9 | DisplayState *ds, | ||||
10 | target_phys_addr_t base, | ||||
11 | 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 |