Merge remote-tracking branch 'riku/linux-user-for-upstream' into staging
[qemu/wangdongxu.git] / hw / framebuffer.h
blob527a6b85f812ffa56acda8660df25c1f461bb03f
1 #ifndef QEMU_FRAMEBUFFER_H
2 #define QEMU_FRAMEBUFFER_H
4 #include "memory.h"
6 /* Framebuffer device helper routines. */
8 typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
10 void framebuffer_update_display(
11 DisplayState *ds,
12 MemoryRegion *address_space,
13 target_phys_addr_t base,
14 int cols,
15 int rows,
16 int src_width,
17 int dest_row_pitch,
18 int dest_col_pitch,
19 int invalidate,
20 drawfn fn,
21 void *opaque,
22 int *first_row,
23 int *last_row);
25 #endif