1.1 --- a/test/pvr.h Wed Aug 02 04:13:15 2006 +0000
1.2 +++ b/test/pvr.h Tue Jan 01 05:00:21 2008 +0000
1.5 - * $Id: pvr.h,v 1.2 2006-08-02 04:13:15 nkeynes Exp $
1.6 + * $Id: pvr.h,v 1.3 2006-08-18 09:33:19 nkeynes Exp $
1.10 @@ -145,8 +145,25 @@
1.11 unsigned int plist_start;
1.14 +struct render_config {
1.15 + unsigned int polybuf;
1.16 + unsigned int tilemap;
1.17 + unsigned int render_addr;
1.18 + unsigned int width, height;
1.19 + unsigned int mode;
1.20 + float farclip, nearclip;
1.23 void ta_init( struct ta_config *config );
1.25 void pvr_dump_objbuf( FILE *f );
1.26 void pvr_dump_tilebuf( FILE *f );
1.27 int pvr_get_objbuf_size();
1.28 +int pvr_get_objbuf_posn();
1.29 int pvr_get_plist_posn();
1.30 +void render_set_backplane( unsigned int mode );
1.31 +void render_start( struct render_config *config );
1.32 +void display_render( struct render_config *config );
1.33 +void pvr_build_tilemap1( unsigned int addr, struct ta_config *config, unsigned int control_word );
1.35 +void pvr_build_tilemap2( unsigned int addr, struct ta_config *config, unsigned int control_word );