filename | test/pvr.h |
changeset | 213:da6b1904f67b |
prev | 190:f7653df5e832 |
next | 561:533f6b478071 |
author | nkeynes |
date | Wed Oct 24 21:23:22 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Fix long standing texcache management bug (invalidate palette was not placing the invalidated entries on the free list). |
file | annotate | diff | log | raw |
1.1 --- a/test/pvr.h Wed Aug 02 04:13:15 2006 +00001.2 +++ b/test/pvr.h Wed Oct 24 21:23:22 2007 +00001.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 code1.9 *1.10 @@ -145,8 +145,25 @@1.11 unsigned int plist_start;1.12 };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 );
.