Merge commit '413fb2412d' into stable-0.11
[qemu-kvm/fedora.git] / hw / framebuffer.h
bloba3a214649d26985902409a974fea498a5d3b7f67
1 #ifndef QEMU_FRAMEBUFFER_H
2 #define QEMU_FRAMEBUFFER_H
4 /* Framebuffer device helper routines. */
6 typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
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);
22 #endif