KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
pvrline.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <kos.h>

Macros

#define VERTBUF_SIZE   (512*1024)
 

Functions

 KOS_INIT_FLAGS (INIT_DEFAULT)
 
void draw_pvr_line (vec3f_t *v1, vec3f_t *v2, float width, int color, int which_list, pvr_poly_hdr_t *which_hdr)
 
int main (int argc, char **argv)
 

Variables

pvr_init_params_t pvr_params
 
uint8_t op_buf [VERTBUF_SIZE]
 
uint8_t tr_buf [VERTBUF_SIZE]
 

Macro Definition Documentation

◆ VERTBUF_SIZE

#define VERTBUF_SIZE   (512*1024)

Referenced by main().

Function Documentation

◆ draw_pvr_line()

void draw_pvr_line ( vec3f_t * v1,
vec3f_t * v2,
float width,
int color,
int which_list,
pvr_poly_hdr_t * which_hdr )

◆ KOS_INIT_FLAGS()

KOS_INIT_FLAGS ( INIT_DEFAULT )

◆ main()

Variable Documentation

◆ op_buf

uint8_t op_buf[VERTBUF_SIZE]

Referenced by main().

◆ pvr_params

pvr_init_params_t pvr_params
Initial value:
= {
{ PVR_BINSIZE_16, 0, PVR_BINSIZE_16, 0, 0 }, VERTBUF_SIZE, 1, 0, 0, 3, 0
}
#define PVR_BINSIZE_16
16-word (64-byte) length
Definition pvr.h:978
#define VERTBUF_SIZE
Definition pvrline.c:20

Referenced by main().

◆ tr_buf

uint8_t tr_buf[VERTBUF_SIZE]

Referenced by main().