X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=ginge.git;a=blobdiff_plain;f=common%2Fhost_fb.h;h=9a1c1f879ff4809de28d023f836a61abc4c8ead1;hp=edb931ba5a38f36f8d579febc5257e072bb58818;hb=830ba1bf77492eb259dad9dea3d9531b51376009;hpb=4d0451847a77d420284c7fb0f50b1f167c1118ee diff --git a/common/host_fb.h b/common/host_fb.h index edb931b..9a1c1f8 100644 --- a/common/host_fb.h +++ b/common/host_fb.h @@ -1,6 +1,12 @@ 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); -void host_video_blit4(const unsigned char *src, int w, int h, unsigned int *pal); -void host_video_blit8(const unsigned char *src, int w, int h, unsigned int *pal); -void host_video_blit16(const unsigned short *src, int w, int h); +// 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);