/* #define S3V_BUF_4K 1 */
#ifdef S3V_BUF_4K
- #define S3V_DMA_BUF_ORDER 12
- #define S3V_DMA_BUF_NR 256
+#define S3V_DMA_BUF_ORDER 12
+#define S3V_DMA_BUF_NR 256
#else
- #define S3V_DMA_BUF_ORDER 16 /* -much- better */
- #define S3V_DMA_BUF_NR 16
+#define S3V_DMA_BUF_ORDER 16 /* -much- better */
+#define S3V_DMA_BUF_NR 16
#endif
/* on s3virge you can only choose between *
* 4k (2^12) and 64k (2^16) dma bufs */
/* Note: The argument to DEBUG*() _must_ be enclosed in parenthesis */
#if (GENERIC_DEBUG || FLOW_DEBUG || DMABUFS_DEBUG)
- #include <stdio.h>
+#include <stdio.h>
#endif
#if GENERIC_DEBUG
- #define DEBUG(str) printf str
+#define DEBUG(str) printf str
#else
- #define DEBUG(str)
+#define DEBUG(str)
#endif
#if FLOW_DEBUG
- #define DEBUG_WHERE(str) printf str
+#define DEBUG_WHERE(str) printf str
#else
- #define DEBUG_WHERE(str)
+#define DEBUG_WHERE(str)
#endif
#if DMABUFS_DEBUG
- #define DEBUG_BUFS(str) printf str
+#define DEBUG_BUFS(str) printf str
#else
- #define DEBUG_BUFS(str)
+#define DEBUG_BUFS(str)
#endif
extern void s3vUpdateTexLRU( s3vContextPtr vmesa, s3vTextureObjectPtr t );
#if TEX_DEBUG_ON
- #define DEBUG_TEX(str) printf str
+#define DEBUG_TEX(str) printf str
#else
- #define DEBUG_TEX(str) /* str */
+#define DEBUG_TEX(str) /* str */
#endif
#define _TEXFLUSH 1 /* flush before uploading */