scrolling XOR benchmark
[retrobench] / src / rbench.h
1 #ifndef RETROBENCH_H_
2 #define RETROBENCH_H_
3
4 struct options {
5         int width, height, bpp;
6 };
7
8 extern struct options opt;
9 extern int fb_width, fb_height, fb_bpp, fb_pitch;
10 extern void *framebuf;
11 extern unsigned int time_msec;
12
13 int init(void);
14 void cleanup(void);
15
16 void redraw(void);
17 void key_event(int key, int press);
18
19 int read_config(const char *fname);
20
21
22 #endif  /* RETROBENCH_H_ */