75a30842 |
1 | extern void *gp2x_screens[4]; |
2 | extern int gp2x_current_bpp; |
3 | |
4 | /* SoC specific functions */ |
5 | extern void (*gp2x_video_flip)(void); |
6 | extern void (*gp2x_video_flip2)(void); |
7 | /* negative bpp means rotated mode (for Wiz) */ |
31f944ea |
8 | extern void (*gp2x_video_changemode_ll)(int bpp, int is_pal); |
75a30842 |
9 | extern void (*gp2x_video_setpalette)(int *pal, int len); |
10 | extern void (*gp2x_video_RGB_setscaling)(int ln_offs, int W, int H); |
11 | extern void (*gp2x_video_wait_vsync)(void); |
12 | |
13 | /* ??? */ |
31f944ea |
14 | void gp2x_video_changemode(int bpp, int is_pal); |
75a30842 |
15 | void gp2x_memcpy_all_buffers(void *data, int offset, int len); |
16 | void gp2x_memset_all_buffers(int offset, int byte, int len); |
17 | |
18 | /* vid_*.c */ |
19 | void vid_mmsp2_init(void); |
20 | void vid_mmsp2_finish(void); |
21 | |
22 | void vid_pollux_init(); |
23 | void vid_pollux_finish(); |
24 | |
25 | void gp2x_menu_init(void); |