2009-04-01 14:27:59 +02:00
|
|
|
#ifndef QEMU_FRAMEBUFFER_H
|
|
|
|
#define QEMU_FRAMEBUFFER_H
|
|
|
|
|
2012-12-17 18:19:49 +01:00
|
|
|
#include "exec/memory.h"
|
2011-12-08 15:00:54 +01:00
|
|
|
|
2009-04-01 14:27:59 +02:00
|
|
|
/* Framebuffer device helper routines. */
|
|
|
|
|
|
|
|
typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);
|
|
|
|
|
|
|
|
void framebuffer_update_display(
|
2013-03-05 15:24:14 +01:00
|
|
|
DisplaySurface *ds,
|
2011-12-08 15:00:54 +01:00
|
|
|
MemoryRegion *address_space,
|
2012-10-23 12:30:10 +02:00
|
|
|
hwaddr base,
|
2009-04-01 14:27:59 +02:00
|
|
|
int cols,
|
|
|
|
int rows,
|
|
|
|
int src_width,
|
|
|
|
int dest_row_pitch,
|
|
|
|
int dest_col_pitch,
|
|
|
|
int invalidate,
|
|
|
|
drawfn fn,
|
|
|
|
void *opaque,
|
|
|
|
int *first_row,
|
|
|
|
int *last_row);
|
|
|
|
|
|
|
|
#endif
|