summaryrefslogtreecommitdiff
path: root/src/savage_driver.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-01-31 01:09:27 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-01-31 01:09:27 +0000
commit37e6666824a771271f60ad12174a29b2ac6b826b (patch)
treef0a82ea5d4beb877525652543743791a6b93b779 /src/savage_driver.h
parent7712602bccc71210ad4319aaf2bc8e1b15b6a01a (diff)
- Shadow status update thresholds on Savage4 were reversed. Fixed now.
- Fixed cobIndex on Savage2K. It used only a 4K COB so far. Now we have full 128K. - Program the shadow status thresholds correctly on Savage2K. - Savage2K reports used entries in the queue in qword units instead of dwords. Fixed WaitQueue2K accordingly. - Event counter 0 is in status word 2 instead of status word 1 on Savage2K. Fixed ShadowWait accordingly. - Added a ShadowWaitQueue function that doesn't idle the engine all the time. This improves 3D animation smoothness with concurrent 2D activity when shadow status is enabled.
Diffstat (limited to 'src/savage_driver.h')
-rw-r--r--src/savage_driver.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/savage_driver.h b/src/savage_driver.h
index cd1d71f..2a04a53 100644
--- a/src/savage_driver.h
+++ b/src/savage_driver.h
@@ -293,8 +293,11 @@ typedef struct _Savage {
unsigned long cobIndex; /* size index */
unsigned long cobSize; /* size in bytes */
unsigned long cobOffset; /* offset in frame buffer */
- unsigned long bciThresholdLo; /* low and hight thresholds for */
+ unsigned long bciThresholdLo; /* low and high thresholds for */
unsigned long bciThresholdHi; /* shadow status update (32bit words) */
+ unsigned long bciUsedMask; /* BCI entries used mask */
+ unsigned int eventStatusReg; /* Status register index that holds
+ * event counter 0. */
/* Support for DGA */
int numDGAModes;