|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Macros | |
| #define | nextnum() |
| #define | getnum(mn) |
Enumerations | |
| enum | { PHASE_HALVE , PHASE_INCR , PHASE_DECR , PHASE_FINAL } |
Functions | |
| void | running_stats (void) |
| void | stats (void) |
| int | check_start (void) |
| void | setup (void) |
| void | do_frame (void) |
| void | switch_tests (int ppf) |
| void | check_switch (void) |
| int | main (int argc, char **argv) |
Variables | |
| pvr_init_params_t | pvr_params |
| int | polycnt |
| int | phase = PHASE_HALVE |
| float | avgfps = -1 |
| pvr_poly_hdr_t | hdr |
| int | oldseed = 0xdeadbeef |
| time_t | begin |
| #define getnum | ( | mn | ) |
Referenced by do_frame(), do_frame(), and get_vert().
| #define nextnum | ( | ) |
Referenced by do_frame().
| int check_start | ( | void | ) |
References cont_state_t::buttons, CONT_START, maple_dev_status(), maple_enum_type(), and MAPLE_FUNC_CONTROLLER.
Referenced by main().
| void check_switch | ( | void | ) |
References avgfps, begin, NULL, phase, PHASE_DECR, PHASE_FINAL, PHASE_HALVE, PHASE_INCR, polycnt, printf, and switch_tests().
Referenced by main().
| void do_frame | ( | void | ) |
References pvr_vertex_t::argb, pvr_vertex_t::flags, getnum, hdr, nextnum, oldseed, polycnt, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, pvr_list_begin(), pvr_list_finish(), PVR_LIST_OP_POLY, pvr_prim(), pvr_scene_begin(), pvr_scene_finish(), pvr_wait_ready(), vert, vid_border_color(), pvr_vertex_t::x, x, pvr_vertex_t::y, y, pvr_vertex_t::z, and z.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
References begin, check_start(), check_switch(), do_frame(), NULL, printf, running_stats(), setup(), stats(), and switch_tests().
| void running_stats | ( | void | ) |
References avgfps, pvr_get_stats(), and stats().
Referenced by main().
| void setup | ( | void | ) |
References cxt, pvr_poly_cxt_t::gen, hdr, pvr_init(), PVR_LIST_OP_POLY, pvr_params, pvr_poly_compile(), pvr_poly_cxt_col(), pvr_set_bg_color(), PVR_SHADE_FLAT, and pvr_poly_cxt_t::shading.
Referenced by main().
| void stats | ( | void | ) |
References DBG_INFO, dbglog, pvr_get_stats(), and stats().
Referenced by main(), running_stats(), and stats().
| void switch_tests | ( | int | ppf | ) |
References avgfps, polycnt, and printf.
Referenced by check_switch(), and main().
| float avgfps = -1 |
Referenced by check_switch(), running_stats(), and switch_tests().
| time_t begin |
Referenced by check_switch(), and main().
| pvr_poly_hdr_t hdr |
Referenced by do_frame(), and setup().
| int oldseed = 0xdeadbeef |
Referenced by do_frame(), and do_frame().
| int phase = PHASE_HALVE |
Referenced by check_switch().
| int polycnt |
Referenced by check_switch(), do_frame(), and switch_tests().
| pvr_init_params_t pvr_params |
Referenced by setup().