|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Enumerations | |
| enum | { PHASE_HALVE , PHASE_INCR , PHASE_DECR , PHASE_FINAL } |
Functions | |
| static void | running_stats (void) |
| static void | stats (void) |
| static int | check_start (void) |
| static void | setup (void) |
| static int | getnum (int *seed, int mn) |
| static void | get_vert (int *seed, int *x, int *y, int *col) |
| static void | do_frame (void) |
| void | switch_tests (int ppf) |
| void | check_switch (void) |
| int | main (int argc, char **argv) |
Variables | |
| static pvr_init_params_t | pvr_params |
| static int | polycnt |
| static int | phase = PHASE_HALVE |
| static float | avgfps = -1 |
| static pvr_poly_hdr_t | hdr |
| static time_t | begin |
|
static |
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().
|
static |
References pvr_vertex_t::argb, dr_state, pvr_vertex_t::flags, get_vert(), getnum, hdr, oldseed, polycnt, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, pvr_dr_commit, pvr_dr_init(), pvr_dr_target, 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().
|
inlinestatic |
Referenced by do_frame().
|
inlinestatic |
| int main | ( | int | argc, |
| char ** | argv ) |
References begin, check_start(), check_switch(), do_frame(), NULL, printf, running_stats(), setup(), stats(), and switch_tests().
|
static |
References avgfps, pvr_get_stats(), and stats().
Referenced by main().
|
static |
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().
|
static |
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().
|
static |
Referenced by check_switch(), running_stats(), and switch_tests().
|
static |
Referenced by check_switch(), and main().
|
static |
Referenced by do_frame(), and setup().
|
static |
Referenced by check_switch().
|
static |
Referenced by check_switch(), do_frame(), and switch_tests().
|
static |
Referenced by setup().