summaryrefslogblamecommitdiffstats
path: root/hw/display/framebuffer.h
blob: 6eae035b7d1ba6595add7833257b02a7bd686eff (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                          
                        
 




                                                                     
                       
                                
                











                       
#ifndef QEMU_FRAMEBUFFER_H
#define QEMU_FRAMEBUFFER_H

#include "exec/memory.h"

/* Framebuffer device helper routines.  */

typedef void (*drawfn)(void *, uint8_t *, const uint8_t *, int, int);

void framebuffer_update_display(
    DisplaySurface *ds,
    MemoryRegion *address_space,
    hwaddr base,
    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