X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Fhost_fb.h;h=cf693566d7bfb901c4f09cd75d9e1a1a140409ff;hp=bd739d491fc99c02e4fd484d289bbf019d7de934;hb=HEAD;hpb=3adc9ccb6566130bde29eeaf5c126f28c57c57d5 diff --git a/common/host_fb.h b/common/host_fb.h index bd739d4..cf69356 100644 --- a/common/host_fb.h +++ b/common/host_fb.h @@ -1,3 +1,14 @@ int host_video_init(int *stride, int no_dblbuf); +void host_video_finish(void); void *host_video_flip(void); +void host_video_change_bpp(int bpp); +// these are mutually exclusive +void host_video_update_pal16(unsigned short *pal); +void host_video_update_pal32(unsigned int *pal); + +void host_video_blit4(const unsigned char *src, int w, int h, int stride); +void host_video_blit8(const unsigned char *src, int w, int h, int stride); +void host_video_blit16(const unsigned short *src, int w, int h, int stride); + +void host_video_normalize_ts(int *x1024, int *y1024);