Search
lxdream.org :: lxdream/test/pvr.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/pvr.h
changeset 213:da6b1904f67b
prev190:f7653df5e832
next561:533f6b478071
author nkeynes
date Wed Jan 31 10:32:25 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Add better (ie fancier) debug-print functions
file annotate diff log raw
1.1 --- a/test/pvr.h Wed Aug 02 04:13:15 2006 +0000
1.2 +++ b/test/pvr.h Wed Jan 31 10:32:25 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
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.7 *
1.8 * PVR support code
1.9 *
1.10 @@ -145,8 +145,25 @@
1.11 unsigned int plist_start;
1.12 };
1.13
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.21 +};
1.22 +
1.23 void ta_init( struct ta_config *config );
1.24 +void ta_reinit();
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.34 +
1.35 +void pvr_build_tilemap2( unsigned int addr, struct ta_config *config, unsigned int control_word );
.