]> git.proxmox.com Git - qemu.git/blame - hw/display/framebuffer.h
arm_mptimer: Convert to QOM realize
[qemu.git] / hw / display / framebuffer.h
CommitLineData
714fa308
PB
1#ifndef QEMU_FRAMEBUFFER_H
2#define QEMU_FRAMEBUFFER_H
3
022c62cb 4#include "exec/memory.h"
75c9d6c2 5
714fa308
PB
6/* Framebuffer device helper routines. */
7
8typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
9
10void framebuffer_update_display(
c78f7137 11 DisplaySurface *ds,
75c9d6c2 12 MemoryRegion *address_space,
a8170e5e 13 hwaddr base,
714fa308
PB
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);
24
25#endif