X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/0a9d0188bd22fed7eb3606d307e9dfd10c3357cf..826e2bd2a1aa8d425989ee3d38d5dd5a8040b9f8:/include/fb.h diff --git a/include/fb.h b/include/fb.h index 19dae0b..79f05b5 100644 --- a/include/fb.h +++ b/include/fb.h @@ -12,6 +12,7 @@ typedef enum { typedef void (*getvmode_t)(void *); typedef uint32_t (*checksum_rect_t)(int x, int y, int width, int height); +typedef void (*copy_pixels_t)(char *buf, int x, int y, int width, int height); struct vmode { int text:1; @@ -21,9 +22,11 @@ struct vmode { struct fbdevice { unsigned char *fbaddr; + unsigned char *textbase; /* A safe place to put a textfb. */ void *priv; getvmode_t getvmode; checksum_rect_t checksum_rect; + copy_pixels_t copy_pixels; struct vmode curmode; };