Search
lxdream.org :: lxdream/src/pvr2/pvr2.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/pvr2/pvr2.h
changeset 222:541d9d899aba
prev221:cf5c6d326162
next282:01e53698ff38
author nkeynes
date Tue Sep 12 11:54:19 2006 +0000 (13 years ago)
permissions -rw-r--r--
last change Bug #0005 Implement translucent poly sorting
Implement quick-and-dirty sorting based on min-z. It's not remotely complete
but damn that looks so much better ^_^
file annotate diff log raw
1.1 --- a/src/pvr2/pvr2.h Tue Sep 12 08:38:38 2006 +0000
1.2 +++ b/src/pvr2/pvr2.h Tue Sep 12 11:54:19 2006 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: pvr2.h,v 1.17 2006-09-12 08:38:38 nkeynes Exp $
1.6 + * $Id: pvr2.h,v 1.18 2006-09-12 11:54:19 nkeynes Exp $
1.7 *
1.8 * PVR2 (video chip) functions and macros.
1.9 *
1.10 @@ -56,6 +56,11 @@
1.11 #define PVR2_RAM_PAGES (PVR2_RAM_SIZE>>12)
1.12 #define PVR2_RAM_MASK 0x7FFFFF
1.13
1.14 +#define RENDER_ZONLY 0
1.15 +#define RENDER_NORMAL 1 /* Render non-modified polygons */
1.16 +#define RENDER_CHEAPMOD 2 /* Render cheap-modified polygons */
1.17 +#define RENDER_FULLMOD 3 /* Render the fully-modified version of the polygons */
1.18 +
1.19 void pvr2_next_frame( void );
1.20 void pvr2_set_base_address( uint32_t );
1.21 int pvr2_get_frame_count( void );
.