|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Macros | |
| #define | SQUARE_SIZE 64 |
Functions | |
| static void | change_color (uint8_t, uint32_t btns) |
| static void | do_exit (uint8_t, uint32_t) |
| static void | render_coords (const struct square_fcoords *coords, float z, uint32_t argb, float uoffset) |
| static void | render_bouncing_cube (uint16_t x, uint16_t y) |
| static void | render_back_buffer_step1 (pvr_ptr_t fake_tex) |
| static void | render_back_buffer_step2 (pvr_ptr_t frontbuf, bool hi_chip) |
| int | main (int argc, char **argv) |
Variables | |
| static bool | done |
| static uint32_t | dr_state |
| static uint32_t | fbuf_color = 0xffffffff |
| static const uint16_t | fake_tex_data [] |
| static const struct square_fcoords | fb_render_coords_mask |
| static const struct square_fcoords | fb_render_fcoords_left |
| static const struct square_fcoords | fb_render_fcoords_right |
| #define SQUARE_SIZE 64 |
Referenced by main(), and render_bouncing_cube().
|
static |
References CONT_A, and fbuf_color.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv ) |
References change_color(), CONT_A, CONT_B, cont_btn_callback(), CONT_START, DM_640x480, do_exit(), done, fake_tex_data, PM_RGB565, pvr_get_front_buffer(), pvr_init_defaults(), pvr_list_begin(), pvr_list_finish(), PVR_LIST_OP_POLY, PVR_LIST_TR_POLY, pvr_mem_free(), pvr_mem_malloc(), PVR_RAM_SIZE, pvr_scene_begin(), pvr_scene_finish(), pvr_set_vertical_scale(), pvr_txr_load(), pvr_txr_set_stride(), render_back_buffer_step1(), render_back_buffer_step2(), render_bouncing_cube(), SQUARE_SIZE, uint32_t(), vid_set_dithering(), vid_set_mode(), x, and y.
|
static |
References pvr_poly_cxt_t::alpha, cxt, dr_state, fb_render_coords_mask, pvr_dr_commit, pvr_dr_target, PVR_FILTER_NEAREST, PVR_LIST_OP_POLY, pvr_poly_compile(), pvr_poly_cxt_txr(), PVR_TXRALPHA_ENABLE, PVR_TXRFMT_ARGB1555, render_coords(), and pvr_poly_cxt_t::txr.
Referenced by main().
|
static |
References pvr_poly_cxt_t::alpha, pvr_poly_cxt_t::blend, cxt, dr_state, pvr_poly_cxt_t::dst, pvr_poly_cxt_t::env, fb_render_fcoords_left, fb_render_fcoords_right, fbuf_color, PVR_BLEND_DESTALPHA, PVR_BLEND_INVDESTALPHA, PVR_BLEND_ONE, PVR_BLEND_ZERO, pvr_dr_commit, pvr_dr_target, PVR_FILTER_NEAREST, PVR_LIST_TR_POLY, pvr_poly_compile(), pvr_poly_cxt_txr(), PVR_TXRALPHA_DISABLE, PVR_TXRENV_REPLACE, PVR_TXRFMT_NONTWIDDLED, PVR_TXRFMT_RGB565, PVR_TXRFMT_X32_STRIDE, render_coords(), pvr_poly_cxt_t::src, and pvr_poly_cxt_t::txr.
Referenced by main().
|
static |
References color, cxt, dr_state, pvr_dr_commit, pvr_dr_target, PVR_LIST_OP_POLY, pvr_poly_compile(), pvr_poly_cxt_col(), render_coords(), SQUARE_SIZE, uint32_t(), x, and y.
Referenced by main().
|
static |
References dr_state, PVR_CMD_VERTEX, PVR_CMD_VERTEX_EOL, pvr_dr_commit, pvr_dr_target, vert, and z.
Referenced by render_back_buffer_step1(), render_back_buffer_step2(), and render_bouncing_cube().
|
static |
Referenced by die(), do_exit(), font_one_frame(), main(), and main().
|
static |
Referenced by render_back_buffer_step1(), render_back_buffer_step2(), render_bouncing_cube(), and render_coords().
|
static |
Referenced by main().
|
static |
Referenced by render_back_buffer_step1().
|
static |
Referenced by render_back_buffer_step2().
|
static |
Referenced by render_back_buffer_step2().
|
static |
Referenced by change_color(), and render_back_buffer_step2().