|
KallistiOS git master
Independent SDK for the Sega Dreamcast
|
API for using direct rendering with the PVR More...
Macros | |
| #define | pvr_dr_target(...) |
| Obtain the target address for Direct Rendering. | |
| #define | pvr_dr_commit(addr) |
| Commit a primitive written into the Direct Rendering target address. | |
Functions | |
| void | pvr_send_to_ta (void *data) |
| Upload a 32-byte payload to the Tile Accelerator. | |
API for using direct rendering with the PVR
| #define pvr_dr_commit | ( | addr | ) |
Commit a primitive written into the Direct Rendering target address.
| addr | The address returned by pvr_dr_target(), after you have written the primitive to it. |
Referenced by do_frame(), render_back_buffer_step1(), render_back_buffer_step2(), render_bouncing_cube(), and render_coords().
| #define pvr_dr_target | ( | ... | ) |
Obtain the target address for Direct Rendering.
Note that you're not expected to pass any argument. The macro can take arguments for compatibility reasons and will ignore them.
Referenced by do_frame(), render_back_buffer_step1(), render_back_buffer_step2(), render_bouncing_cube(), and render_coords().
| void pvr_send_to_ta | ( | void * | data | ) |
Upload a 32-byte payload to the Tile Accelerator.
Upload the given payload to the Tile Accelerator. The difference with the Direct Rendering approach above is that the Store Queues are not used, and therefore can be used for anything else.
| data | A pointer to the 32-byte payload. The pointer must be aligned to 8 bytes. |