]> git.proxmox.com Git - qemu.git/blame - hw/framebuffer.h
Merge remote-tracking branch 'spice/spice.v39' into staging
[qemu.git] / hw / framebuffer.h
CommitLineData
714fa308
PB
1#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,
c227f099 10 target_phys_addr_t base,
714fa308
PB
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