filename | test/asic.h |
changeset | 753:1fe39c3a9bbc |
prev | 193:31151fcc3cb7 |
next | 812:8cc61d5ea1f8 |
author | nkeynes |
date | Thu Aug 07 23:53:17 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Add ability to bind a render buffer to a texture, with output going to the texture. (RTT work in progress) |
file | annotate | diff | log | raw |
1.1 --- a/test/asic.h Fri Aug 04 01:38:30 2006 +00001.2 +++ b/test/asic.h Thu Aug 07 23:53:17 2008 +00001.3 @@ -18,6 +18,7 @@1.4 #define EVENT_SPU_DMA2 171.5 #define EVENT_SPU_DMA3 181.6 #define EVENT_PVR_DMA 191.7 +#define EVENT_SORT_DMA 201.8 #define EVENT_PVR_PUNCHOUT_DONE 211.10 #define EVENT_TA_ERROR 311.11 @@ -28,6 +29,8 @@1.12 #define EVENT_PVR_MATRIX_ALLOC_FAIL 671.13 #define EVENT_PVR_BAD_INPUT 681.15 +#define EVENT_SORT_DMA_ERR 921.16 +1.17 /**1.18 * Wait for an ASIC event.1.19 * @return 0 if the event occurred, otherwise -1 if the wait timed out.1.20 @@ -35,6 +38,12 @@1.21 int asic_wait( int event );1.23 /**1.24 + * Wait for either of a pair of events.1.25 + * @return the event ID of the event that occured, or -1 if the wait timed out1.26 + */1.27 +int asic_wait2( int event1, int event2 );1.28 +1.29 +/**1.30 * Check if an ASIC event is active (does not wait)1.31 * @return 0 if inactive, nonzero if active.1.32 */
.